|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Poolable
is a marker interface for Components that can
be pooled. Components that are not pooled are created anew via a
factory every time a request is made for the component.
Components implementing this interface can add the following attributes to its definition:
<component pool-min="1" pool-max="10" pool-grow="1">
<tag>value</tag>
</component>
Where:
pool-min |
sets the minimum number of Components maintained by the pool |
pool-max |
sets the maximum number of Components maintained by the pool |
pool-grow |
sets the number of Components to grow or shrink the pool by whenever it becomes necessary to do so |
NB: It was a deliberate choice not to extend Component. This will have to be reassed once we see it in action.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |