wt.services
Interface ManagerService
- All Superinterfaces:
- KeyedEventDispatcher, Manager, NetFactor
- All Known Implementing Classes:
- StandardManagerService
- public interface ManagerService
- extends Manager, KeyedEventDispatcher
The manager service is a manager which is used to startup and provide
access to a pre-defined list of managers.
In addition to managing managers the manager class provides a synchronous
event dispatch service.
Supported API: true
Extendable: false
Fields inherited from interface wt.services.Manager |
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE |
Method Summary |
Manager |
getManager(Class managerClass)
Return the concrete instance of the manager for the specified abstract
manager name. |
Manager |
getManager(Class aClass,
Object managedObject)
Return the concrete instance of the manager for the specified abstract
manager name. |
boolean |
hasManager(Class aClass)
Indicate whether an instance of the passed class is available. |
boolean |
hasManager(Class aClass,
Object managedObject)
Indicate whether an instance of the passed class is available. |
Methods inherited from interface wt.events.KeyedEventDispatcher |
addEventBranch, addEventListener, dispatchEvent, dispatchMultiObjectEvent, dispatchVetoableEvent, dispatchVetoableMultiObjectEvent, getAllEventBranches, getEventBranch, printAllEventBranches, removeEventBranch, removeEventListener |
getManager
public Manager getManager(Class managerClass)
- Return the concrete instance of the manager for the specified abstract
manager name.
Supported API: false
- Parameters:
managerClass
-
- Returns:
- Manager
hasManager
public boolean hasManager(Class aClass)
- Indicate whether an instance of the passed class is available.
Supported API: false
- Parameters:
aClass
-
- Returns:
- boolean
getManager
public Manager getManager(Class aClass,
Object managedObject)
- Return the concrete instance of the manager for the specified abstract
manager name.
Supported API: false
- Parameters:
aClass
- managedObject
-
- Returns:
- Manager
hasManager
public boolean hasManager(Class aClass,
Object managedObject)
- Indicate whether an instance of the passed class is available.
Supported API: false
- Parameters:
aClass
- managedObject
-
- Returns:
- boolean