cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dkazimirc...@apache.org
Subject svn commit: r1176925 - in /cayenne/main/trunk/tutorials: tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/ tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/ tutorial-rop-server/src/main...
Date Wed, 28 Sep 2011 15:44:10 GMT
Author: dkazimirchyk
Date: Wed Sep 28 15:44:09 2011
New Revision: 1176925

URL: http://svn.apache.org/viewvc?rev=1176925&view=rev
Log:
ROP tutorial correction to correspond 3.1 changes

Added:
    cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java
    cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java
    cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/Datamap.java
    cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Datamap.java
    cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java
    cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java
Removed:
    cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/UntitledDomainMap.java
    cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_UntitledDomainMap.java
    cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/UntitledDomainMap.java
    cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_UntitledDomainMap.java
    cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/UntitledDomainMap.java
    cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_UntitledDomainMap.java
Modified:
    cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/webapp/WEB-INF/web.xml

Added: cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java?rev=1176925&view=auto
==============================================================================
--- cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java
(added)
+++ cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java
Wed Sep 28 15:44:09 2011
@@ -0,0 +1,18 @@
+package org.apache.cayenne.tutorial.persistent.client;
+
+import org.apache.cayenne.tutorial.persistent.client.auto._Datamap;
+
+public class Datamap extends _Datamap {
+
+    private static Datamap instance;
+
+    private Datamap() {}
+
+    public static Datamap getInstance() {
+        if(instance == null) {
+            instance = new Datamap();
+        }
+
+        return instance;
+    }
+}

Added: cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java?rev=1176925&view=auto
==============================================================================
--- cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java
(added)
+++ cayenne/main/trunk/tutorials/tutorial-rop-client/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java
Wed Sep 28 15:44:09 2011
@@ -0,0 +1,12 @@
+package org.apache.cayenne.tutorial.persistent.client.auto;
+
+import org.apache.cayenne.PersistentObject;
+
+/**
+ * This class was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public class _Datamap {
+}

Added: cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/Datamap.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/Datamap.java?rev=1176925&view=auto
==============================================================================
--- cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/Datamap.java
(added)
+++ cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/Datamap.java
Wed Sep 28 15:44:09 2011
@@ -0,0 +1,18 @@
+package org.apache.cayenne.tutorial.persistent;
+
+import org.apache.cayenne.tutorial.persistent.auto._Datamap;
+
+public class Datamap extends _Datamap {
+
+    private static Datamap instance;
+
+    private Datamap() {}
+
+    public static Datamap getInstance() {
+        if(instance == null) {
+            instance = new Datamap();
+        }
+
+        return instance;
+    }
+}

Added: cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Datamap.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Datamap.java?rev=1176925&view=auto
==============================================================================
--- cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Datamap.java
(added)
+++ cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Datamap.java
Wed Sep 28 15:44:09 2011
@@ -0,0 +1,12 @@
+package org.apache.cayenne.tutorial.persistent.auto;
+
+
+
+/**
+ * This class was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public class _Datamap {
+}
\ No newline at end of file

Added: cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java?rev=1176925&view=auto
==============================================================================
--- cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java
(added)
+++ cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/Datamap.java
Wed Sep 28 15:44:09 2011
@@ -0,0 +1,18 @@
+package org.apache.cayenne.tutorial.persistent.client;
+
+import org.apache.cayenne.tutorial.persistent.client.auto._Datamap;
+
+public class Datamap extends _Datamap {
+
+    private static Datamap instance;
+
+    private Datamap() {}
+
+    public static Datamap getInstance() {
+        if(instance == null) {
+            instance = new Datamap();
+        }
+
+        return instance;
+    }
+}

Added: cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java?rev=1176925&view=auto
==============================================================================
--- cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java
(added)
+++ cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/java/org/apache/cayenne/tutorial/persistent/client/auto/_Datamap.java
Wed Sep 28 15:44:09 2011
@@ -0,0 +1,12 @@
+package org.apache.cayenne.tutorial.persistent.client.auto;
+
+import org.apache.cayenne.PersistentObject;
+
+/**
+ * This class was generated by Cayenne.
+ * It is probably a good idea to avoid changing this class manually,
+ * since it may be overwritten next time code is regenerated.
+ * If you need to make any customizations, please use subclass.
+ */
+public class _Datamap {
+}

Modified: cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/webapp/WEB-INF/web.xml?rev=1176925&r1=1176924&r2=1176925&view=diff
==============================================================================
--- cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/webapp/WEB-INF/web.xml (original)
+++ cayenne/main/trunk/tutorials/tutorial-rop-server/src/main/webapp/WEB-INF/web.xml Wed Sep
28 15:44:09 2011
@@ -23,12 +23,12 @@
 <web-app>
 	<display-name>Cayenne Tutorial</display-name>
 	<servlet>
-		<servlet-name>cayenne-UntitledDomain</servlet-name>
+		<servlet-name>cayenne-project</servlet-name>
 		<servlet-class>org.apache.cayenne.configuration.rop.server.ROPHessianServlet</servlet-class>
 		<load-on-startup>0</load-on-startup>
 	</servlet>
 	<servlet-mapping>
-		<servlet-name>cayenne-UntitledDomain</servlet-name>
+		<servlet-name>cayenne-project</servlet-name>
 		<url-pattern>/cayenne-service</url-pattern>
 	</servlet-mapping>
 	



Mime
View raw message