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/conf digesterRules.xml testDigesterConfiguration.xml testDigesterConfigurationNamespaceAware.xml testDigesterConfigurationReverseOrder.xml testDigesterConfigurationWJNDI.xml
Date Tue, 18 Mar 2003 21:45:51 GMT
epugh       2003/03/18 13:45:51

  Added:       configuration/conf digesterRules.xml
                        testDigesterConfiguration.xml
                        testDigesterConfigurationNamespaceAware.xml
                        testDigesterConfigurationReverseOrder.xml
                        testDigesterConfigurationWJNDI.xml
  Log:
  Various files to support testing and also provide demo of how to use ConfigurationFactory.
  
  Revision  Changes    Path
  1.1                  jakarta-commons-sandbox/configuration/conf/digesterRules.xml
  
  Index: digesterRules.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE digester-rules PUBLIC "-//Jakarta Apache //DTD digester-rules XML V1.0//EN"
"http://jakarta.apache.org/commons/digester/dtds/digester-rules.dtd">
  <digester-rules>
    <pattern value="configuration/properties">
      <object-create-rule classname="org.apache.commons.configuration.PropertiesConfiguration"/>
      <set-properties-rule/>
      <set-next-rule methodname="addConfiguration" paramtype="org.apache.commons.configuration.Configuration"/>
      <call-method-rule methodname="load"/>
    </pattern>
    <pattern value="configuration/dom4j">
      <object-create-rule classname="org.apache.commons.configuration.DOM4JConfiguration"/>
      <set-properties-rule/>
      <set-next-rule methodname="addConfiguration" paramtype="org.apache.commons.configuration.Configuration"/>
      <call-method-rule methodname="load"/>
    </pattern>  
    <pattern value="configuration/jndi">
      <object-create-rule classname="org.apache.commons.configuration.JNIDConfiguration"/>
      <set-properties-rule/>
      <set-next-rule methodname="addConfiguration" paramtype="org.apache.commons.configuration.Configuration"/>
      
    </pattern>    
  </digester-rules>
  
  
  
  1.1                  jakarta-commons-sandbox/configuration/conf/testDigesterConfiguration.xml
  
  Index: testDigesterConfiguration.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1" ?>
  
  <configuration>
    <properties className="org.apache.commons.configuration.PropertiesConfiguration" fileName="conf/test.properties"/>
    <dom4j className="org.apache.commons.configuration.DOM4JConfiguration" fileName="conf/test.xml"/>
  </configuration>
  
    
    
  
  
  
  
  
  
  1.1                  jakarta-commons-sandbox/configuration/conf/testDigesterConfigurationNamespaceAware.xml
  
  Index: testDigesterConfigurationNamespaceAware.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1" ?>
  
  
  
  <configuration xmlns:foo="namespace-one"
                 xmlns:bar="namespace-two">
    <foo:properties className="org.apache.commons.configuration.PropertiesConfiguration"
fileName="conf/test.properties"/>
    <bar:dom4j className="org.apache.commons.configuration.DOM4JConfiguration" fileName="conf/test.xml"/>
  </configuration>
  
  
    
    
  
  
  
  
  
  
  1.1                  jakarta-commons-sandbox/configuration/conf/testDigesterConfigurationReverseOrder.xml
  
  Index: testDigesterConfigurationReverseOrder.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1" ?>
  
  <configuration>
    <dom4j className="org.apache.commons.configuration.DOM4JConfiguration" fileName="conf/test.xml"/>
    <properties className="org.apache.commons.configuration.PropertiesConfiguration" fileName="conf/test.properties"/>
    
  </configuration>
  
    
    
  
  
  
  
  
  
  1.1                  jakarta-commons-sandbox/configuration/conf/testDigesterConfigurationWJNDI.xml
  
  Index: testDigesterConfigurationWJNDI.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1" ?>
  
  <configuration>
    <jndi className="org.apache.commons.configuration.JNDIConfiguration" prefix="java:comp/env"/>
    <properties className="org.apache.commons.configuration.PropertiesConfiguration" fileName="conf/test.properties"/>
    <dom4j className="org.apache.commons.configuration.DOM4JConfiguration" fileName="conf/test.xml"/>
    
    
  </configuration>
  
    
    
  
  
  
  
  
  

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