org.apache.geronimo.connector.outbound
Class ManagedConnectionFactoryWrapper
java.lang.Object
org.apache.geronimo.connector.outbound.ManagedConnectionFactoryWrapper
- All Implemented Interfaces:
- ConnectionFactorySource, org.apache.geronimo.gbean.DynamicGBean, org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.management.J2EEManagedObject, org.apache.geronimo.management.JCAManagedConnectionFactory, org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory, org.apache.geronimo.transaction.manager.ResourceManager
- public class ManagedConnectionFactoryWrapper
- extends Object
- implements org.apache.geronimo.gbean.GBeanLifecycle, org.apache.geronimo.gbean.DynamicGBean, org.apache.geronimo.transaction.manager.ResourceManager, org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory, ConnectionFactorySource
- Version:
- $Rev: 396469 $ $Date: 2006-04-24 09:27:37 +0200 (Mon, 24 Apr 2006) $
Constructor Summary |
ManagedConnectionFactoryWrapper()
|
ManagedConnectionFactoryWrapper(String managedConnectionFactoryClass,
String connectionFactoryInterface,
String[] implementedInterfaces,
String connectionFactoryImplClass,
String connectionInterface,
String connectionImplClass,
ResourceAdapterWrapper resourceAdapterWrapper,
ConnectionManagerContainer connectionManagerContainer,
org.apache.geronimo.kernel.Kernel kernel,
org.apache.geronimo.gbean.AbstractName abstractName,
String objectName,
ClassLoader cl)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagedConnectionFactoryWrapper
public ManagedConnectionFactoryWrapper()
ManagedConnectionFactoryWrapper
public ManagedConnectionFactoryWrapper(String managedConnectionFactoryClass,
String connectionFactoryInterface,
String[] implementedInterfaces,
String connectionFactoryImplClass,
String connectionInterface,
String connectionImplClass,
ResourceAdapterWrapper resourceAdapterWrapper,
ConnectionManagerContainer connectionManagerContainer,
org.apache.geronimo.kernel.Kernel kernel,
org.apache.geronimo.gbean.AbstractName abstractName,
String objectName,
ClassLoader cl)
throws InstantiationException,
IllegalAccessException,
ClassNotFoundException
getManagedConnectionFactoryClass
public String getManagedConnectionFactoryClass()
- Specified by:
getManagedConnectionFactoryClass
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
getConnectionFactoryInterface
public String getConnectionFactoryInterface()
- Specified by:
getConnectionFactoryInterface
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
getImplementedInterfaces
public String[] getImplementedInterfaces()
- Specified by:
getImplementedInterfaces
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
getConnectionFactoryImplClass
public String getConnectionFactoryImplClass()
- Specified by:
getConnectionFactoryImplClass
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
getConnectionInterface
public String getConnectionInterface()
- Specified by:
getConnectionInterface
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
getConnectionImplClass
public String getConnectionImplClass()
- Specified by:
getConnectionImplClass
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
getResourceAdapterWrapper
public ResourceAdapterWrapper getResourceAdapterWrapper()
getConnectionManagerFactory
public ConnectionManagerContainer getConnectionManagerFactory()
getConnectionManager
public Object getConnectionManager()
- Specified by:
getConnectionManager
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
doStart
public void doStart()
throws Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
getAttribute
public Object getAttribute(String name)
throws Exception
- Specified by:
getAttribute
in interface org.apache.geronimo.gbean.DynamicGBean
- Throws:
Exception
setAttribute
public void setAttribute(String name,
Object value)
throws Exception
- Specified by:
setAttribute
in interface org.apache.geronimo.gbean.DynamicGBean
- Throws:
Exception
invoke
public Object invoke(String name,
Object[] arguments,
String[] types)
throws Exception
- Specified by:
invoke
in interface org.apache.geronimo.gbean.DynamicGBean
- Throws:
Exception
getConnectionFactory
public Object getConnectionFactory()
- Specified by:
getConnectionFactory
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
$getResource
public Object $getResource()
- Specified by:
$getResource
in interface ConnectionFactorySource
$getConnectionFactory
public Object $getConnectionFactory()
$getManagedConnectionFactory
public javax.resource.spi.ManagedConnectionFactory $getManagedConnectionFactory()
getConfigProperties
public Map getConfigProperties()
- Gets the config properties in the form of a map where the key is the
property name and the value is property type (as a String not a Class).
- Specified by:
getConfigProperties
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
setConfigProperty
public void setConfigProperty(String property,
Object value)
throws Exception
- Specified by:
setConfigProperty
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
- Throws:
Exception
getConfigProperty
public Object getConfigProperty(String property)
throws Exception
- Specified by:
getConfigProperty
in interface org.apache.geronimo.management.geronimo.JCAManagedConnectionFactory
- Throws:
Exception
getRecoveryXAResources
public org.apache.geronimo.transaction.manager.NamedXAResource getRecoveryXAResources()
throws SystemException
- Specified by:
getRecoveryXAResources
in interface org.apache.geronimo.transaction.manager.ResourceManager
- Throws:
SystemException
returnResource
public void returnResource(org.apache.geronimo.transaction.manager.NamedXAResource xaResource)
- Specified by:
returnResource
in interface org.apache.geronimo.transaction.manager.ResourceManager
getObjectName
public String getObjectName()
- Specified by:
getObjectName
in interface org.apache.geronimo.management.J2EEManagedObject
isStateManageable
public boolean isStateManageable()
- Specified by:
isStateManageable
in interface org.apache.geronimo.management.J2EEManagedObject
isStatisticsProvider
public boolean isStatisticsProvider()
- Specified by:
isStatisticsProvider
in interface org.apache.geronimo.management.J2EEManagedObject
isEventProvider
public boolean isEventProvider()
- Specified by:
isEventProvider
in interface org.apache.geronimo.management.J2EEManagedObject
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.