org.jboss.ejb
Class ContainerRelection

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.ejb.ContainerRelection
All Implemented Interfaces:
ContainerRelectionMBean (src) , MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)

public class ContainerRelection
extends ServiceMBeanSupport (src)
implements ContainerRelectionMBean (src)

The ContainerRelectionMBean implementation.


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
ContainerRelection()
           
 
Method Summary
 java.lang.String getName()
          Use the short class name as the default for the service name.
 java.lang.String inspectEJB(java.lang.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 (src)
create, createService, destroy, destroyService, getLog, 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 (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
 

Constructor Detail

ContainerRelection

public ContainerRelection()
Method Detail

inspectEJB

public java.lang.String inspectEJB(java.lang.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 (src)

getName

public java.lang.String getName()
Description copied from class: ServiceMBeanSupport (src)
Use the short class name as the default for the service name.

Specified by:
getName in interface ServiceMBean (src)
Overrides:
getName in class ServiceMBeanSupport (src)