|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagerLocator
Defines the boundary API for accessing managers for use by the current
application. Any implementation of the Project Darkstar API should
provide a single implementation of this interface that is to be
used by the InternalContext
to locate managers in the system.
AppContext
,
InternalContext.setManagerLocator
Method Summary | ||
---|---|---|
ChannelManager |
getChannelManager()
Returns the ChannelManager for use by the current
application. |
|
DataManager |
getDataManager()
Returns the DataManager for use by the current application. |
|
|
getManager(Class<T> type)
Returns a manager of the specified type for use by the current application. |
|
TaskManager |
getTaskManager()
Returns the TaskManager for use by the current application. |
Method Detail |
---|
ChannelManager getChannelManager()
ChannelManager
for use by the current
application.
ChannelManager
for the current application
ManagerNotFoundException
- if the ChannelManager
cannot
be locatedDataManager getDataManager()
DataManager
for use by the current application.
DataManager
for the current application
ManagerNotFoundException
- if the DataManager
cannot
be locatedTaskManager getTaskManager()
TaskManager
for use by the current application.
TaskManager
for the current application
ManagerNotFoundException
- if the TaskManager
cannot
be located<T> T getManager(Class<T> type)
T
- the type of the managertype
- a class representing the type of the manager
ManagerNotFoundException
- if no manager is found for the
specified type
|
Project Darkstar, Version 0.9.9.6 2009-05-08 15:39:40 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |