You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by do...@apache.org on 2001/04/15 15:55:18 UTC

cvs commit: jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/facilities/configuration DefaultConfigurationRepository.java

donaldp     01/04/15 06:55:18

  Added:       src/java/org/apache/phoenix/engine/facilities/configuration
                        DefaultConfigurationRepository.java
  Log:
  Move ConfigurationRepository facility implementation to own package.
  
  Revision  Changes    Path
  1.1                  jakarta-avalon-phoenix/src/java/org/apache/phoenix/engine/facilities/configuration/DefaultConfigurationRepository.java
  
  Index: DefaultConfigurationRepository.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included with this distribution in
   * the LICENSE file.
   */
  package org.apache.phoenix.engine.facilities.configuration;
  
  import org.apache.avalon.camelot.Entry;
  import org.apache.avalon.configuration.Configuration;
  import org.apache.avalon.configuration.ConfigurationException;
  import org.apache.phoenix.engine.blocks.BlockEntry;
  import org.apache.phoenix.engine.facilities.ConfigurationRepository;
  
  /**
   * Repository from which all configuration data is retrieved.
   *
   * @author <a href="mailto:donaldp@apache.org">Peter Donald</a>
   */
  public class DefaultConfigurationRepository
      implements ConfigurationRepository
  {
      public Configuration getConfiguration( final String name, final Entry entry )
          throws ConfigurationException
      {
          final BlockEntry blockEntry = (BlockEntry)entry;
          return blockEntry.getConfiguration();
      }
  }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org