|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Application
Application process controller.
| Field Summary | |
|---|---|
static int |
DEFAULT_SHUTDOWN_TIMEOUT
The default shutdown timeout in seconds. |
static int |
DEFAULT_STARTUP_TIMEOUT
The default startup timeout in seconds. |
| Method Summary | |
|---|---|
void |
addApplicationListener(ApplicationListener listener)
Add an application listener. |
ApplicationDescriptor |
getApplicationDescriptor()
Return the profile associated with this application |
String |
getID()
Return the application id. |
PID |
getPID()
Return the process identifier of the process within which the application is running. |
ProcessState |
getProcessState()
Return the current deployment state of the process. |
Provider |
getProvider()
Return the component instance handler. |
void |
removeApplicationListener(ApplicationListener listener)
Remove an application listener. |
void |
restart()
Restart the application. |
void |
start()
Start the application. |
void |
stop()
Stop the application. |
| Field Detail |
|---|
static final int DEFAULT_STARTUP_TIMEOUT
static final int DEFAULT_SHUTDOWN_TIMEOUT
| Method Detail |
|---|
String getID()
throws RemoteException
RemoteException - if a remote error occurs
PID getPID()
throws RemoteException
RemoteException - if a remote error occurs
ApplicationDescriptor getApplicationDescriptor()
throws RemoteException
RemoteException - if a remote error occurs
ProcessState getProcessState()
throws RemoteException
RemoteException - if a remote error occurs
void start()
throws RemoteException
RemoteException - if a remote error occurs
void stop()
throws RemoteException
RemoteException - if a remote error occurs
void restart()
throws RemoteException
RemoteException - if a rmote error occurs
Provider getProvider()
throws RemoteException
RemoteException - if a remote error occurs
void addApplicationListener(ApplicationListener listener)
throws RemoteException
listener - the listener to add
RemoteException - if a remote error occurs
void removeApplicationListener(ApplicationListener listener)
throws RemoteException
listener - the listener to remove
RemoteException - if a remote error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||