org.jboss.dependency.plugins
Class ScopedAliasControllerContext

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.dependency.plugins.AbstractControllerContext
          extended by org.jboss.dependency.plugins.AbstractAliasControllerContext
              extended by org.jboss.dependency.plugins.ScopedAliasControllerContext
All Implemented Interfaces:
Cloneable, AliasControllerContext, ControllerContext, org.jboss.util.JBossInterface

public class ScopedAliasControllerContext
extends AbstractAliasControllerContext

Scoped alias controller context.

Author:
Ales Justin

Field Summary
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Method Summary
static void addAlias(Object alias, Object original, org.jboss.metadata.spi.scope.ScopeKey scopeKey, Controller controller)
          Add scoped alias.
static void removeAlias(Object alias, org.jboss.metadata.spi.scope.ScopeKey scopeKey, Controller controller)
          Remove alias.
 
Methods inherited from class org.jboss.dependency.plugins.AbstractAliasControllerContext
getAlias, getOriginal, toShortString, toString
 
Methods inherited from class org.jboss.dependency.plugins.AbstractControllerContext
getAliases, getController, getDependencyInfo, getError, getErrorHandlingMode, getMode, getName, getRequiredState, getScopeInfo, getState, getTarget, initScopeInfo, install, needsAnAlias, setAliases, setController, setError, setErrorHandlingMode, setMode, setName, setRequiredState, setScopeInfo, setState, setTarget, 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.dependency.spi.ControllerContext
getAliases, getController, getDependencyInfo, getError, getErrorHandlingMode, getMode, getName, getRequiredState, getScopeInfo, getState, getTarget, install, setController, setError, setMode, setRequiredState, setState, uninstall
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString
 

Method Detail

addAlias

public static void addAlias(Object alias,
                            Object original,
                            org.jboss.metadata.spi.scope.ScopeKey scopeKey,
                            Controller controller)
                     throws Throwable
Add scoped alias.

Parameters:
alias - the alias
original - the original
scopeKey - the scope key
controller - the controller
Throws:
Throwable - for any error

removeAlias

public static void removeAlias(Object alias,
                               org.jboss.metadata.spi.scope.ScopeKey scopeKey,
                               Controller controller)
Remove alias.

Parameters:
alias - the alias
scopeKey - the scope key
controller - the controller


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.