You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by dl...@apache.org on 2004/06/05 18:18:38 UTC
cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager PortletDescriptorUtilities.java
dlestrat 2004/06/05 09:18:38
Modified: portal/src/java/org/apache/jetspeed/tools/pamanager
PortletDescriptorUtilities.java
Log:
Clean up. See http://nagoya.apache.org/jira/browse/JS2-65
Revision Changes Path
1.11 +1 -13 jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletDescriptorUtilities.java
Index: PortletDescriptorUtilities.java
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/tools/pamanager/PortletDescriptorUtilities.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- PortletDescriptorUtilities.java 11 May 2004 15:23:57 -0000 1.10
+++ PortletDescriptorUtilities.java 5 Jun 2004 16:18:38 -0000 1.11
@@ -38,12 +38,10 @@
import org.apache.jetspeed.om.portlet.impl.PortletApplicationDefinitionImpl;
import org.apache.jetspeed.om.portlet.impl.PortletDefinitionImpl;
import org.apache.jetspeed.om.preference.impl.DefaultPreferenceImpl;
-import org.apache.jetspeed.tools.castor.om.common.portlet.PortletDefinitionDescriptor;
import org.apache.pluto.om.common.SecurityRoleRef;
import org.apache.pluto.om.common.SecurityRoleRefSet;
import org.apache.pluto.om.common.SecurityRoleSet;
import org.apache.pluto.om.portlet.PortletDefinition;
-import org.apache.pluto.om.portlet.PortletDefinitionList;
import org.exolab.castor.mapping.Mapping;
import org.exolab.castor.xml.Unmarshaller;
import org.xml.sax.InputSource;
@@ -90,16 +88,6 @@
// application Name if it was not defined
app.setName(appName);
-
- // More post-processing comes here
- PortletDefinitionList portletsList = app.getPortletDefinitionList();
- Iterator it = portletsList.iterator();
- int count = 0;
- while (it.hasNext())
- {
- PortletDefinitionDescriptor portlet = (PortletDefinitionDescriptor) it.next();
- portlet.postLoad(null);
- }
return app;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org