[gatein-commits] gatein SVN: r1636 - in portal/trunk/web/portal/src/main/webapp/WEB-INF/conf: portal and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Thu Feb 11 08:26:49 EST 2010


Author: julien_viet
Date: 2010-02-11 08:26:48 -0500 (Thu, 11 Feb 2010)
New Revision: 1636

Modified:
   portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/organization/organization-configuration.xml
   portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml
Log:
move the user and group listener creation in the portal-configuration.xml as external component plugins


Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/organization/organization-configuration.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/organization/organization-configuration.xml	2010-02-11 13:10:22 UTC (rev 1635)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/organization/organization-configuration.xml	2010-02-11 13:26:48 UTC (rev 1636)
@@ -299,18 +299,6 @@
       </init-params>
     </component-plugin>
 
-    <component-plugin> 
-      <name>user.portal.config.listener</name>
-      <set-method>addListenerPlugin</set-method>
-      <type>org.exoplatform.portal.config.UserPortalConfigListener</type>
-    </component-plugin>
-    
-    <component-plugin> 
-      <name>group.portal.config.listener</name>
-      <set-method>addListenerPlugin</set-method>
-      <type>org.exoplatform.portal.config.GroupPortalConfigListener</type>
-    </component-plugin>
-
 <!--
 	  <component-plugin>
 	    <name>ecm.new.user.event.listener</name>

Modified: portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml
===================================================================
--- portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml	2010-02-11 13:10:22 UTC (rev 1635)
+++ portal/trunk/web/portal/src/main/webapp/WEB-INF/conf/portal/portal-configuration.xml	2010-02-11 13:26:48 UTC (rev 1636)
@@ -192,9 +192,23 @@
 	      </init-params>
 	    </component-plugin>
   	</component-plugins>  
-  </component>     
+  </component>
 
   <external-component-plugins>
+    <target-component>org.exoplatform.services.organization.OrganizationService</target-component>
+    <component-plugin>
+      <name>user.portal.config.listener</name>
+      <set-method>addListenerPlugin</set-method>
+      <type>org.exoplatform.portal.config.UserPortalConfigListener</type>
+    </component-plugin>
+    <component-plugin>
+      <name>group.portal.config.listener</name>
+      <set-method>addListenerPlugin</set-method>
+      <type>org.exoplatform.portal.config.GroupPortalConfigListener</type>
+    </component-plugin>
+  </external-component-plugins>
+
+  <external-component-plugins>
     <target-component>org.exoplatform.commons.chromattic.ChromatticManager</target-component>
     <component-plugin>
       <name>chromattic</name>



More information about the gatein-commits mailing list