[
https://issues.apache.org/jira/browse/UIMA-5032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15400401#comment-15400401
]
Burn Lewis commented on UIMA-5032:
----------------------------------
Another approach is to make use of the fact that the flow controller is told
what annotators have been defined ... so it could tell the framework what ones
it plans to use ... or what to skip ... avoiding both type-system merging and
initialization. But if the decision is made later, i.e. is data dependent,
then lazy initialization would be needed.
> 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)