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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]