You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by aa...@apache.org on 2006/10/02 01:19:32 UTC

svn commit: r451839 - /incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/remote/service/BaseRemoteService.java

Author: aadamchik
Date: Sun Oct  1 16:19:31 2006
New Revision: 451839

URL: http://svn.apache.org/viewvc?view=rev&rev=451839
Log:
more javadocs

Modified:
    incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/remote/service/BaseRemoteService.java

Modified: incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/remote/service/BaseRemoteService.java
URL: http://svn.apache.org/viewvc/incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/remote/service/BaseRemoteService.java?view=diff&rev=451839&r1=451838&r2=451839
==============================================================================
--- incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/remote/service/BaseRemoteService.java (original)
+++ incubator/cayenne/main/trunk/core/cayenne-jdk1.4/src/main/java/org/apache/cayenne/remote/service/BaseRemoteService.java Sun Oct  1 16:19:31 2006
@@ -167,11 +167,12 @@
     }
 
     /**
-     * Creates a server-side channel that will process all client events. For shared
-     * sessions the same channel will be reused for the entire group of clients. For
-     * dedicated sessions, one channel per client is created. <p/> This method can be
-     * overriden in subclasses to customize channel creation. For instance it can add
-     * custom interceptors to handle transactions or security.
+     * Creates a server-side channel that will handle all client requests. For shared
+     * sessions the same channel instance is reused for the entire group of clients. For
+     * dedicated sessions, one channel per client is created. <p/> This implementation
+     * returns {@link ClientServerChannel} instance wrapping a DataContext. Subclasses may
+     * override the method to customize channel creation. For instance they may wrap
+     * channel in the custom interceptors to handle transactions or security.
      */
     protected DataChannel createChannel() {
         return new ClientServerChannel(domain);