avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ne...@apache.org
Subject cvs commit: avalon/fortress/container/src/api/org/apache/avalon/fortress ContainerManager.java
Date Wed, 29 Oct 2003 18:35:27 GMT
neeme       2003/10/29 10:35:27

  Modified:    fortress/container/src/api/org/apache/avalon/fortress
                        ContainerManager.java
  Log:
  made the example in javadocs more consistent
  
  Revision  Changes    Path
  1.7       +5 -4      avalon/fortress/container/src/api/org/apache/avalon/fortress/ContainerManager.java
  
  Index: ContainerManager.java
  ===================================================================
  RCS file: /home/cvs/avalon/fortress/container/src/api/org/apache/avalon/fortress/ContainerManager.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ContainerManager.java	18 Apr 2003 20:02:29 -0000	1.6
  +++ ContainerManager.java	29 Oct 2003 18:35:27 -0000	1.7
  @@ -77,8 +77,9 @@
    *    config.setContainerConfiguration( "resource://org.apache.avalon.fortress/test/ContainerProfile.xconf"
);
    *    config.setLoggerManagerConfiguration( "resource://org.apache.avalon.fortress/test/ContainerProfile.xlog"
);
    *
  - *    ContainerManager cm = new DefaultContainerManager( config.getContext() );
  - *    ContainerUtil.initialize( cm );
  + *    ContextManager contextManager = config.getContext();
  + *    ContainerManager containerManager = new DefaultContainerManager( contextManager );
  + *    ContainerUtil.initialize( containerManager );
    * </code>
    * </pre>
    *
  @@ -86,7 +87,7 @@
    *
    * <pre>
    * <code>
  - *    TestContainer impl = (TestContainer) cm.getContainer();
  + *    TestContainer impl = (TestContainer) containerManager.getContainer();
    *    impl.handleRequest( ... );
    * </code>
    * </pre>
  
  
  

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


Mime
View raw message