You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by dl...@apache.org on 2001/06/07 02:03:46 UTC

cvs commit: jakarta-turbine/src/java/org/apache/turbine/services Service.java

dlr         01/06/06 17:03:46

  Modified:    src/java/org/apache/turbine/services Service.java
  Log:
  Patch by Leonard Richardson <le...@collab.net> 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:burton@apache.org">Kevin Burton</a>
    * @author <a href="mailto:krzewski@e-point.pl">Rafal Krzewski</a>
    * @author <a href="mailto:dlr@collab.net">Daniel Rall</a>
  - * @version $Id: Service.java,v 1.7 2001/05/05 13:26:55 jvanzyl Exp $
  + * @author <a href="mailto:leonardr@collab.net">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: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org