dlr 01/06/06 17:03:46
Modified: src/java/org/apache/turbine/services Service.java
Log:
Patch by Leonard Richardson <[EMAIL PROTECTED]> to allow integration of Service
implementations. Though this is a major interface change, since most Service
implementations extend BaseService (which implements a public getName�method), this
should not be an issue.
Revision Changes Path
1.8 +9 -1
jakarta-turbine/src/java/org/apache/turbine/services/Service.java
Index: Service.java
===================================================================
RCS file:
/home/cvs/jakarta-turbine/src/java/org/apache/turbine/services/Service.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Service.java 2001/05/05 13:26:55 1.7
+++ Service.java 2001/06/07 00:03:46 1.8
@@ -66,7 +66,8 @@
* @author <a href="mailto:[EMAIL PROTECTED]">Kevin Burton</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Rafal Krzewski</a>
* @author <a href="mailto:[EMAIL PROTECTED]">Daniel Rall</a>
- * @version $Id: Service.java,v 1.7 2001/05/05 13:26:55 jvanzyl Exp $
+ * @author <a href="mailto:[EMAIL PROTECTED]">Leonard Richardson</a>
+ * @version $Id: Service.java,v 1.8 2001/06/07 00:03:46 dlr Exp $
*/
public interface Service
extends Initable
@@ -91,6 +92,13 @@
* @param name The name of this Service.
*/
public void setName( String name );
+
+ /**
+ * Returns the name of this Service.
+ *
+ * @return The name of this Service.
+ */
+ public String getName();
/**
* Returns the Properties of this Service. Every Service has at
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]