public class MdbPoolContainer extends java.lang.Object implements RpcContainer, BaseMdbContainer
| Constructor and Description |
|---|
MdbPoolContainer(java.lang.Object containerID,
SecurityService securityService,
ResourceAdapter resourceAdapter,
java.lang.Class messageListenerInterface,
java.lang.Class activationSpecClass,
boolean failOnUnknownActivationSpec,
Duration accessTimeout,
Duration closeTimeout,
Pool.Builder poolBuilder,
int callbackThreads,
boolean useOneSchedulerThreadByBean,
int evictionThreads) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDelivery(java.lang.Object instance) |
void |
beforeDelivery(BeanContext deployInfo,
java.lang.Object instance,
java.lang.reflect.Method method,
javax.transaction.xa.XAResource xaResource) |
void |
deploy(BeanContext beanContext) |
java.lang.Class |
getActivationSpecClass() |
BeanContext |
getBeanContext(java.lang.Object deploymentID) |
BeanContext[] |
getBeanContexts() |
java.lang.Object |
getContainerID() |
ContainerType |
getContainerType() |
java.lang.Class |
getMessageListenerInterface() |
java.util.Properties |
getProperties() |
ResourceAdapter |
getResourceAdapter() |
java.lang.Object |
invoke(java.lang.Object deploymentId,
InterfaceType type,
java.lang.Class callInterface,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object primKey) |
java.lang.Object |
invoke(java.lang.Object instance,
java.lang.reflect.Method method,
InterfaceType type,
java.lang.Object... args) |
void |
release(BeanContext deployInfo,
java.lang.Object instance) |
void |
start(BeanContext info) |
void |
stop(BeanContext info) |
void |
undeploy(BeanContext beanContext) |
public MdbPoolContainer(java.lang.Object containerID,
SecurityService securityService,
ResourceAdapter resourceAdapter,
java.lang.Class messageListenerInterface,
java.lang.Class activationSpecClass,
boolean failOnUnknownActivationSpec,
Duration accessTimeout,
Duration closeTimeout,
Pool.Builder poolBuilder,
int callbackThreads,
boolean useOneSchedulerThreadByBean,
int evictionThreads)
public BeanContext[] getBeanContexts()
getBeanContexts in interface ContainergetBeanContexts in interface BaseMdbContainerpublic BeanContext getBeanContext(java.lang.Object deploymentID)
getBeanContext in interface ContainergetBeanContext in interface BaseMdbContainerpublic ContainerType getContainerType()
getContainerType in interface ContainergetContainerType in interface BaseMdbContainerpublic java.lang.Object getContainerID()
getContainerID in interface ContainergetContainerID in interface BaseMdbContainerpublic ResourceAdapter getResourceAdapter()
getResourceAdapter in interface BaseMdbContainerpublic java.lang.Class getMessageListenerInterface()
getMessageListenerInterface in interface BaseMdbContainerpublic java.lang.Class getActivationSpecClass()
public java.util.Properties getProperties()
getProperties in interface BaseMdbContainerpublic void deploy(BeanContext beanContext) throws OpenEJBException
deploy in interface Containerdeploy in interface BaseMdbContainerOpenEJBExceptionpublic void start(BeanContext info) throws OpenEJBException
start in interface Containerstart in interface BaseMdbContainerOpenEJBExceptionpublic void stop(BeanContext info) throws OpenEJBException
stop in interface Containerstop in interface BaseMdbContainerOpenEJBExceptionpublic void undeploy(BeanContext beanContext) throws OpenEJBException
undeploy in interface Containerundeploy in interface BaseMdbContainerOpenEJBExceptionpublic java.lang.Object invoke(java.lang.Object deploymentId,
InterfaceType type,
java.lang.Class callInterface,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object primKey)
throws OpenEJBException
invoke in interface BaseMdbContainerinvoke in interface RpcContainerOpenEJBExceptionpublic void beforeDelivery(BeanContext deployInfo, java.lang.Object instance, java.lang.reflect.Method method, javax.transaction.xa.XAResource xaResource) throws SystemException
beforeDelivery in interface BaseMdbContainerSystemExceptionpublic java.lang.Object invoke(java.lang.Object instance,
java.lang.reflect.Method method,
InterfaceType type,
java.lang.Object... args)
throws SystemException,
ApplicationException
invoke in interface BaseMdbContainerSystemExceptionApplicationExceptionpublic void afterDelivery(java.lang.Object instance)
throws SystemException
afterDelivery in interface BaseMdbContainerSystemExceptionpublic void release(BeanContext deployInfo, java.lang.Object instance)
release in interface BaseMdbContainer