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 Wed, 15 May 2002 12:30:02 GMT
donaldp     02/05/15 05:30:02

  Added:       src/java/org/apache/avalon/phoenix/components/lifecycle
                        ResourceAccessor.java
  Log:
  Start to implement generic structure of container. This interface is used to
  retrieve resources for a particular component.
  
  Revision  Changes    Path
  1.1                  jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/lifecycle/ResourceAccessor.java
  
  Index: ResourceAccessor.java
  ===================================================================
  /*
   * Copyright (C) The Apache Software Foundation. All rights reserved.
   *
   * This software is published under the terms of the Apache Software License
   * version 1.1, a copy of which has been included  with this distribution in
   * the LICENSE.txt file.
   */
  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.parameters.Parameters;
  import org.apache.avalon.phoenix.components.lifecycle.ComponentEntry;
  
  /**
   *
   *
   * @author <a href="mailto:peter@apache.org">Peter Donald</a>
   * @version $Revision: 1.1 $ $Date: 2002/05/15 12:30:02 $
   */
  public interface ResourceAccessor
  {
      Object createObject( ComponentEntry entry )
          throws Exception;
  
      Logger createLogger( ComponentEntry entry )
          throws Exception;
  
      Context createContext( ComponentEntry entry )
          throws Exception;
  
      ComponentManager createComponentManager( ComponentEntry entry )
          throws Exception;
  
      ServiceManager createServiceManager( ComponentEntry entry )
          throws Exception;
  
      Configuration createConfiguration( ComponentEntry entry )
          throws Exception;
  
      Parameters createParameters( ComponentEntry 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