|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface used by DaemonApplications.
| Method Summary | |
void |
destroy()
The application should destroy resources created in init() here. |
void |
init(InstallationLayout layout,
java.lang.String[] args)
Threads should be created, along with sockets. |
void |
start()
Start threads and bind sockets here. |
void |
stop(java.lang.String[] args)
Stop threads and close sockets opened in start() here. |
| Method Detail |
public void init(InstallationLayout layout,
java.lang.String[] args)
throws java.lang.Exception
layout - the application's installation home layoutargs - the shifted arguments after the installation home path and
the command arguments are removed
java.lang.Exceptionpublic void start()
public void stop(java.lang.String[] args)
throws java.lang.Exception
args - shifted arguments without installation path or stop command
java.lang.Exceptionpublic void destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||