|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface can be implemented by objects that maintain static resources requiring some "finalization" type behavior. Since the JVM won't commit to calling finalize() :-) I'm providing a hook where the object can be registered w/ the application framework. All registered Resources will have cleanup() called as part of application shutdown.
Method Summary | |
void |
close()
Perform whatever cleanup is required of the underlying object.. |
void |
init(java.util.Properties p)
Perform whatever initialization is required of the resource. |
Method Detail |
public void init(java.util.Properties p) throws InitializationException
p
-
InitializationException
public void close()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |