|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface via which you can manager the root container of Applications.
Field Summary | |
static String |
ROLE
|
Method Summary | |
String[] |
getBlockNames()
Get the names of the blocks that compose this Application |
String |
getDescription()
Get the string used to describe the application in the UI. |
String |
getDisplayName()
Get the name to display in Management UI. |
String |
getHomeDirectory()
Get location of Application installation |
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 String ROLE
Method Detail |
public String getName()
public String getDisplayName()
public String getDescription()
public String getHomeDirectory()
public String[] getBlockNames()
public boolean isRunning()
public void start() throws IllegalStateException, ApplicationException
IllegalStateException
- if application is already runningApplicationException
- 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 IllegalStateException, ApplicationException
IllegalStateException
- if application is not already runningApplicationException
- 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 IllegalStateException, ApplicationException
IllegalStateException
- if application is not already runningApplicationException
- 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: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |