avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hamm...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/xdocs what-is-an-application-listener.xml book.xml phoenix.uris
Date Sat, 02 Feb 2002 12:20:24 GMT
hammant     02/02/02 04:20:24

  Modified:    src/xdocs book.xml phoenix.uris
  Added:       src/xdocs what-is-an-application-listener.xml
  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" />
  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 @@
  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">
      <title>Block Developers Guide</title>
      <subtitle>What is an Application Listener?</subtitle>
        <person id="PH" name="Paul Hammant" email="Paul_Hammant@yahoo.com"/>      
      <s1 title="Introduction">
          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
      <s1 title="Events notified">
          ApplicationListener components are created before any Blocks are 
          created in an Application. They receive notifications before and
          after the Applictaion is started and stopped.
      <s1 title="How to make a block listener">
          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>:
          &lt;listener class="pkg.MyApplicationListener" name="a-suitable-name" /&gt;
        Copyright (c) @year@ The Jakarta Apache Project All rights reserved.
        $Revision: 1.1 $ $Date: 2002/02/02 12:20:24 $

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