commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ep...@apache.org
Subject cvs commit: jakarta-commons-sandbox/configuration/xdocs tasks.xml index.xml
Date Fri, 17 Oct 2003 08:30:07 GMT
epugh       2003/10/17 01:30:07

  Modified:    configuration/xdocs tasks.xml index.xml
  Log:
  Doco enhancements
  
  Revision  Changes    Path
  1.7       +4 -0      jakarta-commons-sandbox/configuration/xdocs/tasks.xml
  
  Index: tasks.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/configuration/xdocs/tasks.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- tasks.xml	21 Jun 2003 22:11:03 -0000	1.6
  +++ tasks.xml	17 Oct 2003 08:30:06 -0000	1.7
  @@ -46,6 +46,10 @@
                 Need to be able to retrieve configuration values from JDBC 
                 datasource.
             </li>
  +          <li>
  +              <strong>JDBC backed by Hibernate</strong>
  +              Would love to have a JDBC version backed with Hibernate.
  +          </li>          
          </ul>
       </subsection>
       
  
  
  
  1.5       +25 -7     jakarta-commons-sandbox/configuration/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/configuration/xdocs/index.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- index.xml	2 Jun 2003 17:29:35 -0000	1.4
  +++ index.xml	17 Oct 2003 08:30:06 -0000	1.5
  @@ -10,17 +10,35 @@
     </properties>
   
     <body>
  -    <section name="Configuration">
  +    <section name="Intro">
  +      <p>
  +      	Configuration is a project to provide a generic Configuration
  +      	interface and allow the source of the
  +        values to vary.  It 
  +      	provides easy typed access to single, as well as lists of 
  +      	configuration values based on a 'key':
  +<source><![CDATA[
  +	Double double = Configuration.getDouble("some_double_value");
  +]]></source>      	
  +      </p>
  +      <p>
  +		Right now you can load properties from a simple properties file, 
  +		a properties file in a jar, an XML file, JNDI settings, as well as use
  +        a mix different sources using a ConfigurationFactory and CompositeConfiguration.
  +      </p>
  +      <p>
  +      	Custom configuration objects are very easy to create now by just subclassing 
  +      	AbstractConfiguration.  This works similar to how AbstractList works.
  +      </p>
  +    </section>  	
  +    <section name="History">
         <p>
           This code originated in JServ, was brought into Turbine,
           moved to Velocity and improved, and then moved into the
           Commons as ExtendedProperties. The code in
  -        ExtendedProperties is a little unweildly and deals
  -        specifically with properties files. We wanted to use a
  -        general Configuration interface and allow the source of the
  -        values to vary. Right now you can load properties from a simple
  -        properties file, an XML file, JNDI settings, as well as use
  -        a mix different sources using a ConfigurationFactory.
  +        ExtendedProperties is a little unwieldly and deals
  +        specifically with properties files.  Eventually it was added to
  +        the Commons sandbox project. 
         </p>
       </section>
     </body>
  
  
  

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


Mime
View raw message