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 2017/09/13 17:42:12 UTC

svn commit: r1808260 - /uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/flow/FlowController_ImplBase.java

Author: schor
Date: Wed Sep 13 17:42:11 2017
New Revision: 1808260

URL: http://svn.apache.org/viewvc?rev=1808260&view=rev
Log:
[UIMA-5565] add getLogger to FlowController

Modified:
    uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/flow/FlowController_ImplBase.java

Modified: uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/flow/FlowController_ImplBase.java
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/flow/FlowController_ImplBase.java?rev=1808260&r1=1808259&r2=1808260&view=diff
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/flow/FlowController_ImplBase.java (original)
+++ uima/uv3/uimaj-v3/trunk/uimaj-core/src/main/java/org/apache/uima/flow/FlowController_ImplBase.java Wed Sep 13 17:42:11 2017
@@ -24,6 +24,7 @@ import java.util.Collection;
 import org.apache.uima.analysis_engine.AnalysisEngineProcessException;
 import org.apache.uima.resource.ResourceConfigurationException;
 import org.apache.uima.resource.ResourceInitializationException;
+import org.apache.uima.util.Logger;
 
 /**
  * Implementation base class for FlowControllers. Normally developers do not extend this class
@@ -117,4 +118,12 @@ public abstract class FlowController_Imp
   protected FlowControllerContext getContext() {
     return mContext;
   }
+  
+  /**
+   * Gets the logger for this FlowController
+   * @return the logger for this FlowController
+   */
+  protected Logger getLogger() {  // https://issues.apache.org/jira/projects/UIMA/issues/UIMA-5565
+    return getContext().getLogger();
+  }
 }