summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/node-api/src
diff options
context:
space:
mode:
Diffstat (limited to 'java/sca/modules/node-api/src')
-rw-r--r--java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java b/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java
index a9f75fc8be..05ef39f461 100644
--- a/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java
+++ b/java/sca/modules/node-api/src/main/java/org/apache/tuscany/sca/node/NodeFactory.java
@@ -156,6 +156,13 @@ public abstract class NodeFactory {
}
/**
+ * Creates a new SCA node using defaults for the contribution location and runnable composite
+ *
+ * @return a new SCA node.
+ */
+ public abstract Node createNode();
+
+ /**
* Creates a new SCA node from the configuration URL
*
* @param configurationURL the URL of the node configuration which is the ATOM feed