org.apache.geronimo.connector
Class JCAResourceImpl

java.lang.Object
  extended by org.apache.geronimo.connector.JCAResourceImpl
All Implemented Interfaces:
J2EEManagedObject, J2EEResource, JCAResource

public class JCAResourceImpl
extends Object
implements JCAResource


Constructor Summary
JCAResourceImpl(String objectName, Collection connectionFactories, Collection resourceAdapters, Collection adminObjects)
           
 
Method Summary
 JCAAdminObject[] getAdminObjectInstances()
           
 JCAAdminObject[] getAdminObjectInstances(String adminObjectInterface)
           
 JCAAdminObject[] getAdminObjectInstances(String[] adminObjectInterfaces)
           
 String[] getAdminObjects()
           
 String[] getConnectionFactories()
          A list of connection factories provided by this resource.
 JCAConnectionFactory[] getConnectionFactoryInstances()
           
 String getObjectName()
          Gets the unique name of this object.
 JCAManagedConnectionFactory[] getOutboundFactories()
           
 JCAManagedConnectionFactory[] getOutboundFactories(String connectionFactoryInterface)
           
 JCAManagedConnectionFactory[] getOutboundFactories(String[] connectionFactoryInterfaces)
           
 String[] getResourceAdapterInstanceNames()
           
 JCAResourceAdapter[] getResourceAdapterInstances()
           
 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

JCAResourceImpl

public JCAResourceImpl(String objectName,
                       Collection connectionFactories,
                       Collection resourceAdapters,
                       Collection adminObjects)
Method Detail

getConnectionFactories

public String[] getConnectionFactories()
Description copied from interface: JCAResource
A list of connection factories provided by this resource.

Specified by:
getConnectionFactories in interface JCAResource
Returns:
the ObjectNames of the connection factories provided by this resource
See Also:
"JSR77.3.22.1.1"

getResourceAdapterInstanceNames

public String[] getResourceAdapterInstanceNames()

getResourceAdapterInstances

public JCAResourceAdapter[] getResourceAdapterInstances()

getConnectionFactoryInstances

public JCAConnectionFactory[] getConnectionFactoryInstances()

getOutboundFactories

public JCAManagedConnectionFactory[] getOutboundFactories()

getOutboundFactories

public JCAManagedConnectionFactory[] getOutboundFactories(String connectionFactoryInterface)

getOutboundFactories

public JCAManagedConnectionFactory[] getOutboundFactories(String[] connectionFactoryInterfaces)

getAdminObjects

public String[] getAdminObjects()

getAdminObjectInstances

public JCAAdminObject[] getAdminObjectInstances()

getAdminObjectInstances

public JCAAdminObject[] getAdminObjectInstances(String adminObjectInterface)

getAdminObjectInstances

public JCAAdminObject[] getAdminObjectInstances(String[] adminObjectInterfaces)

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


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