You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2006/12/24 00:02:48 UTC

svn commit: r489946 - in /portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence: ServiceDescriptionMapping.xml descriptions/org.apache.wsrp4j.commons.persistence.driver.WSRPServiceDescription.xml

Author: dlouzan
Date: Sat Dec 23 15:02:47 2006
New Revision: 489946

URL: http://svn.apache.org/viewvc?view=rev&rev=489946
Log:
Updated castor mapping and example for reflecting the new id property added to WSRPServiceDescription

Modified:
    portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/ServiceDescriptionMapping.xml
    portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/descriptions/org.apache.wsrp4j.commons.persistence.driver.WSRPServiceDescription.xml

Modified: portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/ServiceDescriptionMapping.xml
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/ServiceDescriptionMapping.xml?view=diff&rev=489946&r1=489945&r2=489946
==============================================================================
--- portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/ServiceDescriptionMapping.xml (original)
+++ portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/ServiceDescriptionMapping.xml Sat Dec 23 15:02:47 2006
@@ -22,6 +22,13 @@
     <class name="org.apache.wsrp4j.commons.persistence.driver.WSRPServiceDescription">
         <map-to xml="ServiceDescription"/>
 
+        <field name="id"
+               type="java.lang.String"
+               get-method="getId"
+               set-method="setId">
+            <bind-xml name="id" node="attribute"/>
+        </field>
+        
         <field name="requiresInitCookie"
                type="java.lang.String"
                get-method="getInitCookieRequired"

Modified: portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/descriptions/org.apache.wsrp4j.commons.persistence.driver.WSRPServiceDescription.xml
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/descriptions/org.apache.wsrp4j.commons.persistence.driver.WSRPServiceDescription.xml?view=diff&rev=489946&r1=489945&r2=489946
==============================================================================
--- portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/descriptions/org.apache.wsrp4j.commons.persistence.driver.WSRPServiceDescription.xml (original)
+++ portals/wsrp4j/trunk/producer/src/webapp/WEB-INF/persistence/descriptions/org.apache.wsrp4j.commons.persistence.driver.WSRPServiceDescription.xml Sat Dec 23 15:02:47 2006
@@ -15,5 +15,6 @@
 limitations under the License.
 -->
 
-<ServiceDescription requiresInitCookie="perGroup" requiresRegistration="true">
+<ServiceDescription id="wsrp4jproducer" requiresInitCookie="perGroup"
+                    requiresRegistration="true">
 </ServiceDescription>