|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.base.application.control.Manageable
public abstract class Manageable
Manageables are similiar to applications. But they not have a run method and may not implement the EventListener or CmdLineLineListener interface.
| Constructor Summary | |
|---|---|
Manageable()
|
|
| Method Summary | |
|---|---|
CmdLineArgs |
getCmdLineArgs()
Returns the command line arguments as processed by the command line processor |
List |
getCmdLineOptions()
Requests the command line options specification. |
ApplicationController |
getController()
Returns the associated controller. |
String[] |
getRawArgs()
Returns the command line arguments as received from the VM's main |
protected abstract void |
init()
Initializes the manageable. |
protected abstract void |
release()
The default manageable release. |
void |
setController(ApplicationController controller)
Sets a controller. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Manageable()
| Method Detail |
|---|
protected abstract void init()
throws Exception
Manageables are initialized in the order they have been registered with application controller.
Exception
protected abstract void release()
throws Exception
Manageables are released in the reverse order they have been registered with application controller. release() is called only if init() was successful.
Exceptionpublic List getCmdLineOptions()
public CmdLineArgs getCmdLineArgs()
public String[] getRawArgs()
public ApplicationController getController()
public void setController(ApplicationController controller)
controller -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||