Details
-
Enhancement
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Several gateways are doing something like this to set the class loader for incoming messages:
ClassLoader origCL = Thread.currentThread().getContextClassLoader();
try {
Thread.currentThread().setContextClassLoader(anotherCL);
}
finally {
Thread.currentThread().setContextClassLoader(origCL);
}
We should create a standard slot for the application loader and pass that in through init in the component's activator (or something equivalent).