diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-14 18:00:05 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-05-14 18:00:05 +0000 |
commit | 6f5177c379df8f30e1002065881845abf39b8931 (patch) | |
tree | 37ecd3bc1e5fefc7e55844adb5144ccf7b46256e /java/sca/modules/node-impl-osgi/src | |
parent | ae60ec5e5c598de4d05cb1a44a38df2c9622d146 (diff) |
Start to integrate the node configuration with NodeImpl
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@774854 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/node-impl-osgi/src')
-rw-r--r-- | java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java b/java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java index 1ce13f0aaa..aada9e7843 100644 --- a/java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java +++ b/java/sca/modules/node-impl-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/impl/NodeFactoryImpl.java @@ -308,7 +308,7 @@ public class NodeFactoryImpl { for(Definitions defs: definitionsExtensionPoint.getDefinitions()) { DefinitionsUtil.aggregate(systemDefinitions, defs); } - + DefinitionsProviderExtensionPoint definitionsProviders = extensionPoints.getExtensionPoint(DefinitionsProviderExtensionPoint.class); @@ -578,7 +578,7 @@ public class NodeFactoryImpl { } } - public void start() { + public Node start() { logger.log(Level.INFO, "Starting node: " + bundle.getSymbolicName()); try { @@ -590,6 +590,8 @@ public class NodeFactoryImpl { // Start the composite compositeActivator.start(composite); + return this; + } catch (ActivationException e) { throw new IllegalStateException(e); } |