incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r611800 - /incubator/sling/whiteboard/fmeschbe/resource/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java
Date Mon, 14 Jan 2008 14:10:25 GMT
Author: fmeschbe
Date: Mon Jan 14 06:10:23 2008
New Revision: 611800

URL: http://svn.apache.org/viewvc?rev=611800&view=rev
Log:
Remove the resolveScript(SlingHttpServletRequest) method as this method
is not needed anymore. The servlet resolver instead finds a resource in
the resource tree which adapts to a servlet.

Keep the findScript method to explicitly look for a script with a given
absolute or relative path. I am not sure, though, what the use will be
of this method at the end of the day....

Modified:
    incubator/sling/whiteboard/fmeschbe/resource/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java

Modified: incubator/sling/whiteboard/fmeschbe/resource/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java
URL: http://svn.apache.org/viewvc/incubator/sling/whiteboard/fmeschbe/resource/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java?rev=611800&r1=611799&r2=611800&view=diff
==============================================================================
--- incubator/sling/whiteboard/fmeschbe/resource/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java
(original)
+++ incubator/sling/whiteboard/fmeschbe/resource/api/src/main/java/org/apache/sling/api/scripting/SlingScriptResolver.java
Mon Jan 14 06:10:23 2008
@@ -48,18 +48,6 @@
 public interface SlingScriptResolver {
 
     /**
-     * Resolves a {@link SlingScript} to handle the given request.
-     *
-     * @param request The {@link SlingHttpServletRequest} for which a
-     *            {@link SlingScript} is to be found.
-     * @return The {@link SlingScript} or <code>null</code> if no script can
-     *         be found to handle the request.
-     * @throws SlingException If an error occurrs trying to find a script.
-     */
-    SlingScript resolveScript(SlingHttpServletRequest request)
-            throws SlingException;
-
-    /**
      * Finds the given name to a {@link SlingScript}.
      * <p>
      * The semantic meaning of the name is implementation specific: It may be an



Mime
View raw message