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

java.lang.Object
  extended by org.apache.geronimo.j2ee.management.impl.J2EEApplicationImpl
All Implemented Interfaces:
J2EEApplication, J2EEDeployedObject, J2EEManagedObject

public class J2EEApplicationImpl
extends Object
implements J2EEApplication


Field Summary
static GBeanInfo GBEAN_INFO
           
 
Constructor Summary
J2EEApplicationImpl(String objectName, String deploymentDescriptor, J2EEServer server, Collection resources, Collection appClientModules, Collection ejbModules, Collection resourceAdapterModules, Collection webModules)
           
 
Method Summary
 AppClientModule[] getClientModules()
           
 String getDeploymentDescriptor()
          The deploymentDescriptor string must contain the original XML deployment descriptor that was created for this module during the deployment process.
 EJBModule[] getEJBModules()
           
static GBeanInfo getGBeanInfo()
           
 String[] getModules()
          A list of J2EEModules that comprise this application.
 J2EEModule[] getModulesInstances()
           
 String getObjectName()
          Gets the unique name of this object.
 ResourceAdapterModule[] getRAModules()
           
 J2EEResource[] getResources()
           
 String getServer()
          The J2EE server the application or module is deployed on.
 WebModule[] getWebModules()
           
 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

J2EEApplicationImpl

public J2EEApplicationImpl(String objectName,
                           String deploymentDescriptor,
                           J2EEServer server,
                           Collection resources,
                           Collection appClientModules,
                           Collection ejbModules,
                           Collection resourceAdapterModules,
                           Collection webModules)
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

getModules

public String[] getModules()
Description copied from interface: J2EEApplication
A list of J2EEModules that comprise this application.

Specified by:
getModules in interface J2EEApplication
Returns:
the modules in this EAR
See Also:
"JSR77.3.6.1.1"

getModulesInstances

public J2EEModule[] getModulesInstances()

getResources

public J2EEResource[] getResources()

getClientModules

public AppClientModule[] getClientModules()

getEJBModules

public EJBModule[] getEJBModules()

getRAModules

public ResourceAdapterModule[] getRAModules()

getWebModules

public WebModule[] getWebModules()

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"

getGBeanInfo

public static GBeanInfo getGBeanInfo()


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