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 2017/01/27 07:28:09 UTC

cayenne git commit: clarifying javadocs

Repository: cayenne
Updated Branches:
  refs/heads/master 6d7dbf01e -> f78497418


clarifying javadocs


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/f7849741
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/f7849741
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/f7849741

Branch: refs/heads/master
Commit: f7849741897bda066c517c97dcb246e4027dc036
Parents: 6d7dbf0
Author: Andrus Adamchik <an...@objectstyle.com>
Authored: Fri Jan 27 10:27:55 2017 +0300
Committer: Andrus Adamchik <an...@objectstyle.com>
Committed: Fri Jan 27 10:28:04 2017 +0300

----------------------------------------------------------------------
 .../cayenne/configuration/server/ServerRuntime.java       | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/f7849741/cayenne-server/src/main/java/org/apache/cayenne/configuration/server/ServerRuntime.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/configuration/server/ServerRuntime.java b/cayenne-server/src/main/java/org/apache/cayenne/configuration/server/ServerRuntime.java
index 8425dca..991fe4a 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/configuration/server/ServerRuntime.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/configuration/server/ServerRuntime.java
@@ -35,12 +35,10 @@ import java.util.Collection;
 import static java.util.Arrays.asList;
 
 /**
- * An object representing Cayenne server-stack that connects directly to the
- * database via JDBC. This is an entry point for user applications to access
- * Cayenne, which encapsulates the dependency injection internals. The term
- * "server" is used as opposed to ROP "client" (see {@link CayenneRuntime}). Any
- * application, desktop, server, etc. that has a direct JDBC connection should
- * be using this runtime.
+ * Object representing Cayenne stack. Serves as an entry point to Cayenne for user applications and a factory of ObjectContexts.
+ * Implementation is a thin wrapper of the dependency injection container.
+ * <p>The "Server" prefix in the name is in contrast to ROP "client" (that is started via ClientRuntime). So
+ * ServerRuntime is the default Cayenne stack that you should be using in all apps with the exception of client-side ROP.</p>
  *
  * @since 3.1
  */