org.apache.geronimo.connector
Class ResourceAdapterModuleImpl

java.lang.Object
  extended by org.apache.geronimo.connector.ResourceAdapterModuleImpl
All Implemented Interfaces:
J2EEDeployedObject, J2EEManagedObject, J2EEModule, ResourceAdapterModule

public class ResourceAdapterModuleImpl
extends Object
implements ResourceAdapterModule


Constructor Summary
ResourceAdapterModuleImpl(String objectName, ResourceAdapter resourceAdapter, J2EEServer server, J2EEApplication application, String deploymentDescriptor, GBeanData resourceAdapterGBeanData, Map activationSpecInfoMap, Map adminObjectInfoMap, Map managedConnectionFactoryInfoMap, String displayName, String description, String vendorName, String resourceAdapterVersion, String eisType)
           
 
Method Summary
 Map getActivationSpecInfoMap()
           
 Map getAdminObjectInfoMap()
           
 String getApplication()
           
 String getDeploymentDescriptor()
          The deploymentDescriptor string must contain the original XML deployment descriptor that was created for this module during the deployment process.
 String getDescription()
           
 String getDisplayName()
           
 String getEISType()
           
 String[] getJavaVMs()
          A list of JVMs this module is running on.
 Map getManagedConnectionFactoryInfoMap()
           
 String getObjectName()
          Gets the unique name of this object.
 GBeanData getResourceAdapterGBeanData()
           
 ResourceAdapter[] getResourceAdapterInstances()
           
 String[] getResourceAdapters()
          A list of Resource Adapters included in this RAR
 String getResourceAdapterVersion()
           
 String getServer()
          The J2EE server the application or module is deployed on.
 String getVendorName()
           
 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
 

Constructor Detail

ResourceAdapterModuleImpl

public ResourceAdapterModuleImpl(String objectName,
                                 ResourceAdapter resourceAdapter,
                                 J2EEServer server,
                                 J2EEApplication application,
                                 String deploymentDescriptor,
                                 GBeanData resourceAdapterGBeanData,
                                 Map activationSpecInfoMap,
                                 Map adminObjectInfoMap,
                                 Map managedConnectionFactoryInfoMap,
                                 String displayName,
                                 String description,
                                 String vendorName,
                                 String resourceAdapterVersion,
                                 String eisType)
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"

getResourceAdapters

public String[] getResourceAdapters()
Description copied from interface: ResourceAdapterModule
A list of Resource Adapters included in this RAR

Specified by:
getResourceAdapters in interface ResourceAdapterModule
Returns:
the ObjectNames of the Resource Adapters in this RAR
See Also:
"JSR77.3.18.1.1"

getResourceAdapterGBeanData

public GBeanData getResourceAdapterGBeanData()

getActivationSpecInfoMap

public Map getActivationSpecInfoMap()

getAdminObjectInfoMap

public Map getAdminObjectInfoMap()

getManagedConnectionFactoryInfoMap

public Map getManagedConnectionFactoryInfoMap()

getDisplayName

public String getDisplayName()

getDescription

public String getDescription()

getVendorName

public String getVendorName()

getResourceAdapterVersion

public String getResourceAdapterVersion()

getEISType

public String getEISType()

getResourceAdapterInstances

public ResourceAdapter[] getResourceAdapterInstances()


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