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 DependencyDescriptor.java
Date Sun, 09 Jun 2002 00:28:11 GMT
donaldp     2002/06/08 17:28:11

  Modified:    containerkit/src/java/org/apache/excalibur/containerkit/metainfo
                        DependencyDescriptor.java
  Log:
  Remove back-pointer to info
  
  Revision  Changes    Path
  1.11      +1 -30     jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/metainfo/DependencyDescriptor.java
  
  Index: DependencyDescriptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/metainfo/DependencyDescriptor.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DependencyDescriptor.java	9 Jun 2002 00:27:26 -0000	1.10
  +++ DependencyDescriptor.java	9 Jun 2002 00:28:11 -0000	1.11
  @@ -32,7 +32,7 @@
    * demands.</p>
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.10 $ $Date: 2002/06/09 00:27:26 $
  + * @version $Revision: 1.11 $ $Date: 2002/06/09 00:28:11 $
    */
   public final class DependencyDescriptor
       extends FeatureDescriptor
  @@ -48,12 +48,6 @@
       private final ServiceReference m_service;
   
       /**
  -     * A reference to the ComponentInfo instance that this descriptor
  -     * is contained by.
  -     */
  -    private ComponentInfo m_parent;
  -
  -    /**
        * Constructor a dependency sans Attributes.
        */
       public DependencyDescriptor( final String role,
  @@ -69,21 +63,9 @@
                                    final ServiceReference service,
                                    final Properties attributes )
       {
  -        this( role, service, attributes, null );
  -    }
  -
  -    /**
  -     * Constructor that has all parts as parameters.
  -     */
  -    public DependencyDescriptor( final String role,
  -                                 final ServiceReference service,
  -                                 final Properties attributes,
  -                                 final ComponentInfo parent )
  -    {
           super( attributes );
           m_role = role;
           m_service = service;
  -        m_parent = parent;
       }
   
       /**
  @@ -106,16 +88,5 @@
       public ServiceReference getService()
       {
           return m_service;
  -    }
  -
  -    /**
  -     * Return the <code>ComponentInfo</code> instance that is the parent of
  -     * this dependency descriptor.
  -     *
  -     * @return the parent component info instance or null if undefined.
  -     */
  -    public ComponentInfo getParent()
  -    {
  -        return m_parent;
       }
   }
  
  
  

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