You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2016/07/29 18:53:20 UTC

[jira] [Comment Edited] (UIMA-5032) Support feature toggle using lazy annotator initialization

    [ https://issues.apache.org/jira/browse/UIMA-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399851#comment-15399851 ] 

Richard Eckart de Castilho edited comment on UIMA-5032 at 7/29/16 6:53 PM:
---------------------------------------------------------------------------

Seems like this should be possible to implement by delaying the call to initializeAnalysisComponent() in PrimitiveAnalysisEngine_impl until any of the process() methods in AnalysisEngineImplBase are called.


was (Author: rec):
Seems like this should be possibly to implement by delaying the call to initializeAnalysisComponent() in PrimitiveAnalysisEngine_impl until any of the process() methods in AnalysisEngineImplBase are called.

> Support feature toggle using lazy annotator initialization 
> -----------------------------------------------------------
>
>                 Key: UIMA-5032
>                 URL: https://issues.apache.org/jira/browse/UIMA-5032
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Eddie Epstein
>
> Feature toggle is a useful technique to have a single source stream for both production and development activities. One approach for UIMA to help support feature toggle would be to do component initialization only on the first process call. Lazy initialization would allow flow controller configuration to easily turn components on and off.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)