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/transport/publishing SocketStreamPublisher-schema.xml SocketStreamPublisher.java
Date Sat, 13 Jul 2002 19:56:11 GMT
proyal      2002/07/13 12:56:11

  Modified:    src/java/org/apache/avalon/cornerstone/blocks/transport/publishing
                        SocketStreamPublisher.java
  Added:       src/java/org/apache/avalon/cornerstone/blocks/transport/publishing
                        SocketStreamPublisher-schema.xml
  Log:
  Added configuration schema
  
  Revision  Changes    Path
  1.7       +4 -1      jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/transport/publishing/SocketStreamPublisher.java
  
  Index: SocketStreamPublisher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/transport/publishing/SocketStreamPublisher.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SocketStreamPublisher.java	12 Jul 2002 00:26:03 -0000	1.6
  +++ SocketStreamPublisher.java	13 Jul 2002 19:56:11 -0000	1.7
  @@ -43,6 +43,9 @@
       private String m_socketStreamServerClass;
       private boolean m_allAddresses = false;
   
  +    /**
  +     * @phoenix:configuration-schema type="relax-ng"
  +     */
       public final void configure( Configuration configuration ) throws ConfigurationException
       {
   
  
  
  
  1.1                  jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/blocks/transport/publishing/SocketStreamPublisher-schema.xml
  
  Index: SocketStreamPublisher-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"
  >
      <interleave>
          <element name="bind"><text/></element>
          <element name="port"><data type="integer"/></element>
          <element name="socketStreamServerClass"><text/></element>
          <element name="classRetrieverType">
              <choice>
                  <value>baseMobileClass</value>
                  <value>jarFile</value>
                  <value>none</value>
              </choice>
          </element>
      </interleave>
  </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