|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.nuxeo.runtime.jboss.adapter.ComponentAdapter
public class ComponentAdapter
Adapts NXRuntime components to JBoss MBeans.
Should be started before the NXRuntime bundle is deployed.
| Field Summary |
|---|
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
server, SERVICE_CONTROLLER_SIG, serviceName |
| Fields inherited from interface org.jboss.system.ServiceMBean |
|---|
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
| Constructor Summary | |
|---|---|
ComponentAdapter()
|
|
| Method Summary | |
|---|---|
protected void |
createService()
|
protected static void |
deployComponent(RegistrationInfo ri)
|
protected void |
destroyService()
|
void |
handleEvent(ComponentEvent event)
|
void |
handleEvent(RuntimeServiceEvent event)
|
protected static void |
undeployComponent(RegistrationInfo ri)
|
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, destroy, getDeploymentInfo, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, startService, stop, stopService |
| Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
|---|
addNotificationListener, getNotificationInfo, handleNotification, nextNotificationSequenceNumber, 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 |
|---|
getName, getState, getStateString, jbossInternalLifecycle |
| Methods inherited from interface org.jboss.system.Service |
|---|
create, destroy, start, stop |
| Constructor Detail |
|---|
public ComponentAdapter()
| Method Detail |
|---|
protected void createService()
throws Exception
createService in class org.jboss.system.ServiceMBeanSupportException
protected void destroyService()
throws Exception
destroyService in class org.jboss.system.ServiceMBeanSupportExceptionpublic void handleEvent(ComponentEvent event)
handleEvent in interface ComponentListener
protected static void deployComponent(RegistrationInfo ri)
throws org.jboss.mx.util.MBeanProxyCreationException,
MalformedObjectNameException
org.jboss.mx.util.MBeanProxyCreationException
MalformedObjectNameException
protected static void undeployComponent(RegistrationInfo ri)
throws org.jboss.mx.util.MBeanProxyCreationException,
MalformedObjectNameException
org.jboss.mx.util.MBeanProxyCreationException
MalformedObjectNameExceptionpublic void handleEvent(RuntimeServiceEvent event)
handleEvent in interface RuntimeServiceListener
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||