[
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 commented on UIMA-5032:
--------------------------------------------------
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)