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:25:13 UTC
cvs commit: avalon/merlin/facilities/http/api/src/java/org/apache/avalon/http HttpService.java
mcconnell 2004/02/02 11:25:13
Modified: merlin/facilities/http/api/src/java/org/apache/avalon/http
HttpService.java
Log:
Add an operation to register a component model with the server. This method is invoked by a model listener to register components that are servlets.
Revision Changes Path
1.3 +7 -0 avalon/merlin/facilities/http/api/src/java/org/apache/avalon/http/HttpService.java
Index: HttpService.java
===================================================================
RCS file: /home/cvs/avalon/merlin/facilities/http/api/src/java/org/apache/avalon/http/HttpService.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- HttpService.java 24 Jan 2004 23:25:30 -0000 1.2
+++ HttpService.java 2 Feb 2004 19:25:13 -0000 1.3
@@ -17,9 +17,16 @@
package org.apache.avalon.http;
+import org.apache.avalon.composition.model.ComponentModel;
+
/**
* Defintion of the HttpService service contract.
*/
public interface HttpService
{
+ /**
+ * Register a servlet under a context.
+ * @param model the component model
+ */
+ void register( ComponentModel model );
}
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org