You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2004/02/02 20:27:17 UTC
cvs commit: avalon/merlin/facilities/http/test/src/java/test/http TestServlet.java
mcconnell 2004/02/02 11:27:17
Modified: merlin/facilities/http/test/src/java/test/http
TestServlet.java
Log:
Temporty exposure of the servlet interface as a service.
Revision Changes Path
1.2 +3 -3 avalon/merlin/facilities/http/test/src/java/test/http/TestServlet.java
Index: TestServlet.java
===================================================================
RCS file: /home/cvs/avalon/merlin/facilities/http/test/src/java/test/http/TestServlet.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TestServlet.java 2 Feb 2004 03:29:23 -0000 1.1
+++ TestServlet.java 2 Feb 2004 19:27:17 -0000 1.2
@@ -25,7 +25,6 @@
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-
/**
* Servlet that handles the establishment of a Merlin Kernel
* and registration of the kernel base URL under the servlet
@@ -33,6 +32,7 @@
*
* @avalon.component name="test" lifestyle="transient"
* @author <a href="mailto:mcconnell@apache.org">Stephen McConnell</a>
+ * @avalon.service type="javax.servlet.Servlet"
*/
public class TestServlet extends HttpServlet
{
@@ -48,7 +48,7 @@
public void init()
throws ServletException
{
- System.out.println( "########### HELLO ##############" );
+ // not implemented in lifecycle yet
}
/**
@@ -56,7 +56,7 @@
*/
public void destroy()
{
- System.out.println( "########### BYE BYE ##############" );
+ // not implemented in lifecycle yet
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org