You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by jb...@apache.org on 2007/03/08 17:16:59 UTC
svn commit: r516089 -
/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java
Author: jboynes
Date: Thu Mar 8 08:16:56 2007
New Revision: 516089
URL: http://svn.apache.org/viewvc?view=rev&rev=516089
Log:
comments for clarity
Modified:
incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java
Modified: incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java?view=diff&rev=516089&r1=516088&r2=516089
==============================================================================
--- incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java (original)
+++ incubator/tuscany/java/sca/kernel/core/src/main/java/org/apache/tuscany/core/runtime/AbstractRuntime.java Thu Mar 8 08:16:56 2007
@@ -228,13 +228,19 @@
}
protected void registerBaselineSystemComponents() throws InitializationException {
+ // register the RuntimeInfo provided by the host
registerSystemComponent(RUNTIME_INFO_URI, runtimeInfoType, runtimeInfo);
+
+ // register the MonitorFactory provided by the host
List<Class<?>> monitorServices = new ArrayList<Class<?>>();
monitorServices.add(MonitorFactory.class);
monitorServices.add(FormatterRegistry.class);
registerSystemComponent(MONITOR_URI, monitorServices, getMonitorFactory());
- // register the component manager with itself so it can be autowired
+
+ // register the ComponentManager to that the fabric can wire to it
registerSystemComponent(COMPONENT_MGR_URI, ComponentManager.class, componentManager);
+
+ // register the AutowireResolver
registerSystemComponent(AUTOWIRE_RESOLVER_URI, AutowireResolver.class, resolver);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org