diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-11 09:11:40 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-05-11 09:11:40 +0000 |
commit | c983386e8d1e329f8189edaa7a2435f88408cd9a (patch) | |
tree | 6efd7d14a027d1a925a74dfd17fc06947add39fd /sca-java-2.x/trunk/modules/endpoint-tribes/src | |
parent | e4cee24b41a6ddbb8981c638fb444319e9401f11 (diff) |
Update the registry to store info about a contributions deployables and exports so that distrubuted nodes are able to see what is available without having to actually go get and install a remote contribution. This is work in progress, an alternative is to just put the Contribution model object itself in the registry and have the registry impl hide the details, but this approach is easier for now as we see how things can work
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1101793 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/endpoint-tribes/src')
-rw-r--r-- | sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java b/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java index f11bcc41fb..1edcdf498f 100644 --- a/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java +++ b/sca-java-2.x/trunk/modules/endpoint-tribes/src/main/java/org/apache/tuscany/sca/endpoint/tribes/ReplicatedEndpointRegistry.java @@ -47,6 +47,7 @@ import org.apache.catalina.tribes.membership.StaticMember; import org.apache.catalina.tribes.transport.ReceiverBase; import org.apache.tuscany.sca.assembly.Composite; import org.apache.tuscany.sca.assembly.Endpoint; +import org.apache.tuscany.sca.contribution.Export; import org.apache.tuscany.sca.core.ExtensionPointRegistry; import org.apache.tuscany.sca.core.LifeCycleListener; import org.apache.tuscany.sca.endpoint.tribes.AbstractReplicatedMap.MapEntry; @@ -445,12 +446,6 @@ public class ReplicatedEndpointRegistry extends BaseEndpointRegistry implements } @Override - public void installContribution(String uri, String url) { - // TODO Auto-generated method stub - - } - - @Override public List<String> getInstalledContributionURIs() { // TODO Auto-generated method stub return null; @@ -468,4 +463,22 @@ public class ReplicatedEndpointRegistry extends BaseEndpointRegistry implements } + @Override + public void installContribution(String uri, String url, List<QName> deployables, List<Export> exports) { + // TODO Auto-generated method stub + + } + + @Override + public List<QName> getInstalledContributionDeployables(String uri) { + // TODO Auto-generated method stub + return null; + } + + @Override + public List<Export> getInstalledContributionExports(String uri) { + // TODO Auto-generated method stub + return null; + } + } |