You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/07/14 06:38:52 UTC
cvs commit: avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model SystemContext.java
mcconnell 2003/07/13 21:38:52
Modified: merlin/composition-spi/src/java/org/apache/avalon/composition/model
SystemContext.java
Log:
Add operation exposing a model factory and shared common classloader.
Revision Changes Path
1.4 +16 -1 avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/SystemContext.java
Index: SystemContext.java
===================================================================
RCS file: /home/cvs/avalon-sandbox/merlin/composition-spi/src/java/org/apache/avalon/composition/model/SystemContext.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SystemContext.java 8 Jul 2003 13:45:10 -0000 1.3
+++ SystemContext.java 14 Jul 2003 04:38:52 -0000 1.4
@@ -52,6 +52,7 @@
import java.io.File;
+import org.apache.avalon.composition.model.ModelFactory;
import org.apache.avalon.composition.repository.Repository;
import org.apache.avalon.framework.context.Context;
import org.apache.avalon.framework.logger.Logger;
@@ -66,6 +67,13 @@
public interface SystemContext extends Context
{
/**
+ * Return the model factory.
+ *
+ * @return the factory
+ */
+ ModelFactory getFactory();
+
+ /**
* Return the base directory from which relative references
* should be resolved.
*
@@ -110,6 +118,13 @@
* @return the system classloader
*/
ClassLoader getSystemClassLoader();
+
+ /**
+ * Return the system classloader.
+ *
+ * @return the system classloader
+ */
+ ClassLoader getCommonClassLoader();
/**
* Return the system logging channel.
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org