Package org.jboss.arquillian.container.spi.context

Examples of org.jboss.arquillian.container.spi.context.DeploymentContext.deactivate()


         context.proceed();
      }
      finally
      {
         deploymentContext.deactivate();
      }
   }
}
View Full Code Here


      }
      finally
      {
         if(contextActivated)
         {
            context.deactivate();
         }
      }
   }

   private Object runInContainerContext(TargetDescription targetDescription, ArquillianResource resource, Annotation... qualifiers)
View Full Code Here

      DeploymentContext deploymentContext = getManager().getContext(DeploymentContext.class);
      try
      {
         deploymentContext.activate(deploymentX);
         deploymentContext.getObjectStore().add(contextualType, innerType);
         deploymentContext.deactivate();

         /*
          *  deploymentZ is left active and should be handled as 'current'.
          *  The test is to see if the Enricher with Qualifier can activate/deactive and read from X
          */
 
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.