You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2008/01/25 15:52:18 UTC
svn commit: r615234 -
/incubator/sling/trunk/scripting/resolver/src/main/java/org/apache/sling/scripting/resolver/impl/SlingScriptAdapterFactory.java
Author: bdelacretaz
Date: Fri Jan 25 06:52:18 2008
New Revision: 615234
URL: http://svn.apache.org/viewvc?rev=615234&view=rev
Log:
fix javadoc
Modified:
incubator/sling/trunk/scripting/resolver/src/main/java/org/apache/sling/scripting/resolver/impl/SlingScriptAdapterFactory.java
Modified: incubator/sling/trunk/scripting/resolver/src/main/java/org/apache/sling/scripting/resolver/impl/SlingScriptAdapterFactory.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/scripting/resolver/src/main/java/org/apache/sling/scripting/resolver/impl/SlingScriptAdapterFactory.java?rev=615234&r1=615233&r2=615234&view=diff
==============================================================================
--- incubator/sling/trunk/scripting/resolver/src/main/java/org/apache/sling/scripting/resolver/impl/SlingScriptAdapterFactory.java (original)
+++ incubator/sling/trunk/scripting/resolver/src/main/java/org/apache/sling/scripting/resolver/impl/SlingScriptAdapterFactory.java Fri Jan 25 06:52:18 2008
@@ -38,17 +38,8 @@
import org.slf4j.LoggerFactory;
/**
- * 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
- *
- * <pre>
- * /sling/scripts/some/type/get.html.js
- * </pre>
- *
- * in the repository.
+ * AdapterFactory that adapts Resources to the DefaultSlingScript servlet,
+ * which executes the Resources as scripts.
*
* @scr.component metatype="no"
* @scr.property name="service.vendor" value="The Apache Software Foundation"