public class StatelessContainer extends java.lang.Object implements RpcContainer, DestroyableResource
Constructor and Description |
---|
StatelessContainer(java.lang.Object id,
SecurityService securityService,
Duration accessTimeout,
Duration closeTimeout,
Pool.Builder poolBuilder,
int callbackThreads,
boolean useOneSchedulerThreadByBean,
int evictionThreads) |
Modifier and Type | Method and Description |
---|---|
void |
deploy(BeanContext beanContext) |
void |
destroyResource() |
BeanContext |
getBeanContext(java.lang.Object deploymentID) |
BeanContext[] |
getBeanContexts() |
java.lang.Object |
getContainerID() |
ContainerType |
getContainerType() |
java.lang.Object |
invoke(java.lang.Object deployID,
InterfaceType type,
java.lang.Class callInterface,
java.lang.reflect.Method callMethod,
java.lang.Object[] args,
java.lang.Object primKey) |
void |
start(BeanContext beanContext) |
void |
stop(BeanContext beanContext) |
void |
undeploy(BeanContext beanContext) |
public StatelessContainer(java.lang.Object id, SecurityService securityService, Duration accessTimeout, Duration closeTimeout, Pool.Builder poolBuilder, int callbackThreads, boolean useOneSchedulerThreadByBean, int evictionThreads)
public BeanContext[] getBeanContexts()
getBeanContexts
in interface Container
public BeanContext getBeanContext(java.lang.Object deploymentID)
getBeanContext
in interface Container
public ContainerType getContainerType()
getContainerType
in interface Container
public java.lang.Object getContainerID()
getContainerID
in interface Container
public void deploy(BeanContext beanContext) throws OpenEJBException
deploy
in interface Container
OpenEJBException
public void start(BeanContext beanContext) throws OpenEJBException
start
in interface Container
OpenEJBException
public void stop(BeanContext beanContext) throws OpenEJBException
stop
in interface Container
OpenEJBException
public void undeploy(BeanContext beanContext)
public java.lang.Object invoke(java.lang.Object deployID, InterfaceType type, java.lang.Class callInterface, java.lang.reflect.Method callMethod, java.lang.Object[] args, java.lang.Object primKey) throws OpenEJBException
invoke
in interface RpcContainer
OpenEJBException
public void destroyResource()
destroyResource
in interface DestroyableResource