Package org.gatein.wci

Examples of org.gatein.wci.WebAppLifeCycleEvent


   public void onEvent(WebAppEvent event)
   {
      if (event instanceof WebAppLifeCycleEvent)
      {
         WebAppLifeCycleEvent lifeCycleEvent = (WebAppLifeCycleEvent)event;
         ServletContext servletContext = lifeCycleEvent.getWebApp().getServletContext();
         switch (lifeCycleEvent.getType())
         {
            case WebAppLifeCycleEvent.ADDED:
               add(servletContext);
               break;
            case WebAppLifeCycleEvent.REMOVED:
View Full Code Here


   @Override
   public void onEvent(WebAppEvent event)
   {
      if (event instanceof WebAppLifeCycleEvent)
      {
         WebAppLifeCycleEvent waEvent = (WebAppLifeCycleEvent)event;
         if (waEvent.getType() == WebAppLifeCycleEvent.ADDED)
         {
            ServletContext scontext = null;
            InputStream is = null;
            try
            {
View Full Code Here

   public void onEvent(WebAppEvent event)
   {
      // TODO Auto-generated method stub
      if (event instanceof WebAppLifeCycleEvent)
      {
         WebAppLifeCycleEvent waEvent = (WebAppLifeCycleEvent)event;
         if (waEvent.getType() == WebAppLifeCycleEvent.REMOVED)
         {
            String webApp = event.getWebApp().getServletContext().getContextPath();
            removeWebAppSkin(webApp);
            removeContextAppSkin(event.getWebApp().getServletContext());
         }
View Full Code Here

TOP

Related Classes of org.gatein.wci.WebAppLifeCycleEvent

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.