avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/schema assembly.dtd
Date Sun, 08 Sep 2002 12:27:37 GMT
donaldp     2002/09/08 05:27:37

  Modified:    src/schema Tag: FACTORY-branch assembly.dtd
  Enhance assembly dtd to support factorys and interceptors
  Revision  Changes    Path
  No                   revision
  No                   revision   +29 -4     jakarta-avalon-phoenix/src/schema/assembly.dtd
  Index: assembly.dtd
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/schema/assembly.dtd,v
  retrieving revision 1.4
  retrieving revision
  diff -u -r1.4 -r1.4.4.1
  --- assembly.dtd	18 Aug 2002 08:23:34 -0000	1.4
  +++ assembly.dtd	8 Sep 2002 12:27:37 -0000
  @@ -22,7 +22,7 @@
   block           a block that exists in the application
   block-listener  a listener that exists in the application
  -<!ELEMENT assembly (block|block-listener|listener)*>
  +<!ELEMENT assembly (block|block-listener|listener|factory)*>
   <!ATTLIST assembly id ID #IMPLIED
             xmlns CDATA #FIXED "http://jakarta.apache.org/phoenix/assembly_1_0.dtd" >
  @@ -31,15 +31,22 @@
   The element defines:
   name            the name of a block
  -class           the class of block instance
  +class           the class of block instance.
  +                cannot be used with none-default factory
  +factory         the name of the block factory.
  +                optional, default factory will be used if not specified
  +impl            factory specific description of the implementation of the block.
  +                default factory expects the classname of block instance
   provide         declare that particular blocks that will provide
                   the block with particular services
   proxy           TODO:description
   <!ELEMENT block (provide*,proxy?)>
  -  <!ATTLIST block class CDATA #REQUIRED>
     <!ATTLIST block name CDATA #REQUIRED>
  +  <!ATTLIST block class CDATA #IMPLIED>
  +  <!ATTLIST block factory CDATA #IMPLIED>
  +  <!ATTLIST block impl CDATA #IMPLIED>
   The provide element declares that a specific service is provided to the block
  @@ -57,8 +64,26 @@
   disable TODO:description
  -<!ELEMENT proxy EMPTY>
  +<!ELEMENT proxy (interceptor*)>
     <!ATTLIST proxy disable CDATA #REQUIRED>
  +class           the class of block invocation interceptor
  +<!ELEMENT interceptor EMPTY>
  +  <!ATTLIST interceptor class CDATA #REQUIRED>
  +TODO: description
  +name            the name of the factory
  +class           the class of the factory instance
  +<!ELEMENT factory EMPTY>
  +  <!ATTLIST factory name CDATA #REQUIRED>
  +  <!ATTLIST factory class CDATA #REQUIRED>
   The block element declares a listener exists in the application.

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

View raw message