cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1538397 - /cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java
Date Sun, 03 Nov 2013 16:49:27 GMT
Author: aadamchik
Date: Sun Nov  3 16:49:27 2013
New Revision: 1538397

URL: http://svn.apache.org/r1538397
Log:
start deprecating the whole properties thing for datadomain

since DD is no longer used in the Modeler, and we have a DI provider to create it in runtime,
storing and parsing properties just doesn't make sense here

Modified:
    cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java

Modified: cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java?rev=1538397&r1=1538396&r2=1538397&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java
(original)
+++ cayenne/main/trunk/framework/cayenne-core-unpublished/src/main/java/org/apache/cayenne/access/DataDomain.java
Sun Nov  3 16:49:27 2013
@@ -128,7 +128,9 @@ public class DataDomain implements Query
      *            Configuration object.
      * @param properties
      *            A Map containing domain configuration properties.
+     * @deprecated since 3.2 unused
      */
+    @Deprecated
     public DataDomain(String name, Map properties) {
         init(name);
         initWithProperties(properties);
@@ -190,7 +192,9 @@ public class DataDomain implements Query
      * Reinitializes domain state with a new set of properties.
      * 
      * @since 1.1
+     * @deprecated since 3.2 properties are processed by the DI provider.
      */
+    @Deprecated
     public void initWithProperties(Map<String, String> properties) {
 
         // clone properties to ensure that it is read-only internally



Mime
View raw message