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

J2EEModule (JBoss/Management API) - JBoss 4.0.1 sp1 management API Documentation 英文版文档


org.jboss.management.j2ee
Class J2EEModule

java.lang.Object
  extended byorg.jboss.mx.util.JBossNotificationBroadcasterSupport
      extended byorg.jboss.system.ServiceMBeanSupport
          extended byorg.jboss.management.j2ee.J2EEManagedObject
              extended byorg.jboss.management.j2ee.J2EEDeployedObject
                  extended byorg.jboss.management.j2ee.J2EEModule
All Implemented Interfaces:
J2EEDeployedObjectMBean, J2EEManagedObjectMBean, J2EEModuleMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, Serializable, org.jboss.system.Service, org.jboss.system.ServiceMBean
Direct Known Subclasses:
AppClientModule, EJBModule, ResourceAdapterModule, ServiceModule, WebModule

public abstract class J2EEModule
extends J2EEDeployedObject
implements J2EEModuleMBean

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

Version:
$Revision: 1.8 $
Author:
Andreas Schaefer., thomas.diesler@jboss.org
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.management.j2ee.J2EEDeployedObject
APPLICATION, CMP, EJB, JAWS, JBOSS, JBOSS_WEB, RAR, SAR, WEB
 
Fields inherited from class org.jboss.management.j2ee.J2EEManagedObject
NAME, TYPE
 
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
J2EEModule(String pType, String pName, javax.management.ObjectName pParent, String[] pJVMs, String pDeploymentDescriptor)
          Constructor taking the Name of this Object
 
Method Summary
 String getjavaVM(int pIndex)
           
 String[] getjavaVMs()
           
 
Methods inherited from class org.jboss.management.j2ee.J2EEDeployedObject
getdeploymentDescriptor, getDeploymentDescriptor, getserver, toString
 
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject
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
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
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.management.j2ee.J2EEDeployedObjectMBean
getdeploymentDescriptor, getserver
 
Methods inherited from interface org.jboss.management.j2ee.J2EEManagedObjectMBean
addChild, getobjectName, getparent, iseventProvider, isstateManageable, isstatisticsProvider, removeChild, setparent
 
Methods inherited from interface org.jboss.system.ServiceMBean
getName, getState, getStateString, jbossInternalLifecycle
 
Methods inherited from interface org.jboss.system.Service
create, destroy, start, stop
 

Constructor Detail

J2EEModule

public J2EEModule(String pType,
                  String pName,
                  javax.management.ObjectName pParent,
                  String[] pJVMs,
                  String pDeploymentDescriptor)
           throws javax.management.MalformedObjectNameException,
                  InvalidParentException
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:
InvalidParameterException - If the given Name is null
javax.management.MalformedObjectNameException
InvalidParentException
Method Detail

getjavaVMs

public String[] getjavaVMs()
Specified by:
getjavaVMs in interface J2EEModuleMBean

getjavaVM

public String getjavaVM(int pIndex)
Specified by:
getjavaVM in interface J2EEModuleMBean


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