tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jboy...@apache.org
Subject svn commit: r377190 - in /incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime: RuntimeContext.java RuntimeContextImpl.java
Date Sun, 12 Feb 2006 15:24:05 GMT
Author: jboynes
Date: Sun Feb 12 07:24:03 2006
New Revision: 377190

URL: http://svn.apache.org/viewcvs?rev=377190&view=rev
Log:
have RuntimeContext return explict system context type

Modified:
    incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContext.java
    incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContextImpl.java

Modified: incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContext.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContext.java?rev=377190&r1=377189&r2=377190&view=diff
==============================================================================
--- incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContext.java
(original)
+++ incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContext.java
Sun Feb 12 07:24:03 2006
@@ -18,6 +18,7 @@
 import org.apache.tuscany.core.context.AggregateContext;
 import org.apache.tuscany.core.context.AutowireContext;
 import org.apache.tuscany.core.context.ConfigurationContext;
+import org.apache.tuscany.core.context.SystemAggregateContext;
 
 /**
  * Represents a top-level component context in the runtime, that is the bootstrap context
@@ -48,7 +49,7 @@
     /**
      * Returns the system component context.
      */
-    public AggregateContext getSystemContext();
+    public SystemAggregateContext getSystemContext();
 
     /**
      * Returns the monitor factory in use by the runtime

Modified: incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContextImpl.java
URL: http://svn.apache.org/viewcvs/incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContextImpl.java?rev=377190&r1=377189&r2=377190&view=diff
==============================================================================
--- incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContextImpl.java
(original)
+++ incubator/tuscany/java/sca/core/src/main/java/org/apache/tuscany/core/runtime/RuntimeContextImpl.java
Sun Feb 12 07:24:03 2006
@@ -31,10 +31,10 @@
 import org.apache.tuscany.core.context.EventException;
 import org.apache.tuscany.core.context.QualifiedName;
 import org.apache.tuscany.core.context.RuntimeEventListener;
+import org.apache.tuscany.core.context.SystemAggregateContext;
 import org.apache.tuscany.core.context.TargetException;
 import org.apache.tuscany.core.context.impl.AggregateContextImpl;
 import org.apache.tuscany.core.context.impl.EventContextImpl;
-import org.apache.tuscany.core.runtime.RuntimeContext;
 import org.apache.tuscany.core.system.context.SystemAggregateContextImpl;
 import org.apache.tuscany.core.system.context.SystemScopeStrategy;
 import org.apache.tuscany.model.assembly.ExtensibleModelObject;
@@ -52,7 +52,7 @@
 
     private final AggregateContext rootContext;
 
-    private final AutowireContext systemContext;
+    private final SystemAggregateContext systemContext;
 
     private final MonitorFactory monitorFactory;
 
@@ -89,7 +89,7 @@
      */
     public RuntimeContextImpl(MonitorFactory monitorFactory,
                               AggregateContext rootContext,
-                              AutowireContext systemContext,
+                              SystemAggregateContext systemContext,
                               List<RuntimeConfigurationBuilder> builders) {
         super(RUNTIME);
         this.rootContext = rootContext;
@@ -136,7 +136,7 @@
         return rootContext;
     }
 
-    public AutowireContext getSystemContext() {
+    public SystemAggregateContext getSystemContext() {
         checkRunning();
         return systemContext;
     }



Mime
View raw message