diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-04 19:01:34 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-04 19:01:34 +0000 |
commit | adbed0ee9ff58090e5bef239437e1a49b213f4c7 (patch) | |
tree | 314b0e595919a6111c082fb061720a9782d43ca9 /branches | |
parent | 345721a8055dc9b810150952a790555b6b641be1 (diff) |
TUSCANY-3240 - Closing reader after processing spring application-context.xml
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811517 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches')
-rw-r--r-- | branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java b/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java index 96b6c4587a..3b73ba00c1 100644 --- a/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java +++ b/branches/sca-java-1.x/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java @@ -172,6 +172,8 @@ public class SpringXMLComponentTypeLoader { reader = xmlInputFactory.createXMLStreamReader(contextResource.openStream());
// System.out.println("Spring TypeLoader - starting to read context file");
readContextDefinition(resolver, reader, contextPath, beans, services, references, scaproperties);
+
+ reader.close();
}
} catch (IOException e) {
|