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/java/org/apache/avalon/phoenix/components/lifecycle ResourceAccessor.java
Date Sun, 19 May 2002 01:58:28 GMT
donaldp     02/05/18 18:58:28

  Modified:    src/java/org/apache/avalon/phoenix/components/lifecycle
                        ResourceAccessor.java
  Log:
  Update accessor so that raw objects can be
  passed into methods. This allows a wider variety
  of container implementations to use the system most
  appropriate to the container for representing
  components.
  
  Revision  Changes    Path
  1.2       +13 -13    jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/lifecycle/ResourceAccessor.java
  
  Index: ResourceAccessor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/lifecycle/ResourceAccessor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ResourceAccessor.java	15 May 2002 12:30:02 -0000	1.1
  +++ ResourceAccessor.java	19 May 2002 01:58:28 -0000	1.2
  @@ -7,40 +7,40 @@
    */
   package org.apache.avalon.phoenix.components.lifecycle;
   
  -import org.apache.avalon.framework.logger.Logger;
  -import org.apache.avalon.framework.context.Context;
   import org.apache.avalon.framework.component.ComponentManager;
  -import org.apache.avalon.framework.service.ServiceManager;
   import org.apache.avalon.framework.configuration.Configuration;
  +import org.apache.avalon.framework.context.Context;
  +import org.apache.avalon.framework.logger.Logger;
   import org.apache.avalon.framework.parameters.Parameters;
  -import org.apache.avalon.phoenix.components.lifecycle.ComponentEntry;
  +import org.apache.avalon.framework.service.ServiceManager;
   
   /**
  - *
  + * The interface via which resources required for a component
  + * are aquired.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.1 $ $Date: 2002/05/15 12:30:02 $
  + * @version $Revision: 1.2 $ $Date: 2002/05/19 01:58:28 $
    */
   public interface ResourceAccessor
   {
  -    Object createObject( ComponentEntry entry )
  +    Object createObject( Object entry )
           throws Exception;
   
  -    Logger createLogger( ComponentEntry entry )
  +    Logger createLogger( Object entry )
           throws Exception;
   
  -    Context createContext( ComponentEntry entry )
  +    Context createContext( Object entry )
           throws Exception;
   
  -    ComponentManager createComponentManager( ComponentEntry entry )
  +    ComponentManager createComponentManager( Object entry )
           throws Exception;
   
  -    ServiceManager createServiceManager( ComponentEntry entry )
  +    ServiceManager createServiceManager( Object entry )
           throws Exception;
   
  -    Configuration createConfiguration( ComponentEntry entry )
  +    Configuration createConfiguration( Object entry )
           throws Exception;
   
  -    Parameters createParameters( ComponentEntry entry )
  +    Parameters createParameters( Object entry )
           throws Exception;
   }
  
  
  

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