avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/lifecycle/impl AbstractResourceProvider.java
Date Thu, 04 Jul 2002 03:37:07 GMT
mcconnell    2002/07/03 20:37:07

  Modified:    containerkit/src/java/org/apache/excalibur/containerkit/lifecycle/impl
                        AbstractResourceProvider.java
  Log:
  Updated to support the getContext( Context parent ) operation in the
  ComponentMetaData class.
  
  Revision  Changes    Path
  1.5       +3 -2      jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/lifecycle/impl/AbstractResourceProvider.java
  
  Index: AbstractResourceProvider.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/lifecycle/impl/AbstractResourceProvider.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- AbstractResourceProvider.java	25 Jun 2002 04:49:18 -0000	1.4
  +++ AbstractResourceProvider.java	4 Jul 2002 03:37:07 -0000	1.5
  @@ -130,9 +130,10 @@
        */
       protected Context createContextImpl( final Map contextData )
       {
  +        final ComponentMetaData component = getMetaData( entry );
           final DefaultContext context = new DefaultContext( contextData );
           context.makeReadOnly();
  -        return context;
  +        return component.getContext( context ):
       }
   
       /**
  
  
  

--
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