ClientAppManagerpublic class RouterAppManager extends ClientAppManagerImpl
| 修飾子とタイプ | クラス | 説明 |
|---|---|---|
class |
RouterAppManager.Shutdown |
_registered| コンストラクタ | 説明 |
|---|---|
RouterAppManager(RouterContext ctx) |
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
boolean |
addAndStart(ClientApp app,
java.lang.String[] args) |
|
ClientApp |
getClientApp(java.lang.String className,
java.lang.String[] args) |
Get the first known ClientApp with this class name and exact arguments.
|
void |
notify(ClientApp app,
ClientAppState state,
java.lang.String message,
java.lang.Exception e) |
Must be called on all state transitions except
from UNINITIALIZED to INITIALIZED.
|
boolean |
register(ClientApp app) |
Register with the manager under the given name,
so that other clients may find it.
|
void |
renderStatusHTML(java.io.Writer out) |
debug
|
void |
shutdown() |
getRegisteredApp, unregisterpublic RouterAppManager(RouterContext ctx)
public boolean addAndStart(ClientApp app, java.lang.String[] args)
args - the args that were used to instantiate the app, non-null, may be zero-lengthjava.lang.IllegalArgumentException - if already addedpublic ClientApp getClientApp(java.lang.String className, java.lang.String[] args)
args - non-null, may be zero-lengthpublic void notify(ClientApp app, ClientAppState state, java.lang.String message, java.lang.Exception e)
notify インタフェース内 ClientAppManagernotify クラス内 ClientAppManagerImplapp - non-nullstate - non-nullmessage - may be nulle - may be nullpublic boolean register(ClientApp app)
register インタフェース内 ClientAppManagerregister クラス内 ClientAppManagerImplapp - non-nullpublic void shutdown()
public void renderStatusHTML(java.io.Writer out)
throws java.io.IOException
java.io.IOException