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 Containerpublic BeanContext getBeanContext(java.lang.Object deploymentID)
getBeanContext in interface Containerpublic ContainerType getContainerType()
getContainerType in interface Containerpublic java.lang.Object getContainerID()
getContainerID in interface Containerpublic void deploy(BeanContext beanContext) throws OpenEJBException
deploy in interface ContainerOpenEJBExceptionpublic void start(BeanContext beanContext) throws OpenEJBException
start in interface ContainerOpenEJBExceptionpublic void stop(BeanContext beanContext) throws OpenEJBException
stop in interface ContainerOpenEJBExceptionpublic 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 RpcContainerOpenEJBExceptionpublic void destroyResource()
destroyResource in interface DestroyableResource