org.apache.geronimo.j2ee.management.impl
Class J2EEDomainImpl

java.lang.Object
  extended by org.apache.geronimo.j2ee.management.impl.J2EEDomainImpl
All Implemented Interfaces:
J2EEDomain, J2EEManagedObject

public class J2EEDomainImpl
extends Object
implements J2EEDomain


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
J2EEDomainImpl(String objectName, Collection servers)
           
 
Method Summary
static GBeanInfo getGBeanInfo()
           
 String getObjectName()
          Gets the unique name of this object.
 J2EEServer[] getServerInstances()
           
 String[] getServers()
          The J2EEDomain managed object type represents a management domain.
 boolean isEventProvider()
          Determines if this object implemnts the event provider type defined in the J2EE Management specification.
 boolean isStateManageable()
          Determines if this object implements the state manageable type defined in the J2EE Management specification.
 boolean isStatisticsProvider()
          Determines if this object implemnts the statistics provider type defined in the J2EE Management specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GBEAN_INFO

public static final GBeanInfo GBEAN_INFO
Constructor Detail

J2EEDomainImpl

public J2EEDomainImpl(String objectName,
                      Collection servers)
Method Detail

getObjectName

public String getObjectName()
Description copied from interface: J2EEManagedObject
Gets the unique name of this object. The object name must comply with the ObjectName specification in the JMX specification and the restrictions in the J2EEManagementInterface.

Specified by:
getObjectName in interface J2EEManagedObject
Returns:
the unique name of this object within the server

isStateManageable

public boolean isStateManageable()
Description copied from interface: J2EEManagedObject
Determines if this object implements the state manageable type defined in the J2EE Management specification.

Specified by:
isStateManageable in interface J2EEManagedObject
Returns:
true if this class also implements the state manageable type; false otherwise

isStatisticsProvider

public boolean isStatisticsProvider()
Description copied from interface: J2EEManagedObject
Determines if this object implemnts the statistics provider type defined in the J2EE Management specification.

Specified by:
isStatisticsProvider in interface J2EEManagedObject
Returns:
true if this class also implements the statistics provider type; false otherwise

isEventProvider

public boolean isEventProvider()
Description copied from interface: J2EEManagedObject
Determines if this object implemnts the event provider type defined in the J2EE Management specification.

Specified by:
isEventProvider in interface J2EEManagedObject
Returns:
true if this class also implements the event manageable type; false otherwise

getServers

public String[] getServers()
Description copied from interface: J2EEDomain
The J2EEDomain managed object type represents a management domain.

Specified by:
getServers in interface J2EEDomain
Returns:
all J2EE Servers
See Also:
"JSR77.3.2.1.1"

getServerInstances

public J2EEServer[] getServerInstances()

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.