|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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 |
public static final int DEFAULT_STARTUP_TIMEOUT
public static final int DEFAULT_SHUTDOWN_TIMEOUT
| Method Detail |
public String getID()
throws RemoteException
RemoteException - if a remote error occurs
public PID getPID()
throws RemoteException
RemoteException - if a remote error occurs
public ApplicationDescriptor getApplicationDescriptor()
throws RemoteException
RemoteException - if a remote error occurs
public ProcessState getProcessState()
throws RemoteException
RemoteException - if a remote error occurs
public void start()
throws RemoteException
RemoteException - if a remote error occurs
public void stop()
throws RemoteException
RemoteException - if a remote error occurs
public void restart()
throws RemoteException
RemoteException - if a rmote error occurs
public Provider getProvider()
throws RemoteException
RemoteException - if a remote error occurs
public void addApplicationListener(ApplicationListener listener)
throws RemoteException
listener - the listener to add
RemoteException - if a remote error occurs
public 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 | ||||||||||