From c6bb8781d2df39c4808f499cec6996753943d24c Mon Sep 17 00:00:00 2001 From: rfeng Date: Tue, 12 May 2009 00:13:28 +0000 Subject: Add comments git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@773735 13f79535-47bb-0310-9956-ffa450edef68 --- .../sca/node/configuration/NodeConfiguration.java | 26 +++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'java') 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 getContributions(); + /** + * Get a list of configurations for SCA bindings + * @return A list of configurations for SCA bindings + */ List getBindings(); } -- cgit v1.2.3