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/context TaskContextManager.java
Date Fri, 21 Jun 2002 08:05:58 GMT
donaldp     2002/06/21 01:05:58

  Added:       container/src/java/org/apache/myrmidon/components/context
                        DefaultTaskContextManager.java
               container/src/java/org/apache/myrmidon/interfaces/context
                        TaskContextManager.java
  Log:
  Add start of context manager
  
  Revision  Changes    Path
  1.1                  jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/components/context/DefaultTaskContextManager.java
  
  Index: DefaultTaskContextManager.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.components.context;
  
  import org.apache.myrmidon.interfaces.context.TaskContextManager;
  import org.apache.myrmidon.api.TaskContext;
  import org.apache.myrmidon.api.TaskException;
  
  /**
   * Basic implementation of the {@link TaskContextManager} service.
   *
   * @author <a href="mailto:peter@apache.org">Peter Donald</a>
   * @version $Revision: 1.1 $ $Date: 2002/06/21 08:05:58 $
   */
  public class DefaultTaskContextManager
      implements TaskContextManager
  {
      public TaskContext createPartitionContext( TaskContext context, String name, String
location )
          throws TaskException
      {
          return null;
      }
  
      public TaskContext createContext( TaskContext context, String name, String location
)
          throws TaskException
      {
          return null;
      }
  }
  
  
  
  1.1                  jakarta-ant-myrmidon/container/src/java/org/apache/myrmidon/interfaces/context/TaskContextManager.java
  
  Index: TaskContextManager.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.context;
  
  import org.apache.myrmidon.api.TaskContext;
  import org.apache.myrmidon.api.TaskException;
  
  /**
   * This service is responsible for creating new instances of
   * {@link TaskContext} to pass to child components.
   *
   * @author <a href="mailto:peter@apache.org">Peter Donald</a>
   * @version $Revision: 1.1 $ $Date: 2002/06/21 08:05:58 $
   */
  public interface TaskContextManager
  {
      TaskContext createPartitionContext( TaskContext context, String name, String location
)
          throws TaskException;
  
      TaskContext createContext( TaskContext context, String name, String location )
          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