org.apache.geronimo.connector.outbound
Class ManagedConnectionFactoryWrapper

java.lang.Object
  extended byorg.apache.geronimo.connector.outbound.ManagedConnectionFactoryWrapper
All Implemented Interfaces:
org.apache.geronimo.gbean.DynamicGBean, org.apache.geronimo.gbean.GBeanLifecycle, 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

Version:
$Revision: 1.18 $ $Date: 2004/07/12 06:07:51 $

Constructor Summary
ManagedConnectionFactoryWrapper()
           
ManagedConnectionFactoryWrapper(Class managedConnectionFactoryClass, Class connectionFactoryInterface, Class connectionFactoryImplClass, Class connectionInterface, Class connectionImplClass, String globalJNDIName, ResourceAdapterWrapper resourceAdapterWrapper, ConnectionManagerFactory connectionManagerFactory, ManagedConnectionFactoryListener managedConnectionFactoryListener, org.apache.geronimo.kernel.Kernel kernel, String objectName)
           
 
Method Summary
 void doFail()
           
 void doStart()
           
 void doStop()
           
 Object getAttribute(String name)
           
 Class getConnectionFactoryImplClass()
           
 Class getConnectionFactoryInterface()
           
 Class getConnectionImplClass()
           
 Class getConnectionInterface()
           
 ConnectionManagerFactory getConnectionManagerFactory()
           
static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
           
 String getGlobalJNDIName()
           
 Class getManagedConnectionFactoryClass()
           
 Object getMethodInterceptor()
           
 Object getProxy()
           
 org.apache.geronimo.transaction.manager.NamedXAResource getRecoveryXAResources()
           
 ResourceAdapterWrapper getResourceAdapterWrapper()
           
 Object invoke(String name, Object[] arguments, String[] types)
           
 void returnResource(org.apache.geronimo.transaction.manager.NamedXAResource xaResource)
           
 void setAttribute(String name, Object value)
           
 void setConnectionManagerFactory(ConnectionManagerFactory connectionManagerFactory)
           
 void setResourceAdapterWrapper(ResourceAdapterWrapper resourceAdapterWrapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedConnectionFactoryWrapper

public ManagedConnectionFactoryWrapper()

ManagedConnectionFactoryWrapper

public ManagedConnectionFactoryWrapper(Class managedConnectionFactoryClass,
                                       Class connectionFactoryInterface,
                                       Class connectionFactoryImplClass,
                                       Class connectionInterface,
                                       Class connectionImplClass,
                                       String globalJNDIName,
                                       ResourceAdapterWrapper resourceAdapterWrapper,
                                       ConnectionManagerFactory connectionManagerFactory,
                                       ManagedConnectionFactoryListener managedConnectionFactoryListener,
                                       org.apache.geronimo.kernel.Kernel kernel,
                                       String objectName)
                                throws InstantiationException,
                                       IllegalAccessException
Method Detail

getManagedConnectionFactoryClass

public Class getManagedConnectionFactoryClass()

getConnectionFactoryInterface

public Class getConnectionFactoryInterface()

getConnectionFactoryImplClass

public Class getConnectionFactoryImplClass()

getConnectionInterface

public Class getConnectionInterface()

getConnectionImplClass

public Class getConnectionImplClass()

getGlobalJNDIName

public String getGlobalJNDIName()

getResourceAdapterWrapper

public ResourceAdapterWrapper getResourceAdapterWrapper()

setResourceAdapterWrapper

public void setResourceAdapterWrapper(ResourceAdapterWrapper resourceAdapterWrapper)

getConnectionManagerFactory

public ConnectionManagerFactory getConnectionManagerFactory()

setConnectionManagerFactory

public void setConnectionManagerFactory(ConnectionManagerFactory connectionManagerFactory)

doStart

public void doStart()
             throws org.apache.geronimo.gbean.WaitingException,
                    Exception
Specified by:
doStart in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
org.apache.geronimo.gbean.WaitingException
Exception

doStop

public void doStop()
            throws org.apache.geronimo.gbean.WaitingException
Specified by:
doStop in interface org.apache.geronimo.gbean.GBeanLifecycle
Throws:
org.apache.geronimo.gbean.WaitingException

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

getProxy

public Object getProxy()

getMethodInterceptor

public Object getMethodInterceptor()

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

getGBeanInfo

public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()


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