You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2018/06/27 15:46:09 UTC
svn commit: r1834514 -
/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/resource/ResourceManager.java
Author: schor
Date: Wed Jun 27 15:46:09 2018
New Revision: 1834514
URL: http://svn.apache.org/viewvc?rev=1834514&view=rev
Log:
[UIMA-5797] document uima class loaders closed on destroy() call
Modified:
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/resource/ResourceManager.java
Modified: uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/resource/ResourceManager.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/resource/ResourceManager.java?rev=1834514&r1=1834513&r2=1834514&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/resource/ResourceManager.java (original)
+++ uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/resource/ResourceManager.java Wed Jun 27 15:46:09 2018
@@ -381,7 +381,13 @@ public interface ResourceManager {
* Frees all resources held by this ResourceManager, and marks the ResourceManager as having been destroyed.
* A destroyed ResourceManager will throw an exception if an attempt is made to continue using it.
*
- * Resources managed by a ResourceManager include all of the external shared Resources and a CAS Pool.
+ * Resources managed by a ResourceManager include all of the external shared Resources.
+ * If there is an extension class loader in use, it will be closed.
+ * Any class loaders (including PEAR class loaders) that might use this as a parent will be
+ * affected by this closure.
+ *
+ * Any streams opened using getResourceAsStream will also be closed.
+ *
* The Resources managed by this manager will have their destroy() methods called, as part of the
* execution of this API.
*