portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdore...@apache.org
Subject svn commit: r470977 - in /portals/pluto/branches/1.1-286-COMPATIBILITY: pluto-descriptor-api/ pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/ pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/
Date Fri, 03 Nov 2006 20:26:25 GMT
Author: cdoremus
Date: Fri Nov  3 12:26:24 2006
New Revision: 470977

URL: http://svn.apache.org/viewvc?view=rev&rev=470977
Log:
Applied patch in PLUTO-266 to implement new object model for Castor. Thanks Christian.

Added:
    portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDD.java
    portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDefinitionDD.java
    portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/RenderDD.java
    portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharedRenderParamDD.java
    portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharingParamDD.java
Modified:
    portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/pom.xml
    portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletAppDD.java
    portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletDD.java
    portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml

Modified: portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/pom.xml
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/pom.xml?view=diff&rev=470977&r1=470976&r2=470977
==============================================================================
--- portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/pom.xml (original)
+++ portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/pom.xml Fri Nov  3 12:26:24
2006
@@ -1,51 +1,62 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Copyright 2005-2006 The Apache Software Foundation
-
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-  
-  <parent>
-    <groupId>org.apache.pluto</groupId>
-    <artifactId>pluto</artifactId>
-    <version>1.1.0-286-SNAPSHOT</version>
-  </parent>
-  
-  <modelVersion>4.0.0</modelVersion>
-  <artifactId>pluto-descriptor-api</artifactId>
-  <packaging>jar</packaging>
-  <name>Pluto Descriptor Service API</name>
-  
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>${junit.version}</version>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-  
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-site-plugin</artifactId>
-        <configuration>
-          <resourcesDirectory>${basedir}/../pluto-site/src/site/resources</resourcesDirectory>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2005-2006 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  
+  <parent>
+    <groupId>org.apache.pluto</groupId>
+    <artifactId>pluto</artifactId>
+    <version>1.1.0-286-SNAPSHOT</version>
+  </parent>
+  
+  <modelVersion>4.0.0</modelVersion>
+  <artifactId>pluto-descriptor-api</artifactId>
+  <packaging>jar</packaging>
+  <name>Pluto Descriptor Service API</name>
+  
+  <dependencies>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>${junit.version}</version>
+      <scope>test</scope>
+    </dependency>
+  </dependencies>
+  
+  <build>
+    <plugins>
+    	<plugin>
+    		<artifactId>maven-site-plugin</artifactId>
+    		<configuration>
+    			<resourcesDirectory>
+    				${basedir}/../pluto-site/src/site/resources
+    			</resourcesDirectory>
+    		</configuration>
+    	</plugin>
+    	<plugin>
+    		<groupId>org.apache.maven.plugins</groupId>
+    		<artifactId>maven-compiler-plugin</artifactId>
+    		<!-- best lock down version of the plugin too -->
+    		<configuration>
+    			<source>1.5</source>
+    			<target>1.5</target>
+    		</configuration>
+    	</plugin>
+    </plugins>
+  </build>
+</project>

Added: portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDD.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDD.java?view=auto&rev=470977
==============================================================================
--- portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDD.java
(added)
+++ portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDD.java
Fri Nov  3 12:26:24 2006
@@ -0,0 +1,30 @@
+package org.apache.pluto.descriptors.portlet;
+
+/**
+ * Initialization Event
+ * 
+ * @author <a href="mailto:chrisra@cs.uni-jena.de">Christian Raschka</a>
+ *
+ */
+
+public class EventDD {
+	
+	/** 
+	 * Name of the Event
+	 */
+	private String name;
+	
+	/**
+	 * @return Returns the name.
+	 */
+	public String getName() {
+		return name;
+	}
+	
+	/**
+	 * @param name The name to set.
+	 */
+	public void setName(String name) {
+		this.name = name;
+	}
+}

Added: portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDefinitionDD.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDefinitionDD.java?view=auto&rev=470977
==============================================================================
--- portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDefinitionDD.java
(added)
+++ portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/EventDefinitionDD.java
Fri Nov  3 12:26:24 2006
@@ -0,0 +1,127 @@
+package org.apache.pluto.descriptors.portlet;
+
+import java.util.List;
+
+/**
+ * Initialization Event Definitions
+ * 
+ * @author <a href="mailto:chrisra@cs.uni-jena.de">Christian Raschka</a>
+ *
+ */
+
+public class EventDefinitionDD {
+	
+	/**
+	 * Name of the Event
+	 */
+	private String name;
+	
+	/**
+	 * Descripton of the Event
+	 */
+	private String description;
+	
+	/**
+	 * Java-Type of the Event
+	 */
+	private String javaType;
+	
+	/**
+	 * XML-Type of the Event
+	 */
+	private String xmlType;
+	
+	/**
+	 * Alias names of the Event
+	 */
+	private List alias;
+	
+	/**
+	 * (optional) Event ID
+	 */
+	private String iD;
+
+	/**
+	 * @return Returns the alias.
+	 */
+	public List getAlias() {
+		return alias;
+	}
+
+	/**
+	 * @param alias The alias to set.
+	 */
+	public void setAlias(List alias) {
+		this.alias = alias;
+	}
+
+	/**
+	 * @return Returns the description.
+	 */
+	public String getDescription() {
+		return description;
+	}
+
+	/**
+	 * @param description The description to set.
+	 */
+	public void setDescription(String description) {
+		this.description = description;
+	}
+
+	/**
+	 * @return Returns the iD.
+	 */
+	public String getID() {
+		return iD;
+	}
+
+	/**
+	 * @param id The iD to set.
+	 */
+	public void setID(String id) {
+		iD = id;
+	}
+
+	/**
+	 * @return Returns the javaType.
+	 */
+	public String getJavaType() {
+		return javaType;
+	}
+
+	/**
+	 * @param javaType The javaType to set.
+	 */
+	public void setJavaType(String javaType) {
+		this.javaType = javaType;
+	}
+
+	/**
+	 * @return Returns the name.
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * @param name The name to set.
+	 */
+	public void setName(String name) {
+		this.name = name;
+	}
+
+	/**
+	 * @return Returns the xmlType.
+	 */
+	public String getXmlType() {
+		return xmlType;
+	}
+
+	/**
+	 * @param xmlType The xmlType to set.
+	 */
+	public void setXmlType(String xmlType) {
+		this.xmlType = xmlType;
+	}
+}

Modified: portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletAppDD.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletAppDD.java?view=diff&rev=470977&r1=470976&r2=470977
==============================================================================
--- portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletAppDD.java
(original)
+++ portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletAppDD.java
Fri Nov  3 12:26:24 2006
@@ -30,6 +30,12 @@
     /** The defined portlets within the system. */
     private List portlets = new ArrayList();
 
+    /** The defined Portlet Events within the system. */
+    private List<EventDefinitionDD> events = new ArrayList<EventDefinitionDD>();
+    
+    /** The defined Shared Render Parameter within the system. */
+    private List<SharedRenderParamDD> render = new ArrayList<SharedRenderParamDD>();
+
     /**
      * Default Constructor.
      */
@@ -51,7 +57,33 @@
     public void setPortlets(List portlets) {
         this.portlets = portlets;
     }
+    
+    /**
+	 * @return Returns the events.
+	 */
+	public List<EventDefinitionDD> getEvents() {
+		return events;
+	}
+
+	/**
+	 * @param events The events to set.
+	 */
+	public void setEvents(List<EventDefinitionDD> events) {
+		this.events = events;
+	}
 
+	/**
+	 * @return Returns the shared render parameter.
+	 */
+	public List<SharedRenderParamDD> getRender() {
+		return render;
+	}
 
+	/**
+	 * @param render The shared render parameter to set.
+	 */
+	public void setRender(List<SharedRenderParamDD> render) {
+		this.render = render;
+	}
 }
 

Modified: portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletDD.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletDD.java?view=diff&rev=470977&r1=470976&r2=470977
==============================================================================
--- portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletDD.java
(original)
+++ portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/PortletDD.java
Fri Nov  3 12:26:24 2006
@@ -53,6 +53,18 @@
     /** All security role references. */
     private List securityRoleRefs = new ArrayList();
     
+    /** the Sharing Parameter */    
+    private List sharingParams = new ArrayList();
+    
+    /** the supported processing Events */
+    private List<EventDD> processingEvents = new ArrayList<EventDD>();
+    
+    /** the supported publishing Events */
+    private List<EventDD> publishingEvents = new ArrayList<EventDD>();
+    
+    /** the supported shared render parameter */
+    private List<RenderDD> renderParameter = new ArrayList<RenderDD>();
+    
     
     // Constructor -------------------------------------------------------------
     
@@ -153,6 +165,61 @@
     public void setSecurityRoleRefs(List securityRoleRefs) {
         this.securityRoleRefs = securityRoleRefs;
     }
+    
+    public List getSharingParams() {
+    	return sharingParams;
+    }
+    
+    public void setSharingParams(List sharingParams){
+    	this.sharingParams = sharingParams;
+    }
+    
+    /**
+	 * @return Returns the processingEvents.
+	 */
+	public List<EventDD> getProcessingEvents() {
+		return processingEvents;
+	}
+
+
+	/**
+	 * @param processingEvents The processingEvents to set.
+	 */
+	public void setProcessingEvents(List<EventDD> processingEvents) {
+		this.processingEvents = processingEvents;
+	}
+
+
+	/**
+	 * @return Returns the publishingEvents.
+	 */
+	public List<EventDD> getPublishingEvents() {
+		return publishingEvents;
+	}
+
+
+	/**
+	 * @param publishingEvents The publishingEvents to set.
+	 */
+	public void setPublishingEvents(List<EventDD> publishingEvents) {
+		this.publishingEvents = publishingEvents;
+	}
+
+
+	/**
+	 * @return Returns the render parameter.
+	 */
+	public List<RenderDD> getRenderParameter() {
+		return renderParameter;
+	}
+
+
+	/**
+	 * @param renderParameter The render parameter to set.
+	 */
+	public void setRenderParameter(List<RenderDD> renderParameter) {
+		this.renderParameter = renderParameter;
+	}
     
     
     // Object Methods ----------------------------------------------------------

Added: portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/RenderDD.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/RenderDD.java?view=auto&rev=470977
==============================================================================
--- portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/RenderDD.java
(added)
+++ portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/RenderDD.java
Fri Nov  3 12:26:24 2006
@@ -0,0 +1,30 @@
+package org.apache.pluto.descriptors.portlet;
+
+/**
+ * Initialization Event
+ * 
+ * @author <a href="mailto:dettborn@minet.uni-jena.de">Torsten Dettborn</a>
+ *
+ */
+
+public class RenderDD {
+
+	/** 
+	 * Name of the Render-Parameter
+	 */
+	String name;
+
+	/**
+	 * @return the name
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * @param name The name to set
+	 */
+	public void setName(String name) {
+		this.name = name;
+	}
+}

Added: portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharedRenderParamDD.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharedRenderParamDD.java?view=auto&rev=470977
==============================================================================
--- portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharedRenderParamDD.java
(added)
+++ portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharedRenderParamDD.java
Fri Nov  3 12:26:24 2006
@@ -0,0 +1,89 @@
+package org.apache.pluto.descriptors.portlet;
+
+import java.util.List;
+
+/**
+ * Initialization Event Definitions
+ * 
+ * @author <a href="mailto:dettborn@dettborn.minet.uni-jena.de">Torsten Dettborn</a>
+ *
+ */
+
+public class SharedRenderParamDD {
+	/**
+	 * Name of the shared render Parameter
+	 */
+	private String name;
+	
+	/**
+	 * Descripton of the shared render Parameter
+	 */
+	private String description;
+	
+	/**
+	 * Alias names of the shared render Parameter
+	 */
+	private List alias;
+	
+	/**
+	 * (optional) Event ID
+	 */
+	private String iD;
+
+	/**
+	 * @return the alias
+	 */
+	public List getAlias() {
+		return alias;
+	}
+
+	/**
+	 * @param alias The alias to set
+	 */
+	public void setAlias(List alias) {
+		this.alias = alias;
+	}
+
+	/**
+	 * @return the description
+	 */
+	public String getDescription() {
+		return description;
+	}
+
+	/**
+	 * @param description The description to set
+	 */
+	public void setDescription(String description) {
+		this.description = description;
+	}
+
+	/**
+	 * @return the ID
+	 */
+	public String getID() {
+		return iD;
+	}
+
+	/**
+	 * @param id The ID to set
+	 */
+	public void setID(String id) {
+		iD = id;
+	}
+
+	/**
+	 * @return the name
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * @param name The name to set
+	 */
+	public void setName(String name) {
+		this.name = name;
+	}
+
+}

Added: portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharingParamDD.java
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharingParamDD.java?view=auto&rev=470977
==============================================================================
--- portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharingParamDD.java
(added)
+++ portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-api/src/main/java/org/apache/pluto/descriptors/portlet/SharingParamDD.java
Fri Nov  3 12:26:24 2006
@@ -0,0 +1,123 @@
+package org.apache.pluto.descriptors.portlet;
+
+import java.util.List;
+
+/**
+ * Initialization Session Sharing Attributes
+ * 
+ * @author <a href="mailto:chrisra@cs.uni-jena.de">Christian Raschka</a>
+ *
+ */
+
+public class SharingParamDD {
+	
+	/**
+	 * Name of the Session Sharing Attribute
+	 */
+	private String name;
+	
+	/**
+	 * Descripton of the sharing attribute
+	 */
+	private String description;
+	
+	/**
+	 * Type of the sharing attribute
+	 */
+	private String javaType;
+	
+	/**
+	 * XML-Type of the sharing attribute
+	 */
+	private String xmlType;
+	
+	/**
+	 * Alias names of the attributes
+	 */
+	private List alias;
+	
+	/**
+	 * (optional) Param ID
+	 */
+	private String iD;
+	
+	
+
+	public String getID() {
+		return iD;
+	}
+
+
+	public void setID(String id) {
+		iD = id;
+	}
+
+
+	/**
+	 * Default Constructor
+	 */
+	public SharingParamDD() {
+		
+	}
+
+
+	public String getJavaType() {
+		return javaType;
+	}
+
+
+	public void setJavaType(String javaType) {
+		this.javaType = javaType;
+	}
+
+
+	public String getName() {
+		return name;
+	}
+
+
+	public void setName(String sharingSharingAttribute) {
+		this.name = sharingSharingAttribute;
+	}
+		
+	public List getAlias() {
+		return alias;
+	}
+
+
+	public void setAlias(List alias) {
+		this.alias = alias;
+	}
+
+
+	public String getDescription() {
+		return description;
+	}
+
+
+	public void setDescription(String description) {
+		this.description = description;
+	}
+
+
+	public String getXmlType() {
+		return xmlType;
+	}
+
+
+	public void setXmlType(String xmlType) {
+		this.xmlType = xmlType;
+	}
+
+
+	/**
+	 * @see java.lang.Object#toString()
+	 */
+	//@Override
+	public String toString() {
+		String string;
+		string = getName() + " (" + getDescription() + ") "
+		  + getJavaType();
+		return string;
+	}
+}

Modified: portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
URL: http://svn.apache.org/viewvc/portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml?view=diff&rev=470977&r1=470976&r2=470977
==============================================================================
--- portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
(original)
+++ portals/pluto/branches/1.1-286-COMPATIBILITY/pluto-descriptor-impl/src/main/resources/org/apache/pluto/descriptors/services/castor/castor-portlet-xml-mapping.xml
Fri Nov  3 12:26:24 2006
@@ -23,14 +23,24 @@
    Bare Bones for now!
    -->
 
-  <class name="org.apache.pluto.descriptors.portlet.PortletAppDD">
-    <map-to xml="portlet-app"/>
-    <field name="Portlets"
-           type="org.apache.pluto.descriptors.portlet.PortletDD"
-           collection="arraylist">
-      <bind-xml name="portlet" node="element"/>
-    </field>
-  </class>
+	<class name="org.apache.pluto.descriptors.portlet.PortletAppDD">
+		<map-to xml="portlet-app"/>
+		<field name="Portlets"
+			type="org.apache.pluto.descriptors.portlet.PortletDD"
+			collection="arraylist">
+			<bind-xml name="portlet" node="element"/>
+		</field>
+		<field name="Events"
+			type="org.apache.pluto.descriptors.portlet.EventDefinitionDD"
+			collection="arraylist">
+			<bind-xml name="event-definition" node="element"/>
+		</field>
+		<field name="Render"
+			type="org.apache.pluto.descriptors.portlet.SharedRenderParamDD"
+			collection="arraylist">
+			<bind-xml name="shared-render-parameter" node="element"/>
+		</field>
+	</class>
 
   <class name="org.apache.pluto.descriptors.portlet.PortletDD">
     <field name="PortletName">
@@ -48,6 +58,26 @@
     <field name="InitParams" type="org.apache.pluto.descriptors.common.InitParamDD" collection="arraylist">
       <bind-xml name="init-param" node="element" />
     </field>
+    
+    <!-- Session Sharing -->
+    <field name="SharingParams" type="org.apache.pluto.descriptors.portlet.SharingParamDD"
collection="arraylist">
+      <bind-xml name="shared-session-attribute" node="element" />
+    </field>
+		
+		<!-- processing Events -->
+		<field name="ProcessingEvents" type="org.apache.pluto.descriptors.portlet.EventDD" collection="arraylist">
+			<bind-xml name="supported-processing-event" node="element" />
+	  </field>
+		
+		<!-- publishing Events -->
+		<field name="PublishingEvents" type="org.apache.pluto.descriptors.portlet.EventDD" 
collection="arraylist">
+			<bind-xml name="supported-publishing-event" node="element" />
+	  </field>	
+	  	
+	  <!-- Shared-Render-Parameter -->
+		<field name="RenderParameter" type="org.apache.pluto.descriptors.portlet.RenderDD" 
collection="arraylist">
+			<bind-xml name="supported-shared-render-parameter" node="element" />
+	  </field>	
       
     <field name="ResourceBundle">
       <bind-xml name="resource-bundle" node="element"/>
@@ -68,7 +98,49 @@
       <bind-xml name="portlet-preferences" node="element" />
     </field>
   </class>
-
+	
+	<class name="org.apache.pluto.descriptors.portlet.EventDefinitionDD">
+		<field name="Description">
+			<bind-xml name="description" node="element" />
+		</field>
+    <field name="Name">
+      <bind-xml name="name" node="element"/>
+    </field>
+		<field name="JavaType">
+			<bind-xml name="java-type" node="element" />
+		</field>
+		<field name="XmlType">
+			<bind-xml name="xml-type" node="element" />
+		</field>			
+		<field name="Alias" type="java.lang.String" collection="arraylist">
+			<bind-xml name="alias" node="element" />
+		</field>
+		<field name="ID">
+			<bind-xml name="id" node="element" />
+		</field>
+  </class>
+	
+	<class name="org.apache.pluto.descriptors.portlet.SharedRenderParamDD">
+		<field name="Description">
+			<bind-xml name="description" node="element" />
+		</field>
+	    <field name="Name">
+	      <bind-xml name="name" node="element"/>
+	    </field>			
+		<field name="Alias" type="java.lang.String" collection="arraylist">
+			<bind-xml name="alias" node="element" />
+		</field>
+		<field name="ID">
+			<bind-xml name="id" node="element" />
+		</field>
+  </class>
+	
+	<class name="org.apache.pluto.descriptors.portlet.EventDD">
+    <field name="Name">
+      <bind-xml name="name" node="element"/>
+    </field>
+	</class>
+	
   <class name="org.apache.pluto.descriptors.portlet.PortletInfoDD">
     <map-to xml="portlet-info"/>
     <field name="Title">
@@ -102,6 +174,27 @@
     <field name="ParamValue">
       <bind-xml name="value" node="element"/>
     </field>
+  </class>
+  
+  <class name="org.apache.pluto.descriptors.portlet.SharingParamDD">
+		<field name="Description">
+			<bind-xml name="description" node="element" />
+		</field>
+    <field name="Name">
+      <bind-xml name="name" node="element"/>
+    </field>
+		<field name="JavaType">
+			<bind-xml name="java-type" node="element" />
+		</field>
+		<field name="XmlType">
+			<bind-xml name="xml-type" node="element" />
+		</field>			
+		<field name="Alias" type="java.lang.String" collection="arraylist">
+			<bind-xml name="alias" node="element" />
+		</field>
+		<field name="ID">
+			<bind-xml name="id" node="element" />
+		</field>
   </class>
 
   <class name="org.apache.pluto.descriptors.portlet.PortletPreferencesDD">



Mime
View raw message