|
||||||||||
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 occursPID getPID() throws RemoteException
RemoteException
- if a remote error occursApplicationDescriptor getApplicationDescriptor() throws RemoteException
RemoteException
- if a remote error occursProcessState getProcessState() throws RemoteException
RemoteException
- if a remote error occursvoid start() throws RemoteException
RemoteException
- if a remote error occursvoid stop() throws RemoteException
RemoteException
- if a remote error occursvoid restart() throws RemoteException
RemoteException
- if a rmote error occursProvider getProvider() throws RemoteException
RemoteException
- if a remote error occursvoid addApplicationListener(ApplicationListener listener) throws RemoteException
listener
- the listener to add
RemoteException
- if a remote error occursvoid 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 |