|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.test.jmx.mbeancrashtest.Test
| Field Summary |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport (src) |
log, server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean (src) |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
Test()
|
|
| Method Summary | |
java.lang.String |
getName()
Use the short class name as the default for the service name. |
ObjectName (src) |
preRegister(MBeanServer (src) server,
ObjectName (src) name)
Callback method of MBeanRegistration (src)
before the MBean is registered at the JMX Agent. |
void |
startService()
Sub-classes should override this method to provide custum 'start' logic. |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport (src) |
create, createService, destroy, destroyService, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, start, stop, stopService |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport (src) |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.system.ServiceMBean (src) |
getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
| Constructor Detail |
public Test()
| Method Detail |
public ObjectName (src) preRegister(MBeanServer (src) server,
ObjectName (src) name)
throws java.lang.Exception
ServiceMBeanSupport (src) MBeanRegistration (src)
before the MBean is registered at the JMX Agent.
Attention: Always call this method when you overwrite it in a subclass because it saves the Object Name of the MBean.
preRegister in interface MBeanRegistration (src) preRegister in class ServiceMBeanSupport (src) server - Reference to the JMX Agent this MBean is registered onname - Name specified by the creator of the MBean. Note that you can
overwrite it when the given ObjectName is null otherwise the
change is discarded (maybe a bug in JMX-RI).
java.lang.Exceptionpublic java.lang.String getName()
ServiceMBeanSupport (src)
getName in interface ServiceMBean (src) getName in class ServiceMBeanSupport (src)
public void startService()
throws java.lang.Exception
ServiceMBeanSupport (src) This method is empty, and is provided for convenience when concrete service classes do not need to perform anything specific for this state change.
startService in class ServiceMBeanSupport (src) java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||