|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Controller
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 |
---|
void install(ControllerContext context) throws Throwable
context
- the context
Throwable
- for any errorvoid change(ControllerContext context, ControllerState state) throws Throwable
context
- the contextstate
- the state
Throwable
- for any errorvoid enableOnDemand(ControllerContext context) throws Throwable
context
- the context
Throwable
- for any errorControllerContext uninstall(Object name)
name
- the name of the component
ControllerContext getContext(Object name, ControllerState state)
name
- the name of the componentstate
- the state (pass null for any state)
ControllerContext getInstalledContext(Object name)
name
- the name of the component
Set getNotInstalled()
void addState(ControllerState state, ControllerState before)
state
- the state to addbefore
- the state to add before or null to add to the endList getStates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |