ClientAppManager
public 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, unregister
public 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
インタフェース内 ClientAppManager
notify
クラス内 ClientAppManagerImpl
app
- non-nullstate
- non-nullmessage
- may be nulle
- may be nullpublic boolean register(ClientApp app)
register
インタフェース内 ClientAppManager
register
クラス内 ClientAppManagerImpl
app
- non-nullpublic void shutdown()
public void renderStatusHTML(java.io.Writer out) throws java.io.IOException
java.io.IOException