org.jboss.system.microcontainer.jmx
Class AbstractServiceControllerLifecycleCallback
java.lang.Object
org.jboss.system.microcontainer.jmx.AbstractServiceControllerLifecycleCallback
- Direct Known Subclasses:
- ServiceControllerCreateDestroyLifecycleCallback, ServiceControllerRegistrationLifecycleCallback, ServiceControllerStartStopLifecycleCallback
public abstract class AbstractServiceControllerLifecycleCallback
- extends Object
ServiceControllerLifecycleCallback.
- Version:
- $Revision: 85945 $
- Author:
- Kabir Khan, Adrian Brock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBEAN_REGISTRY
protected static ObjectName MBEAN_REGISTRY
- The MBean Registry Object Name
AbstractServiceControllerLifecycleCallback
public AbstractServiceControllerLifecycleCallback()
getServiceController
public ServiceController getServiceController()
- Get the serviceController.
- Returns:
- the serviceController.
setServiceController
public void setServiceController(ServiceController serviceController)
- Set the serviceController.
- Parameters:
serviceController
- the serviceController.
create
public void create()
throws Exception
- Throws:
Exception
install
public abstract void install(org.jboss.dependency.spi.ControllerContext context)
throws Exception
- Throws:
Exception
uninstall
public abstract void uninstall(org.jboss.dependency.spi.ControllerContext context)
throws Exception
- Throws:
Exception
readJmxAnnotation
protected org.jboss.aop.microcontainer.aspects.jmx.JMX readJmxAnnotation(org.jboss.dependency.spi.ControllerContext context)
throws Exception
- Throws:
Exception
createObjectName
protected ObjectName createObjectName(org.jboss.dependency.spi.ControllerContext context,
org.jboss.aop.microcontainer.aspects.jmx.JMX jmx)
throws Exception
- Throws:
Exception
determineObjectName
protected ObjectName determineObjectName(org.jboss.dependency.spi.ControllerContext context)
throws Exception
- Throws:
Exception
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.