proyal      2002/07/13 12:33:06

  Modified:    src/java/org/apache/avalon/phoenix/metainfo BlockInfo.java
  Log:
  Removed storing schema as a Configuration object here.
  
  Revision  Changes    Path
  1.13      +2 -18     
jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/metainfo/BlockInfo.java
  
  Index: BlockInfo.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/metainfo/BlockInfo.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- BlockInfo.java    28 Jun 2002 05:09:04 -0000      1.12
  +++ BlockInfo.java    13 Jul 2002 19:33:06 -0000      1.13
  @@ -7,22 +7,18 @@
    */
   package org.apache.avalon.phoenix.metainfo;
   
  -import org.apache.avalon.framework.configuration.Configuration;
  -
   /**
    * This class contains meta-information of use to administative
    * tools and the kernel. It describes the services offered by a type
    * of block, the dependencies of the block, the management interface of
  - * block (if any), the configuration schema this block needs (if any)
  - * and also contains information useful to presenting information
  - * in administative screens (like human readable names etc).
  + * block (if any) and also contains information useful to presenting
  + * information in administative screens (like human readable names etc).
    *
    * @author <a href="mailto:[EMAIL PROTECTED]";>Peter Donald</a>
    */
   public class BlockInfo
   {
       private final BlockDescriptor m_descriptor;
  -    private final Configuration m_configurationSchema;
       private final ServiceDescriptor[] m_services;
       private final ServiceDescriptor[] m_managementAccessPoints;
       private final DependencyDescriptor[] m_dependencies;
  @@ -31,13 +27,11 @@
        * Basic constructor that takes as parameters all parts.
        */
       public BlockInfo( final BlockDescriptor descriptor,
  -                      final Configuration configurationSchema,
                         final ServiceDescriptor[] services,
                         final ServiceDescriptor[] managementAccessPoints,
                         final DependencyDescriptor[] dependencies )
       {
           m_descriptor = descriptor;
  -        m_configurationSchema = configurationSchema;
           m_services = services;
           m_managementAccessPoints = managementAccessPoints;
           m_dependencies = dependencies;
  @@ -53,16 +47,6 @@
       public BlockDescriptor getBlockDescriptor()
       {
           return m_descriptor;
  -    }
  -
  -    /**
  -     * Return configuration schema for this block, if one exists.
  -     *
  -     * @return the schema, or null
  -     */
  -    public Configuration getConfigurationSchema()
  -    {
  -        return m_configurationSchema;
       }
   
       /**
  
  
  

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

Reply via email to