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/threads DefaultThreadManager-schema.xml DefaultThreadManager.java
Date Sat, 13 Jul 2002 19:55:48 GMT
proyal      2002/07/13 12:55:48

  Modified:    src/java/org/apache/avalon/cornerstone/blocks/threads
                        DefaultThreadManager.java
  Added:       src/java/org/apache/avalon/cornerstone/blocks/threads
                        DefaultThreadManager-schema.xml
  Log:
  Added configuration schema
  
  Revision  Changes    Path
  1.11      +1 -0      jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/threads/DefaultThreadManager.java
  
  Index: DefaultThreadManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/threads/DefaultThreadManager.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- DefaultThreadManager.java	18 May 2002 13:30:09 -0000	1.10
  +++ DefaultThreadManager.java	13 Jul 2002 19:55:48 -0000	1.11
  @@ -37,6 +37,7 @@
        *
        * @param configuration the configuration data
        * @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/threads/DefaultThreadManager-schema.xml
  
  Index: DefaultThreadManager-schema.xml
  ===================================================================
  <?xml version="1.0"?>
  <element
      name="root"
      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"
  >
      <oneOrMore>
          <element name="thread-group">
              <interleave>
                  <element name="name"><text/></element>
                  <element name="priority"><data type="integer"/></element>
                  <element name="is-daemon"><data type="boolean"/></element>
                  <element name="min-threads"><data type="integer"/></element>
                  <element name="max-threads"><data type="integer"/></element>
                  <element name="min-spare-threads"><data type="integer"/></element>
              </interleave>
          </element>
      </oneOrMore>
  </element>
  
  
  

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