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

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Oct 30 00:05:23 EDT 2009


Author: hoang_to
Date: 2009-10-30 00:05:22 -0400 (Fri, 30 Oct 2009)
New Revision: 449

Added:
   portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/AbstractResourceHandler.java
Removed:
   portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/AbstractSkinConfigDeployer.java
Modified:
   portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/GateinSkinConfigDeployer.java
   portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/SkinConfigDeployer.java
   portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/SkinService.java
Log:
GTNPORTAL-131: Javascript deployment

Added: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/AbstractResourceHandler.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/AbstractResourceHandler.java	                        (rev 0)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/AbstractResourceHandler.java	2009-10-30 04:05:22 UTC (rev 449)
@@ -0,0 +1,38 @@
+/**
+ * Copyright (C) 2009 eXo Platform SAS.
+ * 
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ * 
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ * 
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+
+package org.exoplatform.portal.skin;
+
+import org.gatein.wci.WebAppEvent;
+import org.gatein.wci.WebAppListener;
+
+/**
+ * 
+ * Created by eXoPlatform SAS
+ *
+ * Author: Minh Hoang TO - hoang281283 at gmail.com
+ *
+ *      Sep 16, 2009
+ */
+public abstract class AbstractResourceHandler implements WebAppListener
+{
+
+   abstract public void onEvent(WebAppEvent event);
+
+}
\ No newline at end of file

Deleted: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/AbstractSkinConfigDeployer.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/AbstractSkinConfigDeployer.java	2009-10-30 03:49:30 UTC (rev 448)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/AbstractSkinConfigDeployer.java	2009-10-30 04:05:22 UTC (rev 449)
@@ -1,38 +0,0 @@
-/**
- * Copyright (C) 2009 eXo Platform SAS.
- * 
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- * 
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- * 
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.exoplatform.portal.skin;
-
-import org.gatein.wci.WebAppEvent;
-import org.gatein.wci.WebAppListener;
-
-/**
- * 
- * Created by eXoPlatform SAS
- *
- * Author: Minh Hoang TO - hoang281283 at gmail.com
- *
- *      Sep 16, 2009
- */
-public abstract class AbstractSkinConfigDeployer implements WebAppListener
-{
-
-   abstract public void onEvent(WebAppEvent event);
-
-}
\ No newline at end of file

Modified: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/GateinSkinConfigDeployer.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/GateinSkinConfigDeployer.java	2009-10-30 03:49:30 UTC (rev 448)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/GateinSkinConfigDeployer.java	2009-10-30 04:05:22 UTC (rev 449)
@@ -40,7 +40,7 @@
  *
  *      Sep 16, 2009
  */
-public class GateinSkinConfigDeployer extends AbstractSkinConfigDeployer
+public class GateinSkinConfigDeployer extends AbstractResourceHandler
 {
 
    private final SkinService skinService;

Modified: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/SkinConfigDeployer.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/SkinConfigDeployer.java	2009-10-30 03:49:30 UTC (rev 448)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/SkinConfigDeployer.java	2009-10-30 04:05:22 UTC (rev 449)
@@ -39,7 +39,7 @@
  * Jan 19, 2007
  */
 
-public class SkinConfigDeployer extends AbstractSkinConfigDeployer
+public class SkinConfigDeployer extends AbstractResourceHandler
 {
 
    /**

Modified: portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/SkinService.java
===================================================================
--- portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/SkinService.java	2009-10-30 03:49:30 UTC (rev 448)
+++ portal/trunk/component/portal/src/main/java/org/exoplatform/portal/skin/SkinService.java	2009-10-30 04:05:22 UTC (rev 449)
@@ -96,7 +96,7 @@
    private static final int ONE_HOUR = 3600;
 
    /** The deployer. */
-   private final AbstractSkinConfigDeployer deployer;
+   private final AbstractResourceHandler deployer;
 
    private final Map<SkinKey, SkinConfig> portalSkins_;
 



More information about the gatein-commits mailing list