org.jboss.ejb
Class ContainerRelection
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.ejb.ContainerRelection
- All Implemented Interfaces:
- MBeanRegistration, NotificationBroadcaster, NotificationEmitter, ContainerRelectionMBean, org.jboss.kernel.spi.dependency.KernelControllerContextAware, Service, ServiceMBean
public class ContainerRelection
- extends ServiceMBeanSupport
- implements ContainerRelectionMBean
The ContainerRelectionMBean implementation.
- Version:
- $Revision: 81030 $
Revisions:
2001030 Marc Fleury:
- I wonder if this class is needed now that we are moving to an MBean per EJB.
- In the new design the target EJB (interceptors are detached) should do this logic.
FIXME: integrate this logic in the target MBean per EJB
- Author:
- Scott.Stark@jboss.org
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 |
Method Summary |
String |
getName()
|
String |
inspectEJB(String jndiName)
Lookup the mbean located under the object name ":service=Container,jndiName="
and invoke the getHome and getRemote interfaces and dump the methods for each
in an html pre block. |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getDeploymentInfo, getLog, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, pojoChange, pojoCreate, pojoDestroy, pojoStart, pojoStop, postDeregister, postRegister, preDeregister, preRegister, setKernelControllerContext, start, startService, stop, stopService, unsetKernelControllerContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainerRelection
public ContainerRelection()
inspectEJB
public String inspectEJB(String jndiName)
- Lookup the mbean located under the object name ":service=Container,jndiName="
and invoke the getHome and getRemote interfaces and dump the methods for each
in an html pre block.
- Specified by:
inspectEJB
in interface ContainerRelectionMBean
getName
public String getName()
- Specified by:
getName
in interface ServiceMBean
- Overrides:
getName
in class ServiceMBeanSupport
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.