org.apache.geronimo.connector
Class ResourceAdapterImpl

java.lang.Object
  extended by org.apache.geronimo.connector.ResourceAdapterImpl
All Implemented Interfaces:
J2EEManagedObject, ResourceAdapter

public class ResourceAdapterImpl
extends Object
implements ResourceAdapter


Constructor Summary
ResourceAdapterImpl(String objectName, JCAResource jcaResource)
           
 
Method Summary
 JCAResource[] getJCAResourceImplementations()
           
 String[] getJCAResources()
          A list of JCA resources provided by this resource adapter.
 String getObjectName()
          Gets the unique name of this object.
 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

ResourceAdapterImpl

public ResourceAdapterImpl(String objectName,
                           JCAResource jcaResource)
Method Detail

getJCAResources

public String[] getJCAResources()
Description copied from interface: ResourceAdapter
A list of JCA resources provided by this resource adapter.

Specified by:
getJCAResources in interface ResourceAdapter
Returns:
the ObjectNames of the JCAResources provided by this resource adapter
See Also:
"JSR77.3.19.1.1"

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

getJCAResourceImplementations

public JCAResource[] getJCAResourceImplementations()


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