[jboss-jira] [JBoss JIRA] (DROOLS-1536) Augment KieAssembler with a kjar context

Mario Fusco (JIRA) issues at jboss.org
Thu Apr 27 12:09:00 EDT 2017


    [ https://issues.jboss.org/browse/DROOLS-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13399407#comment-13399407 ] 

Mario Fusco commented on DROOLS-1536:
-------------------------------------

Cherry-picked to branch 7.0.x with https://github.com/kiegroup/drools/commit/9f5c9cb27

> Augment KieAssembler with a kjar context
> ----------------------------------------
>
>                 Key: DROOLS-1536
>                 URL: https://issues.jboss.org/browse/DROOLS-1536
>             Project: Drools
>          Issue Type: Enhancement
>            Reporter: Matteo Mortari
>            Assignee: Mario Fusco
>
> Currently KieAssembler are created per-runtime and cached globally, a sort of a singleton.
> There is a need to have a "kjar context" so that KieAssembler might be able to cache some resources as needed on a per-kjar basis.
> Currently this is not possible because indeed KieAssemblers are created at runtime singleton-like level, and unaware of the kjar context.
> (a KBuilder is passed, but this would offer only a creation-time context, and a cache based on this could not realize when the related kjar context is no longer needed.)



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list