From 3b4a10eca44bf3d579a5e1260fcf823cf52fd045 Mon Sep 17 00:00:00 2001 From: antelder Date: Mon, 13 Jun 2011 21:37:16 +0000 Subject: 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 --- .../sca/registry/hazelcast/HazelcastDomainRegistry.java | 10 +++++----- .../sca/registry/hazelcast/HazelcastDomainRegistryFactory.java | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'sca-java-2.x/trunk/modules/domain-hazelcast') 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 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() { -- cgit v1.2.3