summaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-05-12 00:13:28 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-05-12 00:13:28 +0000
commitc6bb8781d2df39c4808f499cec6996753943d24c (patch)
treeb8a3fee5e790e229a7bad67274b6ac6439dbd61f /java
parentd22e494c6431f00f231345a7037ee235b5aef294 (diff)
Add comments
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@773735 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/sca/modules/implementation-node/src/main/java/org/apache/tuscany/sca/node/configuration/NodeConfiguration.java26
1 files changed, 25 insertions, 1 deletions
diff --git a/java/sca/modules/implementation-node/src/main/java/org/apache/tuscany/sca/node/configuration/NodeConfiguration.java b/java/sca/modules/implementation-node/src/main/java/org/apache/tuscany/sca/node/configuration/NodeConfiguration.java
index c546b1e412..f1eeb868ff 100644
--- a/java/sca/modules/implementation-node/src/main/java/org/apache/tuscany/sca/node/configuration/NodeConfiguration.java
+++ b/java/sca/modules/implementation-node/src/main/java/org/apache/tuscany/sca/node/configuration/NodeConfiguration.java
@@ -22,18 +22,42 @@ package org.apache.tuscany.sca.node.configuration;
import java.util.List;
/**
- *
+ * The configuration for a Node which represents the deployment of an SCA composite application
*/
public interface NodeConfiguration {
+ /**
+ * Get the URI of the SCA domain that manages the composite application
+ * @return The URI of the SCA domain
+ */
String getDomainURI();
+ /**
+ * Set the URI of the SCA domain
+ * @param domainURI The URI of the SCA domain
+ */
void setDomainURI(String domainURI);
+ /**
+ * Get the URI of the node. It uniquely identifies a node within the SCA domain
+ * @return The URI of the node
+ */
String getURI();
+ /**
+ * Set the URI of the node
+ * @param uri The URI of the node
+ */
void setURI(String uri);
+ /**
+ * Get a list of confiurations for SCA contributions
+ * @return A list of configurations for SCA contributions
+ */
List<ContributionConfiguration> getContributions();
+ /**
+ * Get a list of configurations for SCA bindings
+ * @return A list of configurations for SCA bindings
+ */
List<BindingConfiguration> getBindings();
}