|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectGenerator<T>
Method Summary | |
---|---|
void |
disable(T t)
This method is invoked when this object is being returned to the pool. |
void |
enable(T t)
This method is invoked when this object is being enabled for use out of the pool. |
T |
newInstance()
Creates and returns a new instance of T |
Method Detail |
---|
T newInstance()
java.lang.Exception
void enable(T t)
t
- void disable(T t)
t
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |