|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.dependency.plugins.AbstractControllerContext
public class AbstractControllerContext
A ControllerContext.
| Field Summary |
|---|
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
AbstractControllerContext(Object name,
ControllerContextActions actions)
Create a new AbstractControllerContext. |
|
AbstractControllerContext(Object name,
ControllerContextActions actions,
DependencyInfo dependencies)
Create a new AbstractControllerContext. |
|
AbstractControllerContext(Object name,
ControllerContextActions actions,
DependencyInfo dependencies,
Object target)
Create a new AbstractControllerContext. |
|
AbstractControllerContext(Object name,
Object target)
Create a new AbstractControllerContext. |
|
| Method Summary | |
|---|---|
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 |
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 |
setName(Object name)
Set the name |
void |
setRequiredState(ControllerState state)
Set the required state |
void |
setTarget(Object target)
Set the target |
void |
toShortString(org.jboss.util.JBossStringBuilder buffer)
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
void |
uninstall(ControllerState fromState,
ControllerState toState)
Uninstall |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString |
| Constructor Detail |
|---|
public AbstractControllerContext(Object name,
ControllerContextActions actions)
name - the nameactions - the actions
public AbstractControllerContext(Object name,
ControllerContextActions actions,
DependencyInfo dependencies)
name - the nameactions - the actionsdependencies - the dependencies
public AbstractControllerContext(Object name,
ControllerContextActions actions,
DependencyInfo dependencies,
Object target)
name - the nameactions - the actionsdependencies - the dependenciestarget - the target
public AbstractControllerContext(Object name,
Object target)
name - the nametarget - the target| Method Detail |
|---|
public Object getName()
ControllerContext
getName in interface ControllerContextpublic void setName(Object name)
name - the namepublic ControllerState getState()
ControllerContext
getState in interface ControllerContextpublic ControllerState getRequiredState()
ControllerContext
getRequiredState in interface ControllerContextpublic void setRequiredState(ControllerState state)
ControllerContext
setRequiredState in interface ControllerContextstate - the required statepublic ControllerMode getMode()
ControllerContext
getMode in interface ControllerContextpublic void setMode(ControllerMode mode)
ControllerContext
setMode in interface ControllerContextmode - the modepublic Controller getController()
getController in interface ControllerContextpublic void setController(Controller controller)
ControllerContext
setController in interface ControllerContextcontroller - the controllerpublic DependencyInfo getDependencyInfo()
ControllerContext
getDependencyInfo in interface ControllerContextpublic Object getTarget()
ControllerContext
getTarget in interface ControllerContextpublic void setTarget(Object target)
target - the targetpublic Throwable getError()
ControllerContext
getError in interface ControllerContextpublic void setError(Throwable error)
ControllerContext
setError in interface ControllerContexterror - the error
public void install(ControllerState fromState,
ControllerState toState)
throws Throwable
ControllerContext
install in interface ControllerContextfromState - the old statetoState - the new state
Throwable - for any error
public void uninstall(ControllerState fromState,
ControllerState toState)
ControllerContext
uninstall in interface ControllerContextfromState - the old statetoState - the new statepublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectpublic void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString in interface org.jboss.util.JBossInterfacetoShortString in class org.jboss.util.JBossObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||