[gatein-commits] gatein SVN: r801 - portal/trunk/component/pc/src/main/java/org/exoplatform/portal/pc.

do-not-reply at jboss.org do-not-reply at jboss.org
Wed Nov 25 10:54:36 EST 2009


Author: julien_viet
Date: 2009-11-25 10:54:36 -0500 (Wed, 25 Nov 2009)
New Revision: 801

Modified:
   portal/trunk/component/pc/src/main/java/org/exoplatform/portal/pc/ExoKernelIntegration.java
Log:
fix what I broke

Modified: portal/trunk/component/pc/src/main/java/org/exoplatform/portal/pc/ExoKernelIntegration.java
===================================================================
--- portal/trunk/component/pc/src/main/java/org/exoplatform/portal/pc/ExoKernelIntegration.java	2009-11-25 15:54:22 UTC (rev 800)
+++ portal/trunk/component/pc/src/main/java/org/exoplatform/portal/pc/ExoKernelIntegration.java	2009-11-25 15:54:36 UTC (rev 801)
@@ -21,6 +21,7 @@
 
 import org.exoplatform.container.ExoContainer;
 import org.exoplatform.container.ExoContainerContext;
+import org.exoplatform.services.resources.ResourceBundleService;
 import org.gatein.pc.api.PortletInvoker;
 import org.gatein.pc.bridge.BridgeInterceptor;
 import org.gatein.pc.federation.FederatingPortletInvoker;
@@ -57,13 +58,20 @@
    /** Exo Context */
    private final ExoContainer container;
 
+   /** DO NOT REMOVE ME, OTHERWISE YOU'LL BREAK THINGS. */
+   private final ResourceBundleService resourceBundleService;
+
    /**
     * We enforce the dependency with the ResourceBundleService since it must be stared before the
     * <code>portletApplicationRegistry</code>
+    *
+    * @param context the exo container context
+    * @param resourceBundleService the resource bundle service that is here for the sake of creating a dependency
     */
-   public ExoKernelIntegration(ExoContainerContext context)
+   public ExoKernelIntegration(ExoContainerContext context, ResourceBundleService resourceBundleService)
    {
       this.container = context.getContainer();
+      this.resourceBundleService = resourceBundleService;
    }
 
    public void start()



More information about the gatein-commits mailing list