mcconnell    02/05/02 20:32:53

  Added:       all/src/scratchpad/org/apache/avalon/excalibur/service
                        PipelineService.java
  Log:
  service interface
  
  Revision  Changes    Path
  1.1                  
jakarta-avalon-excalibur/all/src/scratchpad/org/apache/avalon/excalibur/service/PipelineService.java
  
  Index: PipelineService.java
  ===================================================================
  /*
   */
  package org.apache.avalon.excalibur.service;
  
  import org.apache.avalon.framework.component.Component;
  import org.apache.avalon.framework.configuration.Configurable;
  import org.apache.avalon.framework.context.Contextualizable;
  import org.apache.avalon.framework.activity.Initializable;
  import org.apache.avalon.framework.activity.Disposable;
  import org.apache.avalon.framework.service.Serviceable;
  
  /**
   * Interface supporting service loading and execution.
   *
   * @author Stephen McConnell <[EMAIL PROTECTED]>
   */
  public interface PipelineService extends Component, Configurable, 
Contextualizable, Initializable, Disposable
  {
  
      public static final String PIPELINE_SERVICE_KEY = "PIPELINE_SERVICE_KEY";
  
     /**
      * Applies sercies logging, contextulization, configuration, initalization 
      * and disposal, including dependent service composition and pipline 
exeecution.
      * @param target the name of the implementation class of the the component 
to 
      *   load into the pipeline
      * @return Object the initalized service
      * @exception Exception if no corresponding [class-name].xinfo file can be 
found, 
      *    or if a service pipeline general execution is encountered
      */
      public Object pipeline( String target ) throws Exception;
  
  
  }
  
  
  
  
  
  

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

Reply via email to