站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

ContainerRelection (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb
Class ContainerRelection

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

public class ContainerRelection
extends org.jboss.system.ServiceMBeanSupport
implements ContainerRelectionMBean

The ContainerRelectionMBean implementation.

Version:
$Revision: 1.5 $

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

Field Summary
 
Fields inherited from class org.jboss.system.ServiceMBeanSupport
log, 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
ContainerRelection()
           
 
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, 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
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 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 org.jboss.system.ServiceMBean


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.