mcconnell 2003/01/28 05:26:56
Modified: assembly/src/java/org/apache/avalon/assembly/engine
Engine.java EngineClassLoader.java
Log:
Addition of convinience operation of the Engine.
Revision Changes Path
1.12 +9 -1
avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/Engine.java
Index: Engine.java
===================================================================
RCS file:
/home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/Engine.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Engine.java 15 Jan 2003 09:09:24 -0000 1.11
+++ Engine.java 28 Jan 2003 13:26:55 -0000 1.12
@@ -93,6 +93,14 @@
/**
* Create a new appliance.
* @param context the appliance context
+ * @return the appliance
+ */
+ Appliance createAppliance(
+ ApplianceContext context ) throws ApplianceException;
+
+ /**
+ * Create a new appliance.
+ * @param context the appliance context
* @param shared TRUE if this appliance may be shared
* @return the appliance
*/
1.29 +11 -1
avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/EngineClassLoader.java
Index: EngineClassLoader.java
===================================================================
RCS file:
/home/cvs/avalon-sandbox/assembly/src/java/org/apache/avalon/assembly/engine/EngineClassLoader.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- EngineClassLoader.java 27 Jan 2003 07:11:56 -0000 1.28
+++ EngineClassLoader.java 28 Jan 2003 13:26:56 -0000 1.29
@@ -912,6 +912,16 @@
}
/**
+ * Create a new shared appliance.
+ * @param context the appliance context
+ * @return the appliance
+ */
+ public Appliance createAppliance( ApplianceContext context ) throws
ApplianceException
+ {
+ return createAppliance( context, true );
+ }
+
+ /**
* Create a new appliance.
* @param context the appliance creation context
* @param shared TRUE if this appliance can be shared
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>