summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/trunk/modules/deployment/src/main
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-16 07:21:58 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2011-05-16 07:21:58 +0000
commitf955360d1ac83472162e88eb9db4c3c2f1bfb94c (patch)
tree03165b58cff723cd3bc128f87c1b908277fe77f0 /sca-java-2.x/trunk/modules/deployment/src/main
parent4e1be687f324ef95c463b5af3769fdc84ce1c858 (diff)
Rename EndpointRegistry to DomainRegistry. Doing this has been brought up lots of times in the past just no one ever got around to it. It effects quite a few classes but its a relatively trivial rename and i don't think it should impact on anyone too much
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1103629 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-java-2.x/trunk/modules/deployment/src/main')
-rw-r--r--sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java b/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java
index 9b51cf4888..1d4de5192d 100644
--- a/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java
+++ b/sca-java-2.x/trunk/modules/deployment/src/main/java/org/apache/tuscany/sca/deployment/impl/DeployerImpl.java
@@ -86,9 +86,9 @@ import org.apache.tuscany.sca.definitions.xml.DefinitionsExtensionPoint;
import org.apache.tuscany.sca.deployment.Deployer;
import org.apache.tuscany.sca.monitor.Monitor;
import org.apache.tuscany.sca.monitor.MonitorFactory;
-import org.apache.tuscany.sca.runtime.BaseEndpointRegistry;
+import org.apache.tuscany.sca.runtime.BaseDomainRegistry;
import org.apache.tuscany.sca.runtime.EndpointReferenceBinder;
-import org.apache.tuscany.sca.runtime.EndpointRegistry;
+import org.apache.tuscany.sca.runtime.DomainRegistry;
import org.apache.tuscany.sca.runtime.InstalledContribution;
import org.apache.tuscany.sca.xsd.XSDFactory;
import org.apache.tuscany.sca.xsd.XSDefinition;
@@ -747,17 +747,17 @@ public class DeployerImpl implements Deployer {
private void buildTimeReferenceBind(Composite domainComposite, BuilderContext context){
// create temporary local registry for all available local endpoints
- EndpointRegistry endpointRegistry = new LocalEndpointRegistry(registry);
+ DomainRegistry domainRegistry = new LocalEndpointRegistry(registry);
// populate the registry with all the endpoints that are present in the model
- populateLocalRegistry(domainComposite, endpointRegistry, context);
+ populateLocalRegistry(domainComposite, domainRegistry, context);
// match all local services against the endpoint references
// we've just created
- matchEndpointReferences(domainComposite, endpointRegistry, context);
+ matchEndpointReferences(domainComposite, domainRegistry, context);
}
- private void populateLocalRegistry(Composite composite, EndpointRegistry registry, BuilderContext context){
+ private void populateLocalRegistry(Composite composite, DomainRegistry registry, BuilderContext context){
for (Component component : composite.getComponents()) {
// recurse for composite implementations
Implementation implementation = component.getImplementation();
@@ -784,7 +784,7 @@ public class DeployerImpl implements Deployer {
}
}
- private void matchEndpointReferences(Composite composite, EndpointRegistry registry, BuilderContext builderContext){
+ private void matchEndpointReferences(Composite composite, DomainRegistry registry, BuilderContext builderContext){
// look at all the endpoint references and try to match them to
// endpoints
@@ -796,7 +796,7 @@ public class DeployerImpl implements Deployer {
// A minimal endpoint registry implementation used to store the Endpoints/EndpointReferences
// for build time local reference resolution. We don't rely on the endpoint registry
// factory here as we specifically just want to do simple local resolution
- class LocalEndpointRegistry extends BaseEndpointRegistry {
+ class LocalEndpointRegistry extends BaseDomainRegistry {
private List<Endpoint> endpoints = new ArrayList<Endpoint>();