bloritsch    02/02/14 07:22:42

  Modified:    src/scratchpad/org/apache/avalon/excalibur/system
                        ContainerManager.java
  Log:
  make ContainerManager return an Object instead of Container for 
getContainer().\nConsidering all the discussion regarding the Component marker 
interface, we don't want to introduce a bad pattern.
  
  Revision  Changes    Path
  1.24      +3 -4      
jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system/ContainerManager.java
  
  Index: ContainerManager.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system/ContainerManager.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ContainerManager.java     13 Feb 2002 22:19:11 -0000      1.23
  +++ ContainerManager.java     14 Feb 2002 15:22:42 -0000      1.24
  @@ -109,7 +109,7 @@
    * </table>
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
  - * @version CVS $Revision: 1.23 $ $Date: 2002/02/13 22:19:11 $
  + * @version CVS $Revision: 1.24 $ $Date: 2002/02/14 15:22:42 $
    */
   public class ContainerManager implements Disposable
   {
  @@ -208,10 +208,9 @@
   
       /**
        * Get a reference to your Container.  Typically, you would cast this to
  -     * whatever interface you will use to interact with it.  The actual
  -     * initialization process
  +     * whatever interface you will use to interact with it.
        */
  -    public Container getContainer()
  +    public Object getContainer()
       {
           return m_containerInstance;
       }
  
  
  

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

Reply via email to