|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface for bean instance Pools.
Revisions:
20011208 Vincent Harcq:
| Method Summary | |
void |
add()
Add an instance in the Pool. |
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.util.Service |
destroy, init, start, stop |
| Method Detail |
public void add()
throws java.lang.Exception
java.lang.Exception - when an Instance can not be instantiated
public EnterpriseContext get()
throws java.lang.Exception
RemoteException - public void free(EnterpriseContext ctx)
ctx - public void discard(EnterpriseContext ctx)
ctx - public int getCurrentSize()
public int getMaxSize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||