|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A controller.
The controller is the core component for keeping track of contexts to make sure the configuration and lifecycle are done in the correct order including dependencies and classloading considerations.
Method Summary | |
void |
addState(ControllerState state,
ControllerState before)
Add a state. |
void |
change(ControllerContext context,
ControllerState state)
Change a context to the given state |
void |
enableOnDemand(ControllerContext context)
Enable an on demand context |
ControllerContext |
getContext(Object name,
ControllerState state)
Get a context |
ControllerContext |
getInstalledContext(Object name)
Get an installed context |
Set |
getNotInstalled()
Get the contexts not installed |
List |
getStates()
Get the states. |
void |
install(ControllerContext context)
Install a context |
ControllerContext |
uninstall(Object name)
Uninstall a context |
Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString, toShortString |
Method Detail |
public void install(ControllerContext context) throws Throwable
context
- the context
Throwable
- for any errorpublic void change(ControllerContext context, ControllerState state) throws Throwable
context
- the contextstate
- the state
Throwable
- for any errorpublic void enableOnDemand(ControllerContext context) throws Throwable
context
- the context
Throwable
- for any errorpublic ControllerContext uninstall(Object name)
name
- the name of the component
public ControllerContext getContext(Object name, ControllerState state)
name
- the name of the componentstate
- the state (pass null for any state)
public ControllerContext getInstalledContext(Object name)
name
- the name of the component
public Set getNotInstalled()
public void addState(ControllerState state, ControllerState before)
state
- the state to addbefore
- the state to add before or null to add to the endpublic List getStates()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |