[jboss-jira] [JBoss JIRA] (DROOLS-1536) Augment KieAssembler with a kjar context
Matteo Mortari (JIRA)
issues at jboss.org
Mon Apr 24 13:33:00 EDT 2017
Matteo Mortari created DROOLS-1536:
--------------------------------------
Summary: 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: Edson Tirelli
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