Package org.jboss.arquillian.container.spi.event

Examples of org.jboss.arquillian.container.spi.event.SetupContainer


         private Event<SetupContainer> event;

         @Override
         public void perform(Container container)
         {
            event.fire(new SetupContainer(container));
         }
      });
   }
View Full Code Here


         private Event<SetupContainer> event;

         @Override
         public void perform(Container container)
         {
            event.fire(new SetupContainer(container));
         }
      });
   }
View Full Code Here

      }

      log.info("Manual starting of a server instance with overridden configuration. New configuration: " +
         container.getContainerConfiguration().getContainerProperties());

      event.fire(new SetupContainer(container));
      event.fire(new StartContainer(container));
     
      for (Deployment d : managedDeployments)
      {
         if (!d.isDeployed())
View Full Code Here

      }

      log.info("Manual starting of a server instance with overridden configuration. New configuration: " +
         container.getContainerConfiguration().getContainerProperties());

      event.fire(new SetupContainer(container));
      event.fire(new StartContainer(container));
     
      for (Deployment d : managedDeployments)
      {
         if (!d.isDeployed())
View Full Code Here

      }

      log.info("Manual starting of a server instance with overridden configuration. New configuration: " +
         container.getContainerConfiguration().getContainerProperties());

      event.fire(new SetupContainer(container));
      event.fire(new StartContainer(container));
     
      for (Deployment d : managedDeployments)
      {
         if (!d.isDeployed())
View Full Code Here

                    containerConfig.getServerGroupOperationTimeoutInSeconds());
            String mode = mapMode(modeMap, serverContainer.getName());
            if(mode != null) {
                serverContainer.getContainerConfiguration().setMode(mode);
            }
            setupEvent.fire(new SetupContainer(serverContainer));
            serverContainer.setState(Container.State.STARTED);
        }

        // Register all Servers
        for (Server server : domain.getServers()) {
            Container serverContainer = createServerContainer(registry, server, containerConfig.getServerOperationTimeoutInSeconds());
            String mode = mapMode(modeMap, serverContainer.getName());
            if(mode != null) {
                serverContainer.getContainerConfiguration().setMode(mode);
            }
            String serverStatus = managementClient.getServerState(server);

            setupEvent.fire(new SetupContainer(serverContainer));
            if (serverStatus.equals("STARTED")) {
                serverContainer.setState(Container.State.STARTED);
            } else {
                serverContainer.setState(Container.State.STOPPED);
            }
View Full Code Here

  
   private Utils() { }
  
   public static void setup(Manager manager, Container container) throws LifecycleException
   {
      manager.fire(new SetupContainer(container));
   }
View Full Code Here

         private Event<SetupContainer> event;

         @Override
         public void perform(Container container)
         {
            event.fire(new SetupContainer(container));
         }
      });
   }
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.container.spi.event.SetupContainer

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.