|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Components should implement this interface if they need to be initialize resources at startup or deallocate resources during shutdown.
If the initialize()
method is invoked upon a
component then the container must invoke the
dispose()
even if the initialize()
throws
an Exception.
Method Summary | |
void |
dispose()
Dispose the component. |
void |
initialize()
Initialialize the component. |
Method Detail |
public void initialize() throws java.lang.Exception
java.lang.Exception
- if unable to initialize component.public void dispose() throws java.lang.Exception
java.lang.Exception
- if unable to dispose component.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |