diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-04 19:06:51 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-04 19:06:51 +0000 |
commit | ba2eba00e54cc4e422bc21592cb7a6dab036f7b6 (patch) | |
tree | e6544509764d04e28da9a12d15425f9fa7e7b933 /java/sca/modules | |
parent | adbed0ee9ff58090e5bef239437e1a49b213f4c7 (diff) |
TUSCANY-3240 - Closing reader after processing spring application-context.xml
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811518 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r-- | java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java b/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java index 720a56e0ad..3903d4ce14 100644 --- a/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java +++ b/java/sca/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java @@ -27,8 +27,8 @@ import java.io.IOException; import java.net.MalformedURLException; import java.net.URI; import java.net.URL; -import java.util.Arrays; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.Enumeration; @@ -170,6 +170,8 @@ public class SpringXMLComponentTypeLoader { // System.out.println("Spring TypeLoader - starting to read context file"); readContextDefinition(resolver, reader, contextPath, beans, services, references, scaproperties); + + reader.close(); } catch (IOException e) { throw new ContributionReadException(e); |