donaldp     2002/11/14 04:20:52

  Modified:    info/src/java/org/apache/avalon/framework/info
                        ComponentInfo.java
  Log:
  Add boiler plate javadocs
  
  Revision  Changes    Path
  1.5       +32 -13    
jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/info/ComponentInfo.java
  
  Index: ComponentInfo.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/info/src/java/org/apache/avalon/framework/info/ComponentInfo.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ComponentInfo.java        13 Sep 2002 15:42:12 -0000      1.4
  +++ ComponentInfo.java        14 Nov 2002 12:20:51 -0000      1.5
  @@ -28,13 +28,32 @@
   public class ComponentInfo
       implements Serializable
   {
  +    /**
  +     * descriptor for the component.
  +     */
       private final ComponentDescriptor m_descriptor;
  -    private final ContextDescriptor m_context;
  +
  +    /**
  +     * Descriptors for the services exported by component.
  +     */
       private final ServiceDescriptor[] m_services;
  -    private final DependencyDescriptor[] m_dependencies;
  +
  +    /**
  +     * Descriptors for the loggers used by component.
  +     */
       private final LoggerDescriptor[] m_loggers;
   
       /**
  +     * Descriptor for the context (and entrys) used by component.
  +     */
  +    private final ContextDescriptor m_context;
  +
  +    /**
  +     * Descriptor for the service dependencies of component.
  +     */
  +    private final DependencyDescriptor[] m_dependencies;
  +
  +    /**
        * Basic constructor that takes as parameters all parts.
        */
       public ComponentInfo( final ComponentDescriptor descriptor,
  @@ -81,6 +100,16 @@
       }
   
       /**
  +     * Return the set of Services that this Component is capable of 
providing.
  +     *
  +     * @return the set of Services that this Component is capable of 
providing.
  +     */
  +    public ServiceDescriptor[] getServices()
  +    {
  +        return m_services;
  +    }
  +
  +    /**
        * Return the set of Logger that this Component will use.
        *
        * @return the set of Logger that this Component will use.
  @@ -99,16 +128,6 @@
       public ContextDescriptor getContextDescriptor()
       {
           return m_context;
  -    }
  -
  -    /**
  -     * Return the set of Services that this Component is capable of 
providing.
  -     *
  -     * @return the set of Services that this Component is capable of 
providing.
  -     */
  -    public ServiceDescriptor[] getServices()
  -    {
  -        return m_services;
       }
   
       /**
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to