Author: nuttycom
Date: Fri Aug 3 21:32:47 2007
New Revision: 562655
URL: http://svn.apache.org/viewvc?view=rev&rev=562655
Log:
Generified.
Modified:
commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/StageDriverFactory.java
Modified:
commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/StageDriverFactory.java
URL:
http://svn.apache.org/viewvc/commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/StageDriverFactory.java?view=diff&rev=562655&r1=562654&r2=562655
==============================================================================
---
commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/StageDriverFactory.java
(original)
+++
commons/sandbox/pipeline/trunk/src/main/java/org/apache/commons/pipeline/StageDriverFactory.java
Fri Aug 3 21:32:47 2007
@@ -27,9 +27,9 @@
*
* <p>In order to guarantee that StageDriverFactory instances can be used
* effectively in configuration frameworks, each StageDriverFactory
implementation
- * <em>must</em> provide a no-argument constructor.
+ * <em>must</em> provide a no-argument constructor.</p>
*/
-public interface StageDriverFactory {
+public interface StageDriverFactory<T extends StageDriver> {
/**
* This method is used to create a driver that will run the specified stage
* in the specified context.
@@ -37,5 +37,5 @@
* @param context The context in which the stage will be run
* @return The newly created driver
*/
- public StageDriver createStageDriver(Stage stage, StageContext context);
+ public T createStageDriver(Stage stage, StageContext context);
}