any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ansell <...@git.apache.org>
Subject [GitHub] any23 issue #56: ANY23-321 Add openie toggle functionality to service
Date Thu, 08 Feb 2018 21:38:58 GMT
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).


---

Mime
View raw message