public class MdbContainer extends Object implements RpcContainer
| Constructor and Description |
|---|
MdbContainer(Object containerID,
SecurityService securityService,
javax.resource.spi.ResourceAdapter resourceAdapter,
Class messageListenerInterface,
Class activationSpecClass,
int instanceLimit) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDelivery(Object instance) |
void |
beforeDelivery(BeanContext deployInfo,
Object instance,
Method method,
XAResource xaResource) |
void |
deploy(BeanContext beanContext) |
Class |
getActivationSpecClass() |
BeanContext |
getBeanContext(Object deploymentID) |
BeanContext[] |
getBeanContexts() |
Object |
getContainerID() |
ContainerType |
getContainerType() |
Class |
getMessageListenerInterface() |
javax.resource.spi.ResourceAdapter |
getResourceAdapter() |
Object |
invoke(Object deploymentId,
InterfaceType type,
Class callInterface,
Method method,
Object[] args,
Object primKey) |
Object |
invoke(Object instance,
Method method,
InterfaceType type,
Object... args) |
void |
release(BeanContext deployInfo,
Object instance) |
void |
start(BeanContext info) |
void |
stop(BeanContext info) |
void |
undeploy(BeanContext beanContext) |
public MdbContainer(Object containerID, SecurityService securityService, javax.resource.spi.ResourceAdapter resourceAdapter, Class messageListenerInterface, Class activationSpecClass, int instanceLimit)
public BeanContext[] getBeanContexts()
getBeanContexts in interface Containerpublic BeanContext getBeanContext(Object deploymentID)
getBeanContext in interface Containerpublic ContainerType getContainerType()
getContainerType in interface Containerpublic Object getContainerID()
getContainerID in interface Containerpublic javax.resource.spi.ResourceAdapter getResourceAdapter()
public Class getMessageListenerInterface()
public Class getActivationSpecClass()
public void deploy(BeanContext beanContext) throws OpenEJBException
deploy in interface ContainerOpenEJBExceptionpublic void start(BeanContext info) throws OpenEJBException
start in interface ContainerOpenEJBExceptionpublic void stop(BeanContext info) throws OpenEJBException
stop in interface ContainerOpenEJBExceptionpublic void undeploy(BeanContext beanContext) throws OpenEJBException
undeploy in interface ContainerOpenEJBExceptionpublic Object invoke(Object deploymentId, InterfaceType type, Class callInterface, Method method, Object[] args, Object primKey) throws OpenEJBException
invoke in interface RpcContainerOpenEJBExceptionpublic void beforeDelivery(BeanContext deployInfo, Object instance, Method method, XAResource xaResource) throws SystemException
SystemExceptionpublic Object invoke(Object instance, Method method, InterfaceType type, Object... args) throws SystemException, ApplicationException
SystemExceptionApplicationExceptionpublic void afterDelivery(Object instance) throws SystemException
SystemExceptionpublic void release(BeanContext deployInfo, Object instance)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.