|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides instances of parsers as needed. get() will return a new parser if available. If a parser is acquired from the pool, put() should be called with that parser to make it available again for reuse.
Method Summary | |
Parser |
get()
Retrieve an instance of a parser pool. |
void |
initialize(RuntimeServices svc)
Initialize the pool so that it can begin serving parser instances. |
void |
put(Parser parser)
Return the parser to the pool so that it may be reused. |
Method Detail |
public void initialize(RuntimeServices svc)
svc
- public Parser get()
public void put(Parser parser)
parser
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |