Package org.gatein.wci

Examples of org.gatein.wci.ServletContainerFactory


         startProducer();
         startConsumers();

         // listen for web app events so that we can inject services into WSRP admin UI "cleanly"
         // todo: this service injection should really be done using CDI... :/
         ServletContainerFactory factory = DefaultServletContainerFactory.getInstance();
         ServletContainer servletContainer = factory.getServletContainer();
         servletContainer.addWebAppListener(this);

         log.info("WSRP Service version '" + WSRPConstants.WSRP_SERVICE_VERSION + "' started");
      }
   }
View Full Code Here


   public void stop()
   {
      if (!bypass)
      {
         // stop listening to web app events
         ServletContainerFactory factory = DefaultServletContainerFactory.getInstance();
         ServletContainer servletContainer = factory.getServletContainer();
         servletContainer.removeWebAppListener(this);

         stopProducer();
         stopConsumers();
      }
View Full Code Here

TOP

Related Classes of org.gatein.wci.ServletContainerFactory

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.