diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-13 21:37:16 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-13 21:37:16 +0000 |
commit | 3b4a10eca44bf3d579a5e1260fcf823cf52fd045 (patch) | |
tree | 0dff6072e67fd6e285f73dce4f5e3643ea0e7261 | |
parent | af803d2def198dead223d6a0ea7cfc44ec29d661 (diff) |
Update the name and uri variable names in the hazelcast regsitry to make it a bit clearer
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1135296 13f79535-47bb-0310-9956-ffa450edef68
2 files changed, 7 insertions, 7 deletions
diff --git a/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java b/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java index 5dd1d30515..bd30800bf9 100644 --- a/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java +++ b/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistry.java @@ -115,17 +115,17 @@ public class HazelcastDomainRegistry extends BaseDomainRegistry implements Domai protected Object shutdownMutex = new Object(); protected Properties properties; - public HazelcastDomainRegistry(ExtensionPointRegistry registry, Properties properties, String endpointRegistryURI, String domainURI) { - super(registry, null, endpointRegistryURI, domainURI); + public HazelcastDomainRegistry(ExtensionPointRegistry registry, Properties properties, String domainURI, String domainName) { + super(registry, null, domainURI, domainName); this.assemblyFactory = registry.getExtensionPoint(FactoryExtensionPoint.class).getFactory(AssemblyFactory.class); this.properties = properties; } public HazelcastDomainRegistry(ExtensionPointRegistry registry, Map<String, String> attributes, - String domainRegistryURI, - String domainURI) { - super(registry, attributes, domainRegistryURI, domainURI); + String domainURI, + String domainName) { + super(registry, attributes, domainURI, domainName); this.assemblyFactory = registry.getExtensionPoint(FactoryExtensionPoint.class).getFactory(AssemblyFactory.class); this.properties = registry.getExtensionPoint(UtilityExtensionPoint.class).getUtility(RuntimeProperties.class).getProperties(); } diff --git a/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistryFactory.java b/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistryFactory.java index fda24cd78c..ca75679caa 100644 --- a/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistryFactory.java +++ b/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/registry/hazelcast/HazelcastDomainRegistryFactory.java @@ -38,9 +38,9 @@ public class HazelcastDomainRegistryFactory extends BaseDomainRegistryFactory { super(registry); } - protected DomainRegistry createEndpointRegistry(String endpointRegistryURI, String domainURI) { + protected DomainRegistry createEndpointRegistry(String domainURI, String domainName) { Properties properties = registry.getExtensionPoint(UtilityExtensionPoint.class).getUtility(RuntimeProperties.class).getProperties(); - return new HazelcastDomainRegistry(registry, properties, endpointRegistryURI, domainURI); + return new HazelcastDomainRegistry(registry, properties, domainURI, domainName); } public String[] getSupportedSchemes() { |