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 Container
getBeanContexts
in interface BaseMdbContainer
public BeanContext getBeanContext(java.lang.Object deploymentID)
getBeanContext
in interface Container
getBeanContext
in interface BaseMdbContainer
public ContainerType getContainerType()
getContainerType
in interface Container
getContainerType
in interface BaseMdbContainer
public java.lang.Object getContainerID()
getContainerID
in interface Container
getContainerID
in interface BaseMdbContainer
public ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface BaseMdbContainer
public java.lang.Class getMessageListenerInterface()
getMessageListenerInterface
in interface BaseMdbContainer
public java.lang.Class getActivationSpecClass()
public java.util.Properties getProperties()
getProperties
in interface BaseMdbContainer
public void deploy(BeanContext beanContext) throws OpenEJBException
deploy
in interface Container
deploy
in interface BaseMdbContainer
OpenEJBException
public void start(BeanContext info) throws OpenEJBException
start
in interface Container
start
in interface BaseMdbContainer
OpenEJBException
public void stop(BeanContext info) throws OpenEJBException
stop
in interface Container
stop
in interface BaseMdbContainer
OpenEJBException
public void undeploy(BeanContext beanContext) throws OpenEJBException
undeploy
in interface Container
undeploy
in interface BaseMdbContainer
OpenEJBException
public 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 BaseMdbContainer
invoke
in interface RpcContainer
OpenEJBException
public void beforeDelivery(BeanContext deployInfo, java.lang.Object instance, java.lang.reflect.Method method, javax.transaction.xa.XAResource xaResource) throws SystemException
beforeDelivery
in interface BaseMdbContainer
SystemException
public 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 BaseMdbContainer
SystemException
ApplicationException
public void afterDelivery(java.lang.Object instance) throws SystemException
afterDelivery
in interface BaseMdbContainer
SystemException
public void release(BeanContext deployInfo, java.lang.Object instance)
release
in interface BaseMdbContainer