|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines the model for a EnterpriseContext instance pool.
Field Summary |
Method Summary | |
void |
discard(EnterpriseContext (src) ctx)
Discard an anonymous instance after invocation. |
void |
free(EnterpriseContext (src) ctx)
Return an anonymous instance after invocation. |
EnterpriseContext (src) |
get()
Get an instance without identity. |
int |
getCurrentSize()
Return the size of the pool. |
int |
getMaxSize()
Get the maximum size of the pool. |
Methods inherited from interface org.jboss.ejb.ContainerPlugin (src) |
setContainer |
Methods inherited from interface org.jboss.system.Service (src) |
create, destroy, start, stop |
Method Detail |
public EnterpriseContext (src) get() throws java.lang.Exception
Can be used by finders and create-methods, or stateless beans
java.lang.Exception
- RemoteExceptionpublic void free(EnterpriseContext (src) ctx)
ctx
- The context to free.public void discard(EnterpriseContext (src) ctx)
ctx
- The context to discard.public int getCurrentSize()
public int getMaxSize()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |