summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-26 14:58:52 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2009-08-26 14:58:52 +0000
commitab550fc32f7f80de71255ef0131b93ee1372d3b7 (patch)
tree13b9c2489be9d9c8674d51fa4a689ae81dd03880
parentc0374800cf4121aaf5da4cca2001a464b66c1ea2 (diff)
Change endpoint registry to not use a static for the Maps so there's one per node not per jvm. Interestingly I expected this to break some node itests but it didn't so i'm committing as it gets the DomainNode tests working
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@808033 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/sca/modules/endpoint/src/main/java/org/apache/tuscany/sca/endpoint/impl/EndpointRegistryImpl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/endpoint/src/main/java/org/apache/tuscany/sca/endpoint/impl/EndpointRegistryImpl.java b/java/sca/modules/endpoint/src/main/java/org/apache/tuscany/sca/endpoint/impl/EndpointRegistryImpl.java
index 8e51068793..80de40b074 100644
--- a/java/sca/modules/endpoint/src/main/java/org/apache/tuscany/sca/endpoint/impl/EndpointRegistryImpl.java
+++ b/java/sca/modules/endpoint/src/main/java/org/apache/tuscany/sca/endpoint/impl/EndpointRegistryImpl.java
@@ -38,8 +38,8 @@ import org.apache.tuscany.sca.runtime.EndpointRegistry;
public class EndpointRegistryImpl implements EndpointRegistry, LifeCycleListener {
private final Logger logger = Logger.getLogger(EndpointRegistryImpl.class.getName());
- private static MappedList<EndpointRegistry, Endpoint> endpoints = new MappedList<EndpointRegistry, Endpoint>();
- private static MappedList<EndpointRegistry, EndpointReference> endpointreferences =
+ private MappedList<EndpointRegistry, Endpoint> endpoints = new MappedList<EndpointRegistry, Endpoint>();
+ private MappedList<EndpointRegistry, EndpointReference> endpointreferences =
new MappedList<EndpointRegistry, EndpointReference>();
private List<EndpointListener> listeners = new CopyOnWriteArrayList<EndpointListener>();