|
|||||||||||
| PREV CLASS NEXT CLASS | 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 ctx)
Discard an anonymous instance after invocation. |
void |
free(EnterpriseContext ctx)
Return an anonymous instance after invocation. |
EnterpriseContext |
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 |
setContainer |
| Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
| Method Detail |
public EnterpriseContext get()
throws Exception
Can be used by finders and create-methods, or stateless beans
Exception - RemoteExceptionpublic void free(EnterpriseContext ctx)
ctx - The context to free.public void discard(EnterpriseContext ctx)
ctx - The context to discard.public int getCurrentSize()
public int getMaxSize()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||