|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.kernel.plugins.registry.AbstractKernelRegistryEntry
public class AbstractKernelRegistryEntry
Abstract Kernel registry entry.
Field Summary | |
---|---|
protected Object |
name
The name |
protected Object |
target
The target |
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Constructor Summary | |
---|---|
AbstractKernelRegistryEntry(Object target)
Create an abstract kernel registry entry |
|
AbstractKernelRegistryEntry(Object name,
Object target)
Create an abstract kernel registry entry |
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 |
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 |
Field Detail |
---|
protected Object name
protected Object target
Constructor Detail |
---|
public AbstractKernelRegistryEntry(Object target)
target
- any target objectpublic AbstractKernelRegistryEntry(Object name, Object target)
name
- the nametarget
- any target objectMethod Detail |
---|
public Object getName()
KernelRegistryEntry
getName
in interface ControllerContext
getName
in interface KernelRegistryEntry
public void setName(Object name)
KernelRegistryEntry
setName
in interface KernelRegistryEntry
name
- the namepublic Object getTarget()
KernelRegistryEntry
getTarget
in interface ControllerContext
getTarget
in interface KernelRegistryEntry
public Controller getController()
ControllerContext
getController
in interface ControllerContext
public DependencyInfo getDependencyInfo()
ControllerContext
getDependencyInfo
in interface ControllerContext
public Throwable getError()
ControllerContext
getError
in interface ControllerContext
public ControllerState getState()
ControllerContext
getState
in interface ControllerContext
public ControllerState getRequiredState()
ControllerContext
getRequiredState
in interface ControllerContext
public void setRequiredState(ControllerState state)
ControllerContext
setRequiredState
in interface ControllerContext
state
- the required statepublic ControllerMode getMode()
ControllerContext
getMode
in interface ControllerContext
public void setMode(ControllerMode mode)
ControllerContext
setMode
in interface ControllerContext
mode
- the modepublic void install(ControllerState fromState, ControllerState toState) throws Throwable
ControllerContext
install
in interface ControllerContext
fromState
- the old statetoState
- the new state
Throwable
- for any errorpublic void setController(Controller controller)
ControllerContext
setController
in interface ControllerContext
controller
- the controllerpublic void setError(Throwable error)
ControllerContext
setError
in interface ControllerContext
error
- the errorpublic void uninstall(ControllerState fromState, ControllerState toState)
ControllerContext
uninstall
in interface ControllerContext
fromState
- the old statetoState
- the new statepublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class org.jboss.util.JBossObject
public void toShortString(org.jboss.util.JBossStringBuilder buffer)
toShortString
in interface org.jboss.util.JBossInterface
toShortString
in class org.jboss.util.JBossObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |