|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface via which you can manager the root container of Applications.
Field Summary | |
static java.lang.String |
ROLE
|
Method Summary | |
java.lang.String[] |
getBlockNames()
Get the names of the blocks that compose this Application |
java.lang.String |
getDescription()
Get the string used to describe the application in the UI. |
java.lang.String |
getDisplayName()
Get the name to display in Management UI. |
java.lang.String |
getHomeDirectory()
Get location of Application installation |
java.lang.String |
getName()
Get the name of the application. |
boolean |
isRunning()
Return true if the application is running or false otherwise. |
void |
restart()
Shutdown and restart the application running. |
void |
start()
Start the application running. |
void |
stop()
Stop the application running. |
Field Detail |
public static final java.lang.String ROLE
Method Detail |
public java.lang.String getName()
public java.lang.String getDisplayName()
public java.lang.String getDescription()
public java.lang.String getHomeDirectory()
public java.lang.String[] getBlockNames()
public boolean isRunning()
public void start() throws java.lang.IllegalStateException, ApplicationException
java.lang.IllegalStateException
- if application is already running
ApplicationException
- if the application failed to start.
the message part of exception will contain more information
pertaining to why the application failed to startuppublic void restart() throws java.lang.IllegalStateException, ApplicationException
java.lang.IllegalStateException
- if application is not already running
ApplicationException
- if the application failed to stop or start.
the message part of exception will contain more information
pertaining to why the application failed to startup/shutdownpublic void stop() throws java.lang.IllegalStateException, ApplicationException
java.lang.IllegalStateException
- if application is not already running
ApplicationException
- if the application failed to shutdown.
the message part of exception will contain more information
pertaining to why the application failed to shutodwn
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |