org.jboss.ejb3
Class Ejb3Module

java.lang.Object
  extended by org.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended by org.jboss.system.ServiceMBeanSupport
          extended by org.jboss.ejb3.Ejb3Module
All Implemented Interfaces:
javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, Ejb3ModuleMBean, org.jboss.system.Service, org.jboss.system.ServiceMBean

public class Ejb3Module
extends org.jboss.system.ServiceMBeanSupport
implements Ejb3ModuleMBean

An EjbModule represents a collection of beans that are deployed as a unit.

Version:
$Revision: 1.15.2.4 $
Author:
Bill Burke

Field Summary
static String BASE_EJB3_JMX_NAME
           
 
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
Ejb3Module(org.jboss.deployment.DeploymentInfo di)
           
 
Method Summary
protected  void createService()
           
protected  void destroyService()
           
 Container getContainer(javax.management.ObjectName name)
           
 Map getContainers()
           
protected  void startService()
           
protected  void stopService()
           
 
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, stop
 
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
 

Field Detail

BASE_EJB3_JMX_NAME

public static final String BASE_EJB3_JMX_NAME
See Also:
Constant Field Values
Constructor Detail

Ejb3Module

public Ejb3Module(org.jboss.deployment.DeploymentInfo di)
Method Detail

createService

protected void createService()
                      throws Exception
Overrides:
createService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

startService

protected void startService()
                     throws Exception
Overrides:
startService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

stopService

protected void stopService()
                    throws Exception
Overrides:
stopService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

destroyService

protected void destroyService()
                       throws Exception
Overrides:
destroyService in class org.jboss.system.ServiceMBeanSupport
Throws:
Exception

getContainer

public Container getContainer(javax.management.ObjectName name)
Specified by:
getContainer in interface Ejb3ModuleMBean

getContainers

public Map getContainers()
Specified by:
getContainers in interface Ejb3ModuleMBean


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