Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Mainly J2EE containers, with their confusing classloader schemes
-
Number of attachments :
Description
Referring to DefaultSemanticsRepository, can reuse the ClassLoaderHelper interface. Implementations of this interface can be "cached" instead of actual classloaders.
These helpers will get the approriate classloader fresh when requested.
Another option would be to create a "DroolsClassLoader" to encapsulate this.
Will require small changes to a large number of classes. A complicating factor is the difficulty in unit testing these bugs/quirks (MockClassLoader - anyone ????)