Examples of ControllerContext


Examples of org.jboss.dependency.spi.ControllerContext

   public void testPlainLifecycleDependencyWrongOrder() throws Throwable
   {
      plainLifecycleDependencyWrongOrder();
     
      ControllerContext context2 = assertInstall(1, "Name2", ControllerState.CONFIGURED);
      ControllerContext context1 = assertInstall(0, "Name1");
      assertEquals(ControllerState.INSTALLED, context2.getState());
     
      SimpleBeanWithLifecycle bean1 = (SimpleBeanWithLifecycle) context1.getTarget();
      assertNotNull(bean1);
     
      SimpleBeanWithLifecycle bean2 = (SimpleBeanWithLifecycle) context2.getTarget();
      assertNotNull(bean2);
     
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.