diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-04 18:58:28 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-04 18:58:28 +0000 |
commit | 345721a8055dc9b810150952a790555b6b641be1 (patch) | |
tree | db65c53eedcd058e0b088c75580b1957cb316bd0 /branches/sca-java-1.5.1/modules/implementation-spring/src/main | |
parent | 6f65f5aaa929eb81052ffb88a589a273ec18f5ea (diff) |
TUSCANY-3240 - Closing reader after processing spring application-context.xml
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@811515 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.5.1/modules/implementation-spring/src/main')
-rw-r--r-- | branches/sca-java-1.5.1/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.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java b/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java index 39445d5c04..0b9abfcc32 100644 --- a/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java +++ b/branches/sca-java-1.5.1/modules/implementation-spring/src/main/java/org/apache/tuscany/sca/implementation/spring/introspect/SpringXMLComponentTypeLoader.java @@ -175,6 +175,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);
|