|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ControllerContext
Information about a context.
| Method Summary | |
|---|---|
Set<Object> |
getAliases()
The aliases |
Controller |
getController()
Get the controller |
DependencyInfo |
getDependencyInfo()
Get the dependency information |
Throwable |
getError()
Get the error |
ControllerMode |
getMode()
Get the mode |
Object |
getName()
Get the name |
ControllerState |
getRequiredState()
Get the required state |
ScopeInfo |
getScopeInfo()
Get the scope information |
ControllerState |
getState()
Get the state |
Object |
getTarget()
Get any target |
void |
install(ControllerState fromState,
ControllerState toState)
Install |
void |
setController(Controller controller)
Set the controller |
void |
setError(Throwable error)
Set the error |
void |
setMode(ControllerMode mode)
Set the mode |
void |
setRequiredState(ControllerState state)
Set the required state |
void |
setState(ControllerState state)
Set the state |
void |
uninstall(ControllerState fromState,
ControllerState toState)
Uninstall |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString, toShortString |
| Method Detail |
|---|
Object getName()
Set<Object> getAliases()
DependencyInfo getDependencyInfo()
ScopeInfo getScopeInfo()
Object getTarget()
Controller getController()
void setController(Controller controller)
controller - the controller
void install(ControllerState fromState,
ControllerState toState)
throws Throwable
fromState - the old statetoState - the new state
Throwable - for any error
void uninstall(ControllerState fromState,
ControllerState toState)
fromState - the old statetoState - the new stateControllerState getState()
void setState(ControllerState state)
state - the stateControllerState getRequiredState()
void setRequiredState(ControllerState state)
state - the required stateControllerMode getMode()
void setMode(ControllerMode mode)
mode - the modeThrowable getError()
void setError(Throwable error)
error - the error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||