froehlich    01/11/16 04:24:07

  Added:       docs/phoenix what-is-a-block-listener.html
  Log:
  new doc example configuration
  
  Revision  Changes    Path
  1.1                  
jakarta-avalon-site/docs/phoenix/what-is-a-block-listener.html
  
  Index: what-is-a-block-listener.html
  ===================================================================
  <html>
  <head>
  <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  <title>Block Developers Guide</title>
  </head>
  <body bgcolor="#ffffff" marginheight="4" marginwidth="4" leftmargin="4" 
topmargin="4" alink="#023264" vlink="#023264" link="#525D76" text="#000000">
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
  <td align="left" valign="top"><a 
href="http://jakarta.apache.org/index.html";><img src="images/jakarta-logo.gif" 
border="0" vspace="0" hspace="0"></a></td><td bgcolor="#ffffff" align="left" 
valign="top" width="100%"><img src="images/header.gif" align="right" border="0" 
vspace="0" hspace="0"></td>
  </tr>
  <tr>
  <td colspan="2" height="2" width="100%">
  <hr size="1" noshade="">
  </td>
  </tr>
  </table>
  <table border="0" cellpadding="0" cellspacing="0" width="100%">
  <tr>
  <td valign="top" width="1%"></td><td nowrap="1" valign="top" width="14%">
  <br>
  <font face="arial,helvetica,sanserif">
  <br>
  <br>
  <a href="http://jakarta.apache.org/avalon";><font size="+1" 
color="#F3510C">Back to Avalon</font></a>
  <br>
  <br>
  <font size="+1" color="#000000">About</font>
  <br>
  <font size="-1">
  <ul>
  <li>
  <a href="index.html"><font size="-1">Overview</font></a>
  </li>
  <li>
  <a href="features.html"><font size="-1">Features</font></a>
  </li>
  <li>
  <a 
href="http://jakarta.apache.org/builds/jakarta-avalon/release/phoenix";><font 
size="-1">Download</font></a>
  </li>
  <li>
  <a href="getting-started.html"><font size="-1">Getting Started</font></a>
  </li>
  <li>
  <a href="install.html"><font size="-1">Installation</font></a>
  </li>
  <li>
  <a href="todo.html"><font size="-1">Todo</font></a>
  </li>
  <li>
  <a href="changes.html"><font size="-1">Changes</font></a>
  </li>
  <li>
  <a href="api/index.html"><font size="-1">API Docs</font></a>
  </li>
  </ul>
  </font>
  <br>
  <br>
  <font size="+1" color="#000000">Administrators Guide</font>
  <br>
  <font size="-1">
  <ul>
  <li>
  <a href="administrator-guide.html"><font size="-1">Overview</font></a>
  </li>
  </ul>
  </font>
  <br>
  <br>
  <font size="+1" color="#000000">Deployers Guide</font>
  <br>
  <font size="-1">
  <ul>
  <li>
  <a href="deployers-guide.html"><font size="-1">Overview</font></a>
  </li>
  </ul>
  </font>
  <br>
  <br>
  <font size="+1" color="#000000">Assemblers Guide</font>
  <br>
  <font size="-1">
  <ul>
  <li>
  <a href="assemblers-guide.html"><font size="-1">Overview</font></a>
  </li>
  <li>
  <a href="what-is-a-server-application.html"><font size="-1">What is a Server 
Application?</font></a>
  </li>
  <li>
  <a href="creating-a-server-application.html"><font size="-1">Creating a 
Server Application</font></a>
  </li>
  <li>
  <a href="config-xml-specification.html"><font size="-1">config.xml 
Specification</font></a>
  </li>
  <li>
  <a href="assembly-xml-specification.html"><font size="-1">assembly.xml 
Specification</font></a>
  </li>
  <li>
  <a href="environment-xml-specification.html"><font size="-1">environment.xml 
Specification</font></a>
  </li>
  </ul>
  </font>
  <br>
  <br>
  <font size="+1" color="#000000">Block Developers Guide</font>
  <br>
  <font size="-1">
  <ul>
  <li>
  <a href="block-developers-guide.html"><font size="-1">Overview</font></a>
  </li>
  <li>
  <a href="what-is-a-block.html"><font size="-1">What is a Block?</font></a>
  </li>
  <li>
  <a href="what-is-a-block-listener.html"><font size="-1">What is a Block 
Listener?</font></a>
  </li>
  <li>
  <a href="blockinfo-specification.html"><font size="-1">BlockInfo 
Specification</font></a>
  </li>
  <li>
  <a href="creating-a-block.html"><font size="-1">Creating a Block</font></a>
  </li>
  </ul>
  </font>
  <br>
  <br>
  <font size="+1" color="#000000">All together</font>
  <br>
  <font size="-1">
  <ul>
  <li>
  <a href="example-configuration.html"><font size="-1">Example 
configuration</font></a>
  </li>
  </ul>
  </font>
  <br>
  <br>
  </font></td><td align="left" valign="top" width="*">
  <title>Block Developers Guide</title>
  <center>
  <table width="80%">
  <tr>
  <td bgcolor="#F3DD61">
  <br>
  <center>
  <b><font face="arial,helvetica,sanserif" color="#000000">Block Developers 
Guide</font></b>
  </center>
  <br>
  </td>
  </tr>
  </table>
  </center>
  <br>
  <font face="arial,helvetica,sanserif" color="#000000"></font>
  <br>
  <div align="right">
  <table cellspacing="0" cellpadding="2" border="0" width="100%">
  <tr>
  <td bgcolor="#525D76"><font face="arial,helvetica,sanserif" color="#ffffff" 
size="+1"><b>Introduction</b></font></td>
  </tr>
  <tr>
  <td><font face="arial,helvetica,sanserif" color="#000000">
  <br>
        
  <p align="justify">
          A Phoenix Application consists of Blocks. Blocks can depend on the 
          services of other Blocks. However there is circumstances in which
          relationships between Blocks other than dependency relationships 
          should exist in an application.
        </p>
        
  <p align="justify">
          For example, you may have a Block that is capable of exporting
          other Blocks as SOAP services. The Blocks that wish to be exported 
          as SOAP services may need to export a service interface that extends
          SOAPClient. 
        </p>
      
  </font></td>
  </tr>
  </table>
  </div>
  <br>
  <div align="right">
  <table cellspacing="0" cellpadding="2" border="0" width="100%">
  <tr>
  <td bgcolor="#525D76"><font face="arial,helvetica,sanserif" color="#ffffff" 
size="+1"><b>What is a Block Listener?</b></font></td>
  </tr>
  <tr>
  <td><font face="arial,helvetica,sanserif" color="#000000">
  <br>
        
  <p align="justify">
          A BlockListener is a component that is created before any Blocks are 
          created in an Application. It receives notification after each Block
          is created and setup for Application. The listener also receives 
          notification when a Block is about to be shutdown.
        </p>
        
  <p align="justify">        
          The relationship discussed above (between SOAPServer and SOAPClients)
          could be modelled as dependencies but that would mean that each 
application 
          would need to modify the SOAPServer so that it depended on a 
particular 
          number of SOAPClients that was specific to application. A better 
approach 
          to modelling these relationships would be to use a BlockListener to 
"wire" 
          together the SOAPClient services in Blocks to the SOAPServer service. 
As 
          soon as any Block is detected that implements a SOAPClient service it 
could 
          be registered with the SOAPServer.
        </p>
      
  </font></td>
  </tr>
  </table>
  </div>
  <br>
  </td>
  </tr>
  </table>
  <br>
  <table cellpadding="0" cellspacing="0" border="0" width="100%">
  <tr>
  <td>
  <hr size="1" noshade="">
  </td>
  </tr>
  <tr>
  <td align="center"><font color="#525D76" size="-1" 
face="arial,helvetica,sanserif"><i>
                Copyright &copy;1999-2001 by the Apache Software Foundation.
                All Rights Reserved.
              </i></font></td>
  </tr>
  </table>
  </body>
  </html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to