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

ASF GitHub Bot commented on ANY23-321:
--------------------------------------

Github user ansell commented on the issue:

    https://github.com/apache/any23/pull/56
  
    I don't have time right now to debug this or work on its design. It isn't a 
pattern I have worked on in the past. All ``ServiceLoader`` projects that I 
have worked on in the past either have all of the service Factory objects 
initialised as startup, or they do periodic scans, but always create and 
initialise the service Factory objects whenever they are discovered. 
    
    Is this issue attempting to delay/extract the OpenIE initialisation by 
delaying/postponing the Factory initialisation? If so, the focus could possibly 
be on making the OpenIE initialisation lazy to only occur when the Factory is 
actually required/used to create an object instance.
    
    A more configurable lifecycle possibly requires OSGi, which I again have 
absolutely no experience with, but from the little understanding each time I 
look, it appears to allow user driven initialisation (push rather than pull, if 
that makes sense).


> Add openie toggle functionality to service
> ------------------------------------------
>
>                 Key: ANY23-321
>                 URL: https://issues.apache.org/jira/browse/ANY23-321
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: openie, service
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Major
>             Fix For: 2.3
>
>
> This issue is to add new functionality which provides an on-off switch for 
> running the openie module in addition to existing extractions. Basically 
> replicating the 'Report' or 'Annotate' check boxes would be ideal.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to