cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject svn commit: r1169618 - /cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/BaseContext.java
Date Mon, 12 Sep 2011 06:56:11 GMT
Author: aadamchik
Date: Mon Sep 12 06:56:11 2011
New Revision: 1169618

URL: http://svn.apache.org/viewvc?rev=1169618&view=rev
Log:
javadocs, cleanup
(cherry picked from commit 1b54ab8e7d35c83da690bdc0d6f847ad7a3adf37)

Modified:
    cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/BaseContext.java

Modified: cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/BaseContext.java
URL: http://svn.apache.org/viewvc/cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/BaseContext.java?rev=1169618&r1=1169617&r2=1169618&view=diff
==============================================================================
--- cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/BaseContext.java
(original)
+++ cayenne/main/trunk/framework/cayenne-jdk1.5-unpublished/src/main/java/org/apache/cayenne/BaseContext.java
Mon Sep 12 06:56:11 2011
@@ -145,20 +145,20 @@ public abstract class BaseContext implem
     }
 
     /**
-     * Attaches this context to the Cayenne runtime whose Injector is passed as an
-     * argument to this method.
+     * Attaches this context to the CayenneRuntime whose Injector is passed as an argument
+     * to this method.
      * 
      * @since 3.1
      */
     protected void attachToRuntime(Injector injector) {
+        
+        // TODO: nested contexts handling??
         attachToChannel(injector.getInstance(DataChannel.class));
-
         setQueryCache(new NestedQueryCache(injector.getInstance(QueryCache.class)));
     }
 
     /**
-     * Initializes a DataChannel for this context, setting internal state using
-     * information from the
+     * Attaches to a provided DataChannel.
      * 
      * @since 3.1
      */



Mime
View raw message