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 [EMAIL PROTECTED] TaskContextManager} service.
*
* @author <a href="mailto:[EMAIL PROTECTED]">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
* [EMAIL PROTECTED] TaskContext} to pass to child components.
*
* @author <a href="mailto:[EMAIL PROTECTED]">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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>