Package org.jboss.dependency.spi

Examples of org.jboss.dependency.spi.Controller.addAlias()


            Controller controller = context.getController();
            if (addAlias)
            {
               try
               {
                  controller.addAlias(contextName, context.getName());
               }
               catch (Throwable t)
               {
                  throw new RuntimeException("Error adding deployment alias " + contextName + " to " + context, t);
               }
View Full Code Here


/* 60 */       if ((aliases != null) && (aliases.contains(alias))) {
/*    */         continue;
/*    */       }
/* 63 */       if (controller.getContext(alias + "_Alias", null) == null)
/*    */       {
/* 65 */         controller.addAlias(alias, beanMetaData.getName());
/*    */       }
/*    */       else
/*    */       {
/* 69 */         ControllerContext existingContext = controller.getContext(alias, null);
/* 70 */         if ((existingContext != null) && (existingContext != context)) {
View Full Code Here

         if (aliases == null || aliases.contains(alias) == false)
         {
            // impl detail (_Alias)
            if (controller.getContext(alias + "_Alias", null) == null)
            {
               controller.addAlias(alias, beanMetaData.getName());
            }
            else
            {
               ControllerContext existingContext = controller.getContext(alias, null);
               if (existingContext != null && existingContext != context)
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.