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 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()
           
 ResourceContext<ProfileServiceComponent<?>> getResourceContext()
           
protected  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 Exception
Specified by:
start in interface ResourceComponent<ProfileServiceComponent<?>>
Throws:
Exception

stop

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

getResourceContext

public ResourceContext<ProfileServiceComponent<?>> getResourceContext()
Specified by:
getResourceContext in interface ProfileServiceComponent<ProfileServiceComponent<?>>

getConnection

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

getResourceDescription

protected String getResourceDescription()

getEmsConnection

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


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