org.jboss.management.j2ee
Class J2EEModule

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport (src) 
      extended byorg.jboss.system.ServiceMBeanSupport (src) 
          extended byorg.jboss.management.j2ee.J2EEManagedObject (src) 
              extended byorg.jboss.management.j2ee.J2EEDeployedObject (src) 
                  extended byorg.jboss.management.j2ee.J2EEModule
All Implemented Interfaces:
MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)
Direct Known Subclasses:
AppClientModule (src) , EJBModule (src) , ResourceAdapterModule (src) , ServiceModule (src) , WebModule (src)

public abstract class J2EEModule
extends J2EEDeployedObject (src)

Root class of the JBoss JSR-77 implementation of J2EEModule.


Field Summary
 
Fields inherited from class org.jboss.management.j2ee.J2EEDeployedObject (src)
APPLICATION, CMP, EJB, JAWS, JBOSS, JBOSS_WEB, RAR, SAR, WEB
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
NAME, TYPE
 
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
J2EEModule(java.lang.String pType, java.lang.String pName, ObjectName (src)  pParent, java.lang.String[] pJVMs, java.lang.String pDeploymentDescriptor)
          Constructor taking the Name of this Object
 
Method Summary
 java.lang.String getjavaVM(int pIndex)
           
 java.lang.String[] getjavaVMs()
           
 
Methods inherited from class org.jboss.management.j2ee.J2EEDeployedObject (src)
getdeploymentDescriptor, getDeploymentDescriptor, getserver, toString
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject (src)
addChild, getobjectName, getObjectName, getObjectName, getparent, getParentKeys, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postRegister, preDeregister, preDestruction, removeChild, removeObject, removeObject, sendNotification, setparent
 
Methods inherited from class org.jboss.system.ServiceMBeanSupport (src)
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, 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, wait, wait, wait
 

Constructor Detail

J2EEModule

public J2EEModule(java.lang.String pType,
                  java.lang.String pName,
                  ObjectName (src)  pParent,
                  java.lang.String[] pJVMs,
                  java.lang.String pDeploymentDescriptor)
           throws MalformedObjectNameException (src) ,
                  InvalidParentException (src) 
Constructor taking the Name of this Object

Parameters:
pName - Name to be set which must not be null
pParent - Object Name of its parent which can either be a J2EEApplication or J2EEServer if a standalone module (not packed into an EAR file)
pDeploymentDescriptor -
Throws:
java.security.InvalidParameterException - If the given Name is null
MalformedObjectNameException (src)
InvalidParentException (src)
Method Detail

getjavaVMs

public java.lang.String[] getjavaVMs()

getjavaVM

public java.lang.String getjavaVM(int pIndex)