hammant 02/02/02 04:20:24
Modified: src/xdocs book.xml phoenix.uris
Added: src/xdocs what-is-an-application-listener.xml
Log:
app listener words.
Revision Changes Path
1.11 +1 -0 jakarta-avalon-phoenix/src/xdocs/book.xml
Index: book.xml
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/book.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- book.xml 3 Dec 2001 09:03:08 -0000 1.10
+++ book.xml 2 Feb 2002 12:20:24 -0000 1.11
@@ -39,6 +39,7 @@
<menu-item label="Overview" href="block-developers-guide.html" />
<menu-item label="What is a Block?" href="what-is-a-block.html" />
<menu-item label="What is a Block Listener?"
href="what-is-a-block-listener.html" />
+ <menu-item label="What is an Application Listener?"
href="what-is-an-application-listener.html" />
<menu-item label="BlockInfo Specification"
href="blockinfo-specification.html" />
<menu-item label="Creating a Block" href="creating-a-block.html" />
</menu>
1.9 +1 -0 jakarta-avalon-phoenix/src/xdocs/phoenix.uris
Index: phoenix.uris
===================================================================
RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/phoenix.uris,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- phoenix.uris 22 Dec 2001 13:04:16 -0000 1.8
+++ phoenix.uris 2 Feb 2002 12:20:24 -0000 1.9
@@ -15,6 +15,7 @@
block-developers-guide.html
what-is-a-block.html
what-is-a-block-listener.html
+what-is-an-application-listener.html
blockinfo-specification.html
creating-a-block.html
example-configuration.html
1.1
jakarta-avalon-phoenix/src/xdocs/what-is-an-application-listener.xml
Index: what-is-an-application-listener.xml
===================================================================
<?xml version="1.0"?>
<!DOCTYPE document SYSTEM "dtd/document-v10.dtd">
<document>
<header>
<title>Block Developers Guide</title>
<subtitle>What is an Application Listener?</subtitle>
<authors>
<person id="PH" name="Paul Hammant" email="[EMAIL PROTECTED]"/>
</authors>
</header>
<body>
<s1 title="Introduction">
<p>
This is very similar to <em>BlockListener</em> in that it is notified
during lifecycle of blocks and application. In Java terms the
<em>ApplicationListener</em> interface extends <em>BlockListener</em>
so it is always informd of both types of events
</p>
</s1>
<s1 title="Events notified">
<p>
ApplicationListener components are created before any Blocks are
created in an Application. They receive notifications before and
after the Applictaion is started and stopped.
</p>
</s1>
<s1 title="How to make a block listener">
<p>
Like normal blocks, an application listener can be
<em>LogEnabled</em>
and take configuration via <em>Configurable</em>. The special feature
is that it must implement <em>ApplicationListener</em> and implement
the four methods that are a consequence of that (as well as four from
<em>BlockListener</em>). The following section in assembly.xml causes
instantiation of the application listener. It is exactly the same as
that for <em>BlockListener</em>:
</p>
<source>
<listener class="pkg.MyApplicationListener" name="a-suitable-name"
/>
</source>
</s1>
</body>
<footer>
<legal>
Copyright (c) @year@ The Jakarta Apache Project All rights reserved.
$Revision: 1.1 $ $Date: 2002/02/02 12:20:24 $
</legal>
</footer>
</document>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>