Package org.jboss.bootstrap.impl.as.lifecycle

Examples of org.jboss.bootstrap.impl.as.lifecycle.KernelStartEventLifecycleEventHandler


      final LifecycleEventHandler initVfsHandler = new VfsInitializingLifecycleEventHandler();
      this.registerEventHandler(initVfsHandler, LifecycleState.INITIALIZED);

      // Create and Register handlers
      final BasicBootstrap bootstrap = this.getBootstrap();
      final LifecycleEventHandler startHandler = new KernelStartEventLifecycleEventHandler(bootstrap);
      final LifecycleEventHandler stopHandler = new KernelStopEventLifecycleEventHandler(bootstrap);
      this.registerEventHandler(startHandler, LifecycleState.STARTED);
      this.registerEventHandler(stopHandler, LifecycleState.STOPPING);

      // Log the server info
View Full Code Here


      // Set up the bootstrap descriptors
      this.setupBootstrapDescriptorsFromBootstrapUrl();

      // Create and Register handlers
      final LifecycleEventHandler startHandler = new KernelStartEventLifecycleEventHandler(this);
      final LifecycleEventHandler stopHandler = new KernelStopEventLifecycleEventHandler(this);
      this.registerEventHandler(startHandler, LifecycleState.STARTED);
      this.registerEventHandler(stopHandler, LifecycleState.STOPPING);

      // Log the server info
View Full Code Here

TOP

Related Classes of org.jboss.bootstrap.impl.as.lifecycle.KernelStartEventLifecycleEventHandler

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.