summaryrefslogtreecommitdiffstats
path: root/java/sca/modules/core/src
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-05-20 16:46:55 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2009-05-20 16:46:55 +0000
commitb099739d69690535623b126b37f47bfdfecf040f (patch)
tree252ab5e26d6e6f2c804c43744ff22d68ce3b353f /java/sca/modules/core/src
parentf1863df3c7da7a4632ef3ca70d430d62ed387bad (diff)
Refactoring a few methods on the ServiceDiscover
Adding an OSGi service registry based ExtensionPointRegistry implementation git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@776759 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/core/src')
-rw-r--r--java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java
index 602958ab5e..c9024fecef 100644
--- a/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java
+++ b/java/sca/modules/core/src/main/java/org/apache/tuscany/sca/core/invocation/impl/PhaseManager.java
@@ -39,6 +39,7 @@ import static org.apache.tuscany.sca.invocation.Phase.SERVICE_POLICY;
import java.io.IOException;
import java.util.ArrayList;
+import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
@@ -173,7 +174,7 @@ public class PhaseManager {
}
init();
- Set<ServiceDeclaration> services;
+ Collection<ServiceDeclaration> services;
try {
services = ServiceDiscovery.getInstance().getServiceDeclarations(pattern);
} catch (IOException e) {