avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/meta/src/java/org/apache/excalibur/meta/info DependencyDescriptor.java
Date Fri, 13 Sep 2002 20:39:41 GMT
mcconnell    2002/09/13 13:39:41

  Modified:    meta/src/java/org/apache/excalibur/meta/info
                        DependencyDescriptor.java
  Log:
  Added the method getReference to theDependencyDescriptor class as a replacement
  to the existing getService method and deperecated getService().
  
  Revision  Changes    Path
  1.3       +14 -1     jakarta-avalon-excalibur/meta/src/java/org/apache/excalibur/meta/info/DependencyDescriptor.java
  
  Index: DependencyDescriptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/meta/src/java/org/apache/excalibur/meta/info/DependencyDescriptor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DependencyDescriptor.java	21 Aug 2002 03:34:32 -0000	1.2
  +++ DependencyDescriptor.java	13 Sep 2002 20:39:40 -0000	1.3
  @@ -108,8 +108,21 @@
        *
        * @return a reference to service reference that describes the fulfillment
        *  obligations that must be met by a service provider.
  +     * @deprecated use getReference()
        */
       public ReferenceDescriptor getService()
  +    {
  +        return m_service;
  +    }
  +
  +    /**
  +     * Return the service class/interface descriptor that describes the
  +     * dependency must fulfilled by a provider.
  +     *
  +     * @return a reference to service reference that describes the fulfillment
  +     *  obligations that must be met by a service provider.
  +     */
  +    public ReferenceDescriptor getReference()
       {
           return m_service;
       }
  
  
  

--
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