Return-Path: Delivered-To: apmail-sling-commits-archive@www.apache.org Received: (qmail 19329 invoked from network); 17 Jul 2009 08:33:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jul 2009 08:33:16 -0000 Received: (qmail 16498 invoked by uid 500); 17 Jul 2009 08:34:21 -0000 Delivered-To: apmail-sling-commits-archive@sling.apache.org Received: (qmail 16441 invoked by uid 500); 17 Jul 2009 08:34:21 -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 16432 invoked by uid 99); 17 Jul 2009 08:34:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Jul 2009 08:34:21 +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 08:34:19 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C88002388897; Fri, 17 Jul 2009 08:33:59 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r795008 - /sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java Date: Fri, 17 Jul 2009 08:33:59 -0000 To: commits@sling.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090717083359.C88002388897@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cziegeler Date: Fri Jul 17 08:33:59 2009 New Revision: 795008 URL: http://svn.apache.org/viewvc?rev=795008&view=rev Log: Clean up javadocs Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java Modified: sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java URL: http://svn.apache.org/viewvc/sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java?rev=795008&r1=795007&r2=795008&view=diff ============================================================================== --- sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java (original) +++ sling/trunk/bundles/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java Fri Jul 17 08:33:59 2009 @@ -22,33 +22,16 @@ * The ScriptResolver interface defines the API for a service * capable of locating scripts. Where the script is actually located is an * implementation detail of the service implementation. - *

- * Find scripts in the repository, based on the current Resource type. The - * script filename is built using the current HTTP request method name, followed - * by the extension of the current request and the desired script extension. For - * example, a "js" script for a GET request on a Resource of type some/type with - * request extension "html" should be stored as - * - *

- *      /sling/scripts/some/type/get.html.js
- * 
- * - * in the repository. - *

- * Applications of the Sling Framework generally do not need the servlet - * resolver as resolution of the servlets to process requests and sub-requests - * through a RequestDispatcher is handled by the Sling Framework. - *

*/ public interface SlingScriptResolver { /** - * Finds the given name to a {@link SlingScript}. + * Finds the {@link SlingScript} for the given name. *

* The semantic meaning of the name is implementation specific: It may be an * absolute path to a Resource providing the script source or * it may be a relative path resolved according to some path settings. - * Finally, the name may also just be used as an itentifier to find the + * Finally, the name may also just be used as an identifier to find the * script in some registry. * * @param resourceResolver The ResourceResolver used to