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 [EMAIL PROTECTED] SlingScript} to handle the given request.
- *
- * @param request The [EMAIL PROTECTED] SlingHttpServletRequest} for which
a
- * [EMAIL PROTECTED] SlingScript} is to be found.
- * @return The [EMAIL PROTECTED] 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 [EMAIL PROTECTED] SlingScript}.
* <p>
* The semantic meaning of the name is implementation specific: It may be
an