org.apache.geronimo.connector.outbound
Class JCAConnectionFactoryImpl

java.lang.Object
  extended by org.apache.geronimo.connector.outbound.JCAConnectionFactoryImpl
All Implemented Interfaces:
J2EEManagedObject, JCAConnectionFactory

public class JCAConnectionFactoryImpl
extends Object
implements JCAConnectionFactory


Constructor Summary
JCAConnectionFactoryImpl(String objectName, JCAManagedConnectionFactory managedConnectionFactory)
           
 
Method Summary
 String getManagedConnectionFactory()
          The managed connection factory used by this connection factory.
 JCAManagedConnectionFactory getManagedConnectionFactoryInstance()
           
 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

JCAConnectionFactoryImpl

public JCAConnectionFactoryImpl(String objectName,
                                JCAManagedConnectionFactory managedConnectionFactory)
Method Detail

getManagedConnectionFactory

public String getManagedConnectionFactory()
Description copied from interface: JCAConnectionFactory
The managed connection factory used by this connection factory. In JDBC terms, the managed connection factory is the driver and the connection factory is the database connection pool.

Specified by:
getManagedConnectionFactory in interface JCAConnectionFactory
Returns:
the ObjectName of the managed connection factory used by this connection factory.
See Also:
"JSR77.3.23.1.1"

getManagedConnectionFactoryInstance

public JCAManagedConnectionFactory getManagedConnectionFactoryInstance()

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-2008 The Apache Geronimo development community. All Rights Reserved.