Author: schor
Date: Fri Apr 11 17:10:09 2014
New Revision: 1586721

URL: http://svn.apache.org/r1586721
Log:
[UIMA-3694] add a global constant indicating that this version supports 
parallel initialization in a threadsafe way.

Modified:
    
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/PrimitiveAnalysisEngine_impl.java

Modified: 
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/PrimitiveAnalysisEngine_impl.java
URL: 
http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/PrimitiveAnalysisEngine_impl.java?rev=1586721&r1=1586720&r2=1586721&view=diff
==============================================================================
--- 
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/PrimitiveAnalysisEngine_impl.java
 (original)
+++ 
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/PrimitiveAnalysisEngine_impl.java
 Fri Apr 11 17:10:09 2014
@@ -64,6 +64,13 @@ public class PrimitiveAnalysisEngine_imp
   
   private static final Class<PrimitiveAnalysisEngine_impl> CLASS_NAME = 
PrimitiveAnalysisEngine_impl.class;
  
+  /**
+   * flag for embedders to test to see if they have a 
+   * version of the framework which supports
+   * multi-threaded produceResource 
+   */
+  public static final boolean INIT_THREADSAFE = true;
+      
   private ResultSpecification mCurrentResultSpecification;
   /**
    * result specification derived from the output capabilities of this 
primitive, used in intersection of languages


Reply via email to