Set the runtime properties in the extension to make them available across the runtime
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@934323 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a43994bff0
commit
d551ff33d2
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,7 @@ import org.apache.tuscany.sca.runtime.DomainRegistryFactory;
|
|||
import org.apache.tuscany.sca.runtime.EndpointReferenceBinder;
|
||||
import org.apache.tuscany.sca.runtime.EndpointRegistry;
|
||||
import org.apache.tuscany.sca.runtime.ExtensibleDomainRegistryFactory;
|
||||
import org.apache.tuscany.sca.runtime.RuntimeProperties;
|
||||
import org.apache.tuscany.sca.work.WorkScheduler;
|
||||
import org.oasisopen.sca.ServiceRuntimeException;
|
||||
|
||||
|
@ -233,6 +234,8 @@ public class NodeFactoryImpl extends NodeFactory {
|
|||
|
||||
UtilityExtensionPoint utilities = registry.getExtensionPoint(UtilityExtensionPoint.class);
|
||||
monitorFactory = utilities.getUtility(MonitorFactory.class);
|
||||
|
||||
utilities.getUtility(RuntimeProperties.class).setProperties(properties);
|
||||
|
||||
// Load the Deployer
|
||||
deployer = utilities.getUtility(Deployer.class);
|
||||
|
|
Loading…
Add table
Reference in a new issue