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/xdocs guide-block-developers-making-phoenix-compatible-comps.xml
Date Wed, 22 May 2002 13:53:04 GMT
donaldp     02/05/22 06:53:04

  Modified:    src/xdocs Tag: ANAKIA_DOCS
                        guide-block-developers-making-phoenix-compatible-comps.xml
  Log:
  Manually wordwrap way big sections.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.4   +11 -4     jakarta-avalon-phoenix/src/xdocs/guide-block-developers-making-phoenix-compatible-comps.xml
  
  Index: guide-block-developers-making-phoenix-compatible-comps.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/guide-block-developers-making-phoenix-compatible-comps.xml,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- guide-block-developers-making-phoenix-compatible-comps.xml	21 May 2002 12:18:32 -0000
1.1.2.3
  +++ guide-block-developers-making-phoenix-compatible-comps.xml	22 May 2002 13:53:03 -0000
1.1.2.4
  @@ -116,7 +116,10 @@
         When we are trying to run this in phoeinix we might have this wrapper:
   <source>
   package examplecomp.block;
  -public class WebServerBlock extends AbstractLoggable implements Block, WebServer, Startable,
Configurable, Initializable {
  +public class WebServerBlock
  +    extends AbstractLoggable
  +    implements WebServer, Startable, Configurable, Initializable {
  +
       private int mPort;
       private WebServer mWebServer;
   
  @@ -124,7 +127,8 @@
           mWebServer = new MyWebServer();
       }
   
  -    public void configure(final Configuration configuration) throws ConfigurationException
{
  +    public void configure(final Configuration configuration)
  +        throws ConfigurationException {
           mPort = configuration.getChild("port").getValueAsInteger( 9001 );
       }
   
  @@ -156,11 +160,14 @@
         being reused by another Phoenix block (say an EJB server), it might be like so:
   <source>
   package somebeanserver;
  -public class EJBBlock extends AbstractLoggable implements Block, Composable {
  +public class EJBBlock
  +    extends AbstractLoggable
  +    implements Composable {
   
       private WebServer mWebServer;
   
  -    public void compose(final ComponentManager compMgr) throws ComponentException {
  +    public void compose(final ComponentManager compMgr)
  +        throws ComponentException {
           mWebServer = compMgr.lookup("WebServer");
       }
   
  
  
  

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


Mime
View raw message