Package org.jboss.dependency.spi

Examples of org.jboss.dependency.spi.ControllerContextActions


   }

   public void addAlias(Object alias, Object original) throws Throwable
   {
      Map<ControllerState, ControllerContextAction> map = createAliasActions();
      ControllerContextActions actions = new AbstractControllerContextActions(map);
      AliasControllerContext context = new InnerAliasControllerContext(alias, original, actions);
      preAliasInstall(context);
      install(context);
      // is alias in error
      Throwable error = context.getError();
View Full Code Here


   public void addAlias(Object alias, Object original) throws Throwable
   {
      Map<ControllerState, ControllerContextAction> map = new HashMap<ControllerState, ControllerContextAction>();
      map.put(ControllerState.INSTALLED, new AliasControllerContextAction());
      ControllerContextActions actions = new AbstractControllerContextActions(map);
      install(new AliasControllerContext(alias, original, actions));
   }
View Full Code Here

   }

   public void addAlias(Object alias, Object original) throws Throwable
   {
      Map<ControllerState, ControllerContextAction> map = createAliasActions();
      ControllerContextActions actions = new AbstractControllerContextActions(map);
      AliasControllerContext context = new InnerAliasControllerContext(alias, getId(), original, actions);
      preAliasInstall(context);
      install(context);
      // is alias in error
      Throwable error = context.getError();
View Full Code Here

   }

   public void addAlias(Object alias, Object original) throws Throwable
   {
      Map<ControllerState, ControllerContextAction> map = createAliasActions();
      ControllerContextActions actions = new AbstractControllerContextActions(map);
      AliasControllerContext context = new InnerAliasControllerContext(alias, original, actions);
      preAliasInstall(context);
      install(context);
      // is alias in error
      Throwable error = context.getError();
View Full Code Here

   public void addAlias(Object alias, Object original) throws Throwable
   {
      Map<ControllerState, ControllerContextAction> map = new HashMap<ControllerState, ControllerContextAction>();
      map.put(ControllerState.INSTALLED, new AliasControllerContextAction());
      ControllerContextActions actions = new AbstractControllerContextActions(map);
      install(new AliasControllerContext(alias, original, actions));
   }
View Full Code Here

/*      */
/*      */   public void addAlias(Object alias, Object original) throws Throwable
/*      */   {
/*  431 */     Map map = new HashMap();
/*  432 */     map.put(ControllerState.INSTALLED, new AliasControllerContextAction(null));
/*  433 */     ControllerContextActions actions = new AbstractControllerContextActions(map);
/*  434 */     install(new AliasControllerContext(alias, original, actions));
/*      */   }
View Full Code Here

      if (controller instanceof AbstractController == false)
         throw new IllegalArgumentException("Can only handle AbstractController.");

      AbstractController ac = (AbstractController)controller;
      Map<ControllerState, ControllerContextAction> map = ac.createAliasActions();
      ControllerContextActions actions = new AbstractControllerContextActions(map);
      controller.install(new ScopedAliasControllerContext(alias, original, scopeKey, actions));
   }
View Full Code Here

   }

   public void addAlias(Object alias, Object original) throws Throwable
   {
      Map<ControllerState, ControllerContextAction> map = createAliasActions();
      ControllerContextActions actions = new AbstractControllerContextActions(map);
      AliasControllerContext context = new InnerAliasControllerContext(alias, original, actions);
      preAliasInstall(context);
      install(context);
      // is alias in error
      Throwable error = context.getError();
View Full Code Here

TOP

Related Classes of org.jboss.dependency.spi.ControllerContextActions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.