|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.services.StartupHandler
A ManagerRepository handles the startup and shutdown of a collection
of Managers. It also maintains a mapping of Manager specification classes
to Manager instances, which can be queried using the getManager() method.
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private static String |
RESOURCE
|
Constructor Summary | |
StartupHandler()
|
Method Summary | |
protected abstract boolean |
isShutDown()
Returns true if all managers in this repository return (isStartedUp()==false). |
protected abstract boolean |
isStarted()
Returns true if all managers in this repository return (isStartedUp()==true). |
protected abstract void |
prepareForStartup(ManagerService service)
Create all managers in this repository. |
protected abstract void |
shutdown()
Shut down each manager in this repository. |
protected abstract void |
startup()
Start up each manager in this repository. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
Constructor Detail |
public StartupHandler()
Method Detail |
protected abstract boolean isShutDown()
Issue:
This method is not designed for multi-threaded startup. This method
assumes that the process is synchronous and that startup has succeeded
or failed during the manager startup operation.
Supported API: false
protected abstract boolean isStarted()
Issue:
This method is not designed for multi-threaded startup. This method
assumes that the process is synchronous and that startup has succeeded
or failed during the manager startup operation.
Supported API: false
protected abstract void prepareForStartup(ManagerService service) throws ManagerException
service
-
ManagerException
protected abstract void shutdown() throws ManagerException
ManagerException
protected abstract void startup() throws ManagerException
ManagerException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |