hammant 02/02/01 03:25:13
Modified: src/xdocs what-is-a-block-listener.xml
Log:
more text on block listener
Revision Changes Path
1.3 +15 -1
jakarta-avalon-phoenix/src/xdocs/what-is-a-block-listener.xml
Index: what-is-a-block-listener.xml
===================================================================
RCS file:
/home/cvs/jakarta-avalon-phoenix/src/xdocs/what-is-a-block-listener.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- what-is-a-block-listener.xml 19 Nov 2001 12:21:32 -0000 1.2
+++ what-is-a-block-listener.xml 1 Feb 2002 11:25:13 -0000 1.3
@@ -8,6 +8,7 @@
<subtitle>What is a Block Listener?</subtitle>
<authors>
<person id="PD" name="Peter Donald" email="[EMAIL PROTECTED]"/>
+ <person id="PH" name="Paul Hammant" email="[EMAIL PROTECTED]"/>
</authors>
</header>
<body>
@@ -43,11 +44,24 @@
be registered with the SOAPServer.
</p>
</s1>
+ <s1 title="How to make a block listener">
+ <p>
+ Like normal blocks, a block listener can be <em>LogEnabled</em> and
take
+ configuration via <em>Configurable</em>. The special feature is
that it
+ must implement <em>BlockListener</em> and the four methods that are a
+ consequence of that. Those methods illustrate blocks being added
and
+ removed etc and come with a <em>BlockEvent</em> argument. The
following
+ section in assembly.xml causes instantiation of the block listener:
+ </p>
+ <source>
+ <listener class="pkg.MyBlockListener" name="a-suitable-name"
/>
+ </source>
+ </s1>
</body>
<footer>
<legal>
Copyright (c) @year@ The Jakarta Apache Project All rights reserved.
- $Revision: 1.2 $ $Date: 2001/11/19 12:21:32 $
+ $Revision: 1.3 $ $Date: 2002/02/01 11:25:13 $
</legal>
</footer>
</document>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>