Author: mcombellack
Date: Fri Mar 21 05:47:27 2008
New Revision: 639607
URL: http://svn.apache.org/viewvc?rev=639607&view=rev
Log:
Minor JavaDoc updates and spelling corrections
Modified:
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultResourceServlet.java
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultServletHostExtensionPoint.java
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ExtensibleServletHost.java
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHost.java
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHostExtensionPoint.java
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletMappingException.java
Modified:
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultResourceServlet.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultResourceServlet.java?rev=639607&r1=639606&r2=639607&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultResourceServlet.java
(original)
+++
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultResourceServlet.java
Fri Mar 21 05:47:27 2008
@@ -32,12 +32,12 @@
import javax.servlet.http.HttpServletResponse;
/**
- * A minimal implementation of a servlet that serves documents in a document
root
+ * A minimal implementation of a Servlet that serves documents in a document
root
* directory.
*
- * A servlet host implementation is not required to use this implementation
and can map
+ * A Servlet host implementation is not required to use this implementation
and can map
* the URI and document root to a more complete and more efficient
implementation of
- * a resource servlet, for example the Tomcat or Jetty default servlets.
+ * a resource Servlet, for example the Tomcat or Jetty default Servlets.
*
* @version $Rev$ $Date$
*/
Modified:
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultServletHostExtensionPoint.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultServletHostExtensionPoint.java?rev=639607&r1=639606&r2=639607&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultServletHostExtensionPoint.java
(original)
+++
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/DefaultServletHostExtensionPoint.java
Fri Mar 21 05:47:27 2008
@@ -23,7 +23,7 @@
import java.util.List;
/**
- * Default implementation of a servlet host extension point.
+ * Default implementation of a Servlet host extension point.
*
* @version $Rev$ $Date$
*/
Modified:
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ExtensibleServletHost.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ExtensibleServletHost.java?rev=639607&r1=639606&r2=639607&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ExtensibleServletHost.java
(original)
+++
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ExtensibleServletHost.java
Fri Mar 21 05:47:27 2008
@@ -25,7 +25,7 @@
import javax.servlet.Servlet;
/**
- * Default implementation of an extensible servlet host.
+ * Default implementation of an extensible Servlet host.
*
* @version $Rev$ $Date$
*/
@@ -64,7 +64,7 @@
throw new ServletMappingException("No servlet host available");
}
- // TODO implement selection of the correct servlet host based on the
mapping
+ // TODO implement selection of the correct Servlet host based on the
mapping
// For now just select the first one
getDefaultServletHost().addServletMapping(uri, servlet);
}
@@ -74,7 +74,7 @@
throw new ServletMappingException("No servlet host available");
}
- // TODO implement selection of the correct servlet host based on the
mapping
+ // TODO implement selection of the correct Servlet host based on the
mapping
// For now just select the first one
return getDefaultServletHost().getServletMapping(uri);
}
@@ -84,7 +84,7 @@
throw new ServletMappingException("No servlet host available");
}
- // TODO implement selection of the correct servlet host based on the
mapping
+ // TODO implement selection of the correct Servlet host based on the
mapping
// For now just select the first one
return getDefaultServletHost().removeServletMapping(uri);
}
@@ -94,7 +94,7 @@
throw new ServletMappingException("No servlet host available");
}
- // TODO implement selection of the correct servlet host based on the
mapping
+ // TODO implement selection of the correct Servlet host based on the
mapping
// For now just select the first one
return getDefaultServletHost().getRequestDispatcher(uri);
}
@@ -104,7 +104,7 @@
throw new ServletMappingException("No servlet host available");
}
- // TODO implement selection of the correct servlet host based on the
mapping
+ // TODO implement selection of the correct Servlet host based on the
mapping
// For now just select the first one
return getDefaultServletHost().getContextPath();
}
Modified:
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHost.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHost.java?rev=639607&r1=639606&r2=639607&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHost.java
(original)
+++
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHost.java
Fri Mar 21 05:47:27 2008
@@ -27,7 +27,7 @@
* Interface implemented by host environments that allow Servlets to be
* registered.
* <p/>
- * This interface allows a system service to register a servlet
+ * This interface allows a system service to register a Servlet
* to handle inbound requests.
*
* @version $Rev$ $Date$
@@ -50,41 +50,41 @@
/**
* Add a mapping for an instance of a Servlet. This requests that the
- * servlet container direct all requests to the designated mapping to the
+ * Servlet container direct all requests to the designated mapping to the
* supplied Servlet instance.
*
- * @param uri the uri-mapping for the Servlet
+ * @param uri the URI-mapping for the Servlet
* @param servlet the Servlet that should be invoked
* @throws ServletMappingException
*/
void addServletMapping(String uri, Servlet servlet) throws
ServletMappingException;
/**
- * Remove a servlet mapping. This directs the servlet container not to
direct
+ * Remove a Servlet mapping. This directs the Servlet container not to
direct
* any more requests to a previously registered Servlet.
*
- * @param uri the uri-mapping for the Servlet
- * @return the servlet that was registered to the mapping, null if nothing
+ * @param uri the URI-mapping for the Servlet
+ * @return the Servlet that was registered to the mapping, null if nothing
* was registered to the mapping
* @throws ServletMappingException
*/
Servlet removeServletMapping(String uri) throws ServletMappingException;
/**
- * Returns the servlet mapped to the given uri.
+ * Returns the Servlet mapped to the given URI.
*
- * @param uri the uri-mapping for the Servlet
- * @return the servlet registered with the mapping
+ * @param uri the URI-mapping for the Servlet
+ * @return the Servlet registered with the mapping
* @throws ServletMappingException
*/
Servlet getServletMapping(String uri) throws ServletMappingException;
/**
- * Returns a servlet request dispatcher for the servlet mapped to the
specified uri.
+ * Returns a Servlet request dispatcher for the Servlet mapped to the
specified URI.
*
- * @param uri the uri mapped to a Servlet
+ * @param uri the URI mapped to a Servlet
* @return a RequestDispatcher that can be used to dispatch requests to
- * that servlet
+ * that Servlet
* @throws ServletMappingException
*/
RequestDispatcher getRequestDispatcher(String uri) throws
ServletMappingException;
Modified:
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHostExtensionPoint.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHostExtensionPoint.java?rev=639607&r1=639606&r2=639607&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHostExtensionPoint.java
(original)
+++
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletHostExtensionPoint.java
Fri Mar 21 05:47:27 2008
@@ -21,28 +21,28 @@
import java.util.List;
/**
- * An extension point for servlet hosts.
+ * An extension point for Servlet hosts.
*
* @version $Rev$ $Date$
*/
public interface ServletHostExtensionPoint {
/**
- * Adds a servlet host extension.
+ * Adds a Servlet host extension.
*
* @param servletHost
*/
void addServletHost(ServletHost servletHost);
/**
- * Removes a servlet host extension.
+ * Removes a Servlet host extension.
*
* @param servletHost
*/
void removeServletHost(ServletHost servletHost);
/**
- * Returns a list of servlet host extensions.
+ * Returns a list of Servlet host extensions.
*
* @return
*/
Modified:
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletMappingException.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletMappingException.java?rev=639607&r1=639606&r2=639607&view=diff
==============================================================================
---
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletMappingException.java
(original)
+++
incubator/tuscany/java/sca/modules/host-http/src/main/java/org/apache/tuscany/sca/host/http/ServletMappingException.java
Fri Mar 21 05:47:27 2008
@@ -19,7 +19,7 @@
package org.apache.tuscany.sca.host.http;
/**
- * Indicates an exception while registering a servlet mapping.
+ * Indicates an exception while registering a Servlet mapping.
*
* @version $Rev$ $Date$
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]