Package org.exoplatform.container.RootContainer

Examples of org.exoplatform.container.RootContainer.PortalContainerPostInitTask


    * 3) Broadcast the CONTEXT_INITIALIZED event
    * 4) Flush the {@link ThreadLocal} for the PortalContainer
    */
   public void contextInitialized(final ServletContextEvent event)
   {
      final PortalContainerPostInitTask task = new PortalContainerPostInitTask()
      {
         public void execute(ServletContext scontext, PortalContainer portalContainer)
         {
            try
            {
View Full Code Here


               }
               catch (Exception ex)
               {
                  // ignore me
               }
               final PortalContainerPostInitTask task = new PortalContainerPostInitTask()
               {

                  public void execute(ServletContext scontext, PortalContainer portalContainer)
                  {
                     register(scontext, portalContainer);
View Full Code Here

               }
               catch (Exception ex)
               {
                  // ignore me
               }
               final PortalContainerPostInitTask task = new PortalContainerPostInitTask()
               {

                  public void execute(ServletContext scontext, PortalContainer portalContainer)
                  {
                     register(scontext, portalContainer);
View Full Code Here

      }
   }

   public void contextDestroyed(ServletContextEvent event)
   {
      final PortalContainerPostInitTask task = new PortalContainerPostInitTask()
      {

         public void execute(ServletContext context, PortalContainer portalContainer)
         {
            portalContainer.unregisterContext(context);
View Full Code Here

            /* Also parse both before creating the PortalContainerPostInitTask */
            final ScriptResources scriptResources = new JavascriptConfigParser(scontext, document).parse();
            final List<SkinConfigTask> skinTasks = SkinConfigParser.parse(document);

            /* No exceptions at this point */
            final PortalContainerPostInitTask task = new PortalContainerPostInitTask() {
                public void execute(ServletContext scontext, PortalContainer portalContainer) {

                    try {

                        if (!scriptResources.isEmpty()) {
View Full Code Here

    * 3) Broadcast the CONTEXT_INITIALIZED event
    * 4) Flush the {@link ThreadLocal} for the PortalContainer
    */
   public void contextInitialized(final ServletContextEvent event)
   {
      final PortalContainerPostInitTask task = new PortalContainerPostInitTask()
      {
         public void execute(ServletContext scontext, PortalContainer portalContainer)
         {
            try
            {
View Full Code Here

      }
   }

   public void contextDestroyed(ServletContextEvent event)
   {
      final PortalContainerPostInitTask task = new PortalContainerPostInitTask()
      {

         public void execute(ServletContext context, PortalContainer portalContainer)
         {
            portalContainer.unregisterContext(context);
View Full Code Here

            return;
         }
        
         Safe.close(is);

         final PortalContainerPostInitTask task = new PortalContainerPostInitTask()
         {

            public void execute(ServletContext scontext, PortalContainer portalContainer)
            {
               register(scontext, portalContainer);
View Full Code Here

            {
               scontext = event.getWebApp().getServletContext();
               is = scontext.getResourceAsStream(GATEIN_CONFIG_RESOURCE);
               if (is != null)
               {
                  final PortalContainerPostInitTask task = new PortalContainerPostInitTask()
                  {
                     public void execute(ServletContext scontext, PortalContainer portalContainer)
                     {
                        register(scontext, portalContainer);
                        skinService.registerContext(event.getWebApp());
View Full Code Here

                return;
            }

            Safe.close(is);

            final PortalContainerPostInitTask task = new PortalContainerPostInitTask() {

                public void execute(ServletContext scontext, PortalContainer portalContainer) {
                    register(scontext, portalContainer);
                    javascriptService.registerContext(webApp);
                }
View Full Code Here

TOP

Related Classes of org.exoplatform.container.RootContainer.PortalContainerPostInitTask

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.