|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DaemonApplication
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 |
|---|
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.Exceptionvoid start()
void stop(java.lang.String[] args)
throws java.lang.Exception
args - shifted arguments without installation path or stop command
java.lang.Exceptionvoid destroy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||