org.openejb.mdb
Class MDBContainer
java.lang.Object
org.openejb.mdb.MDBContainer
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, javax.resource.spi.endpoint.MessageEndpointFactory
- public class MDBContainer
- extends Object
- implements javax.resource.spi.endpoint.MessageEndpointFactory, org.apache.geronimo.gbean.GBeanLifecycle
- Version:
- $Revision: 1.17 $ $Date: 2004/08/02 01:52:36 $
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Constructor Summary |
MDBContainer(String containerId,
String ejbName,
String endpointInterfaceName,
InterfaceMethodSignature[] signatures,
boolean[] deliveryTransacted,
MDBInstanceContextFactory contextFactory,
MDBInterceptorBuilder interceptorBuilder,
InstancePool instancePool,
org.apache.geronimo.transaction.UserTransactionImpl userTransaction,
org.apache.geronimo.connector.ActivationSpecWrapper activationSpecWrapper,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager,
org.apache.geronimo.transaction.TrackedConnectionAssociator trackedConnectionAssociator,
ClassLoader classLoader,
org.apache.geronimo.timer.ThreadPooledTimer timer,
String objectName,
org.apache.geronimo.kernel.Kernel kernel)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
MDBContainer
public MDBContainer(String containerId,
String ejbName,
String endpointInterfaceName,
InterfaceMethodSignature[] signatures,
boolean[] deliveryTransacted,
MDBInstanceContextFactory contextFactory,
MDBInterceptorBuilder interceptorBuilder,
InstancePool instancePool,
org.apache.geronimo.transaction.UserTransactionImpl userTransaction,
org.apache.geronimo.connector.ActivationSpecWrapper activationSpecWrapper,
org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager,
org.apache.geronimo.transaction.TrackedConnectionAssociator trackedConnectionAssociator,
ClassLoader classLoader,
org.apache.geronimo.timer.ThreadPooledTimer timer,
String objectName,
org.apache.geronimo.kernel.Kernel kernel)
throws Exception
createEndpoint
public javax.resource.spi.endpoint.MessageEndpoint createEndpoint(XAResource adapterXAResource)
throws javax.resource.spi.UnavailableException
- Specified by:
createEndpoint
in interface javax.resource.spi.endpoint.MessageEndpointFactory
- Throws:
javax.resource.spi.UnavailableException
isDeliveryTransacted
public boolean isDeliveryTransacted(Method method)
throws NoSuchMethodException
- Specified by:
isDeliveryTransacted
in interface javax.resource.spi.endpoint.MessageEndpointFactory
- Throws:
NoSuchMethodException
isDeliveryTransacted
public boolean isDeliveryTransacted(int methodIndex)
throws NoSuchMethodException
- Throws:
NoSuchMethodException
doStart
public void doStart()
throws Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
Exception
doStop
public void doStop()
throws org.apache.geronimo.timer.PersistenceException
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
org.apache.geronimo.timer.PersistenceException
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
invoke
public org.apache.geronimo.core.service.InvocationResult invoke(org.apache.geronimo.core.service.Invocation invocation)
throws Throwable
- Throws:
Throwable
getClassLoader
public ClassLoader getClassLoader()
getContainerId
public String getContainerId()
getEJBName
public String getEJBName()
getEndpointFactory
public EndpointFactory getEndpointFactory()
getSignatures
public InterfaceMethodSignature[] getSignatures()
getTransactionContextManager
public org.apache.geronimo.transaction.context.TransactionContextManager getTransactionContextManager()
getMethodIndexMap
public Map getMethodIndexMap()
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 1999-2005 OpenEJB. All Rights Reserved.