avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/sockets DefaultSocketManager-schema.xml DefaultSocketManager.java
Date Sat, 13 Jul 2002 19:55:13 GMT
proyal      2002/07/13 12:55:13

  Modified:    src/java/org/apache/avalon/cornerstone/blocks/sockets
                        DefaultSocketManager.java
  Added:       src/java/org/apache/avalon/cornerstone/blocks/sockets
                        DefaultSocketManager-schema.xml
  Log:
  Added configuration schema
  
  Revision  Changes    Path
  1.11      +1 -0      jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/sockets/DefaultSocketManager.java
  
  Index: DefaultSocketManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/sockets/DefaultSocketManager.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultSocketManager.java	12 Jul 2002 21:47:16 -0000	1.10
  +++ DefaultSocketManager.java	13 Jul 2002 19:55:13 -0000	1.11
  @@ -50,6 +50,7 @@
        *
        * @param configuration the Configuration
        * @exception ConfigurationException if an error occurs
  +     * @phoenix:configuration-schema type="relax-ng"
        */
       public void configure( final Configuration configuration )
           throws ConfigurationException
  
  
  
  1.1                  jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/sockets/DefaultSocketManager-schema.xml
  
  Index: DefaultSocketManager-schema.xml
  ===================================================================
  <?xml version="1.0"?>
  <grammar
      xmlns="http://relaxng.org/ns/structure/1.0"
      datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"
      xmlns:a="http://jakarta.apache.org/phoenix/schema-annotations/1.0"
  >
      <start>
          <element name="root">
              <optional>
                  <element name="server-sockets">
                      <oneOrMore>
                          <ref name="factory"/>
                      </oneOrMore>
                  </element>
                  <element name="client-sockets">
                      <oneOrMore>
                          <ref name="factory"/>
                      </oneOrMore>
                  </element>
              </optional>
          </element>
      </start>
  
      <define name="factory">
          <element name="factory">
              <attribute name="name"/>
              <attribute name="class"/>
          </element>
      </define>
  </grammar>
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message