org.rhq.plugins.jbossas5
Class AbstractManagedComponent

java.lang.Object
  extended by org.rhq.plugins.jbossas5.AbstractManagedComponent
All Implemented Interfaces:
AvailabilityFacet, ResourceComponent<ProfileServiceComponent>, ProfileServiceComponent<ProfileServiceComponent>, JMXComponent<ProfileServiceComponent>
Direct Known Subclasses:
AbstractManagedDeploymentComponent, ManagedComponentComponent

public abstract class AbstractManagedComponent
extends java.lang.Object
implements ProfileServiceComponent<ProfileServiceComponent>

Author:
Ian Springer

Field Summary
 
Fields inherited from interface org.rhq.plugins.jmx.JMXComponent
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP
 
Constructor Summary
AbstractManagedComponent()
           
 
Method Summary
 ProfileServiceConnection getConnection()
           
 org.mc4j.ems.connection.EmsConnection getEmsConnection()
           
protected  ResourceContext<ProfileServiceComponent> getResourceContext()
           
protected  java.lang.String getResourceDescription()
           
 void start(ResourceContext<ProfileServiceComponent> resourceContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rhq.core.pluginapi.availability.AvailabilityFacet
getAvailability
 

Constructor Detail

AbstractManagedComponent

public AbstractManagedComponent()
Method Detail

start

public void start(ResourceContext<ProfileServiceComponent> resourceContext)
           throws java.lang.Exception
Specified by:
start in interface ResourceComponent<ProfileServiceComponent>
Throws:
java.lang.Exception

stop

public void stop()
Specified by:
stop in interface ResourceComponent<ProfileServiceComponent>

getResourceContext

protected ResourceContext<ProfileServiceComponent> getResourceContext()

getConnection

public ProfileServiceConnection getConnection()
Specified by:
getConnection in interface ProfileServiceComponent<ProfileServiceComponent>

getResourceDescription

protected java.lang.String getResourceDescription()

getEmsConnection

public org.mc4j.ems.connection.EmsConnection getEmsConnection()
Specified by:
getEmsConnection in interface JMXComponent<ProfileServiceComponent>


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.