ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/service ServiceKernel.java
Date Thu, 20 Jun 2002 09:52:58 GMT
donaldp     2002/06/20 02:52:58

  Added:       container/src/java/org/apache/myrmidon/interfaces/service
                        ServiceKernel.java
  Log:
  Temporary commit of Myrmidon ServiceKernel interface (different from Avalon one)
  
  Revision  Changes    Path
  1.1                  jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/service/ServiceKernel.java
  
  Index: ServiceKernel.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.myrmidon.interfaces.service;
  
  import org.apache.myrmidon.api.TaskException;
  
  /**
   * This is a stop gap service aimed at enabling management
   * of services. In future a more fully funvtional version will
   * be used in its place.
   *
   * @author <a href="mailto:peter@apache.org">Peter Donald</a>
   * @version $Revision: 1.1 $ $Date: 2002/06/20 09:52:58 $
   */
  public interface ServiceKernel
  {
      void registerService( String role, Object service )
          throws TaskException;
  
      Object getService( String role )
          throws TaskException;
  }
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message