|
||||||||||
| 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.AbstractController
org.jboss.dependency.plugins.ScopedController
public abstract class ScopedController
Scoped controller. The only scoping logic is local lookup and add/remove of controller context. Subclasses should provide parent lookup after looking at the current scoped instance.
| Field Summary |
|---|
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Constructor Summary | |
|---|---|
ScopedController()
|
|
| Method Summary | |
|---|---|
protected void |
addControllerContext(ControllerContext context)
Add controller context. |
ControllerContext |
getContextLocally(Object name,
ControllerState state)
Get the context only in this scope. |
protected Executor |
getExecutionEnvironment()
Get the executor internal w/o security check. |
org.jboss.metadata.spi.scope.ScopeKey |
getScopeKey()
Get scope key. |
protected boolean |
isScoped()
Is controller scoped. |
protected void |
preAliasInstall(ControllerContext aliasContext)
Apply pre install - e.g. |
protected void |
removeControllerContext(ControllerContext context)
Remove controller context. |
protected void |
setScopeKey(org.jboss.metadata.spi.scope.ScopeKey scopeKey)
|
protected void |
setUnderlyingController(AbstractController underlyingController)
|
protected void |
toString(org.jboss.util.JBossStringBuilder buffer)
Add scope key info to toString. |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, 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, toShortString |
| Constructor Detail |
|---|
public ScopedController()
| Method Detail |
|---|
protected Executor getExecutionEnvironment()
AbstractController
getExecutionEnvironment in class AbstractControllerpublic org.jboss.metadata.spi.scope.ScopeKey getScopeKey()
protected void setScopeKey(org.jboss.metadata.spi.scope.ScopeKey scopeKey)
protected void setUnderlyingController(AbstractController underlyingController)
protected void preAliasInstall(ControllerContext aliasContext)
AbstractController
preAliasInstall in class AbstractControlleraliasContext - the new alias context
public ControllerContext getContextLocally(Object name,
ControllerState state)
name - the context namestate - the controller state
protected boolean isScoped()
protected void addControllerContext(ControllerContext context)
AbstractController
context - the controller contextprotected void removeControllerContext(ControllerContext context)
AbstractController
context - the controller contextprotected void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectbuffer - the string buffer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||