- Version:
- $Revision: 1.9 $
- Author:
- Rickard Öberg (rickard.oberg@telkel.com)
- See Also:
Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
states
public static java.lang.String[] states
STOPPED
public static int STOPPED
STOPPING
public static int STOPPING
STARTING
public static int STARTING
STARTED
public static int STARTED
log
protected Log log
ServiceMBeanSupport
public ServiceMBeanSupport()
getName
public abstract java.lang.String getName()
- Specified by:
getName
in interface ServiceMBean
getState
public int getState()
- Specified by:
getState
in interface ServiceMBean
getStateString
public java.lang.String getStateString()
- Specified by:
getStateString
in interface ServiceMBean
init
public void init()
throws java.lang.Exception
- Specified by:
init
in interface Service
start
public void start()
throws java.lang.Exception
- Specified by:
start
in interface Service
stop
public void stop()
- Specified by:
stop
in interface Service
destroy
public void destroy()
- Specified by:
destroy
in interface Service
preRegister
public javax.management.ObjectName preRegister(javax.management.MBeanServer server,
javax.management.ObjectName name)
throws java.lang.Exception
- Specified by:
preRegister
in interface javax.management.MBeanRegistration
postRegister
public void postRegister(java.lang.Boolean registrationDone)
- Specified by:
postRegister
in interface javax.management.MBeanRegistration
preDeregister
public void preDeregister()
throws java.lang.Exception
- Specified by:
preDeregister
in interface javax.management.MBeanRegistration
postDeregister
public void postDeregister()
- Specified by:
postDeregister
in interface javax.management.MBeanRegistration
getObjectName
protected javax.management.ObjectName getObjectName(javax.management.MBeanServer server,
javax.management.ObjectName name)
throws javax.management.MalformedObjectNameException
initService
protected void initService()
throws java.lang.Exception
startService
protected void startService()
throws java.lang.Exception
stopService
protected void stopService()
destroyService
protected void destroyService()
Copyright © 2000 The JBoss Organization. All Rights Reserved.