Return-Path: Delivered-To: apmail-sling-commits-archive@www.apache.org Received: (qmail 62868 invoked from network); 17 Jul 2009 14:25:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jul 2009 14:25:52 -0000 Received: (qmail 4108 invoked by uid 500); 17 Jul 2009 14:26:58 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 4060 invoked by uid 500); 17 Jul 2009 14:26:57 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 4051 invoked by uid 99); 17 Jul 2009 14:26:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2009 14:26:57 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2009 14:26:53 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 95CBA23888D2; Fri, 17 Jul 2009 14:26:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r795097 - in /sling/trunk/bundles/jcr/api: pom.xml src/main/java/org/apache/sling/jcr/api/SlingRepository.java Date: Fri, 17 Jul 2009 14:26:31 -0000 To: commits@sling.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090717142631.95CBA23888D2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cziegeler Date: Fri Jul 17 14:26:31 2009 New Revision: 795097 URL: http://svn.apache.org/viewvc?rev=795097&view=rev Log: SLING-1052 : Don't reexport jcr api and fixed some javadocs. Modified: sling/trunk/bundles/jcr/api/pom.xml sling/trunk/bundles/jcr/api/src/main/java/org/apache/sling/jcr/api/SlingRepository.java Modified: sling/trunk/bundles/jcr/api/pom.xml URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/api/pom.xml?rev=795097&r1=795096&r2=795097&view=diff ============================================================================== --- sling/trunk/bundles/jcr/api/pom.xml (original) +++ sling/trunk/bundles/jcr/api/pom.xml Fri Jul 17 14:26:31 2009 @@ -57,15 +57,8 @@ - org.apache.sling.jcr.api;version=${pom.version}, - - - javax.jcr.*;version=1.0 + org.apache.sling.jcr.api;version=${pom.version} - - org.xml.sax.*;resolution:=optional, - * - @@ -73,11 +66,10 @@ - javax.jcr jcr - compile + provided Modified: sling/trunk/bundles/jcr/api/src/main/java/org/apache/sling/jcr/api/SlingRepository.java URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/api/src/main/java/org/apache/sling/jcr/api/SlingRepository.java?rev=795097&r1=795096&r2=795097&view=diff ============================================================================== --- sling/trunk/bundles/jcr/api/src/main/java/org/apache/sling/jcr/api/SlingRepository.java (original) +++ sling/trunk/bundles/jcr/api/src/main/java/org/apache/sling/jcr/api/SlingRepository.java Fri Jul 17 14:26:31 2009 @@ -23,10 +23,10 @@ import javax.jcr.Session; /** - * The SessionProvider extends the standard JCR Repository + * The SlingRepository extends the standard JCR repository * interface with two methods: {@link #getDefaultWorkspace()} and * {@link #loginAdministrative(String)}. This method ease the use of a JCR - * repository in a Sling Application in that the default (or standard) workspace + * repository in a Sling application in that the default (or standard) workspace * to use by the application may be configured and application bundles may use a * simple method to get an administrative session instead of being required to * provide their own configuration of administrative session details. @@ -39,14 +39,14 @@ /** * Returns the default workspace to use on login. - * + * * @return null if the configured default workspace name is empty, SLING-256 */ String getDefaultWorkspace(); /** * Returns a session to the default workspace which has administrative - * powsers. + * powers. *

* NOTE: This method is intended for use by infrastructure bundles to * access the repository and provide general services. This method MUST not