avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/metainfo ServiceDescriptor.java
Date Sun, 09 Jun 2002 00:37:59 GMT
donaldp     2002/06/08 17:37:59

  Modified:    containerkit/src/java/org/apache/excalibur/containerkit/metainfo
                        ServiceDescriptor.java
  Log:
  More naming touchups
  
  Revision  Changes    Path
  1.13      +11 -11    jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/metainfo/ServiceDescriptor.java
  
  Index: ServiceDescriptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/metainfo/ServiceDescriptor.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- ServiceDescriptor.java	9 Jun 2002 00:36:31 -0000	1.12
  +++ ServiceDescriptor.java	9 Jun 2002 00:37:59 -0000	1.13
  @@ -28,7 +28,7 @@
    * upon to work in all containers.</p>
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.12 $ $Date: 2002/06/09 00:36:31 $
  + * @version $Revision: 1.13 $ $Date: 2002/06/09 00:37:59 $
    */
   public final class ServiceDescriptor
       extends FeatureDescriptor
  @@ -36,38 +36,38 @@
       /**
        * The service reference that descriptor is describing.
        */
  -    private final ServiceDesignator m_serviceReference;
  +    private final ServiceDesignator m_designator;
   
       /**
  -     * Construct a service descriptor for specified ServiceReference.
  +     * Construct a service descriptor for specified ServiceDesignator.
        *
  -     * @param serviceReference the ServiceReference
  +     * @param designator the ServiceDesignator
        */
  -    public ServiceDescriptor( final ServiceDesignator serviceReference )
  +    public ServiceDescriptor( final ServiceDesignator designator )
       {
  -        this( serviceReference, null );
  +        this( designator, null );
       }
   
       /**
        * Construct a service with specified name, version and attributes.
        *
  -     * @param serviceReference the ServiceReference
  +     * @param designator the ServiceDesignator
        * @param attributes the attributes of service
        */
  -    public ServiceDescriptor( final ServiceDesignator serviceReference,
  +    public ServiceDescriptor( final ServiceDesignator designator,
                                 final Properties attributes )
       {
           super( attributes );
  -        m_serviceReference = serviceReference;
  +        m_designator = designator;
       }
   
       /**
        * Retrieve the service that service descriptor refers to.
        *
  -     * @return
  +     * @return the service that service descriptor refers to.
        */
       public ServiceDesignator getServiceDesignator()
       {
  -        return m_serviceReference;
  +        return m_designator;
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message