org.jboss.management.j2ee
Class J2EEDomain
java.lang.Object
org.jboss.mx.util.JBossNotificationBroadcasterSupport (src)
org.jboss.system.ServiceMBeanSupport (src)
org.jboss.management.j2ee.J2EEManagedObject (src)
org.jboss.management.j2ee.J2EEDomain
- All Implemented Interfaces:
- MBeanRegistration (src) , NotificationBroadcaster (src) , NotificationEmitter (src) , Service (src) , ServiceMBean (src)
- Direct Known Subclasses:
- LocalJBossServerDomain (src)
- public class J2EEDomain
- extends J2EEManagedObject (src)
Root class of the JBoss JSR-77 implementation of
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 |
J2EEDomain(java.lang.String domainName)
|
Methods inherited from class org.jboss.management.j2ee.J2EEManagedObject (src) |
getobjectName, getObjectName, getObjectName, getparent, getParentKeys, getType, getType, iseventProvider, isstateManageable, isstatisticsProvider, newObjectName, postCreation, postRegister, preDeregister, preDestruction, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
J2EEDomain
public J2EEDomain(java.lang.String domainName)
throws MalformedObjectNameException (src) ,
InvalidParentException (src)
getDomainName
public static java.lang.String getDomainName()
- Get the local J2EEDomain instance name
- Returns:
- the J2EEDomain object name for the local server.
getDomainServerName
public static ObjectName (src) getDomainServerName(MBeanServer (src) mbeanServer)
- Query for the J2EEServer MBean in the given domain.
- Parameters:
mbeanServer
- the local MBeanServer
- Returns:
- the J2EEServer name if found, null otherwise
getservers
public java.lang.String[] getservers()
- Return the J2EEServer names associated with this domain.
getserver
public java.lang.String getserver(int pIndex)
addChild
public void addChild(ObjectName (src) pChild)
- Overrides:
addChild
in class J2EEManagedObject (src)
removeChild
public void removeChild(ObjectName (src) pChild)
- Overrides:
removeChild
in class J2EEManagedObject (src)
toString
public java.lang.String toString()
- Overrides:
toString
in class J2EEManagedObject (src)