diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-10 05:57:51 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-10 05:57:51 +0000 |
commit | 1265ef2c9979752024588a8aacbde31fed1e6df1 (patch) | |
tree | 986ece3dd1b45fa8829d95ba1f2c835da9e7b554 /java/sca/modules/extensibility | |
parent | 6c21cd40d156d91d02d1a2ea6c658fbfac3c0d3a (diff) |
Create the runtime version of Endpoint2 for serialization
Serialize the EP using XML
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@783213 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/extensibility')
-rw-r--r-- | java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java b/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java index 3857151bec..a5048859f0 100644 --- a/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java +++ b/java/sca/modules/extensibility/src/main/java/org/apache/tuscany/sca/extensibility/ServiceDiscovery.java @@ -100,7 +100,7 @@ public final class ServiceDiscovery implements ServiceDiscoverer { public ServiceDeclaration getServiceDeclaration(final String name) throws IOException { // ServiceDeclaration service = getServiceDiscoverer().getFirstServiceDeclaration(name); // return service; - Collection<ServiceDeclaration> declarations = getServiceDeclarations(name); + Collection<ServiceDeclaration> declarations = getServiceDeclarations(name, true); if (!declarations.isEmpty()) { List<ServiceDeclaration> declarationList = new ArrayList<ServiceDeclaration>(declarations); Collections.sort(declarationList, ServiceComparator.DESCENDING_ORDER); |