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

java.lang.Object
  extended by org.apache.geronimo.j2ee.management.impl.J2EEAppClientModuleImpl
All Implemented Interfaces:
AppClientModule, J2EEDeployedObject, J2EEManagedObject, J2EEModule

public class J2EEAppClientModuleImpl
extends Object
implements AppClientModule


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
J2EEAppClientModuleImpl(String objectName, J2EEServer server, J2EEApplication application, String deploymentDescriptor, ClassLoader classLoader)
           
 
Method Summary
 String getApplication()
           
 ClassLoader getClassLoader()
           
 String getDeploymentDescriptor()
          The deploymentDescriptor string must contain the original XML deployment descriptor that was created for this module during the deployment process.
static GBeanInfo getGBeanInfo()
           
 String[] getJavaVMs()
          A list of JVMs this module is running on.
 String getObjectName()
          Gets the unique name of this object.
 String getServer()
          The J2EE server the application or module is deployed on.
 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

J2EEAppClientModuleImpl

public J2EEAppClientModuleImpl(String objectName,
                               J2EEServer server,
                               J2EEApplication application,
                               String deploymentDescriptor,
                               ClassLoader classLoader)
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

getDeploymentDescriptor

public String getDeploymentDescriptor()
Description copied from interface: J2EEDeployedObject
The deploymentDescriptor string must contain the original XML deployment descriptor that was created for this module during the deployment process.

Specified by:
getDeploymentDescriptor in interface J2EEDeployedObject
Returns:
this module's deployment descriptor
See Also:
"JSR77.3.5.0.1"

getServer

public String getServer()
Description copied from interface: J2EEDeployedObject
The J2EE server the application or module is deployed on.

Specified by:
getServer in interface J2EEDeployedObject
Returns:
the server this module is deployed on
See Also:
"JSR77.3.5.0.2"

getApplication

public String getApplication()

getJavaVMs

public String[] getJavaVMs()
Description copied from interface: J2EEModule
A list of JVMs this module is running on. Each JVM listed here must be present in the owning J2EEServer's list of JVMs.

Specified by:
getJavaVMs in interface J2EEModule
Returns:
the ObjectNames of the JVMs the module is running on
See Also:
"JSR77.3.7.1.1"

getClassLoader

public ClassLoader getClassLoader()

getGBeanInfo

public static GBeanInfo getGBeanInfo()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.