Set Jetty class loader to the class loader of the bundle that registers
servlets/resources/filters/listeners
------------------------------------------------------------------------------------------------------------
Key: PAXWEB-61
URL: http://issues.ops4j.org/jira/browse/PAXWEB-61
Project: Pax Web
Issue Type: Improvement
Components: ExtendedHttpService, HttpService
Affects Versions: 0.2.3, 0.2.2, 0.2.1, 0.2.0
Reporter: Alin Dreghiciu
Assignee: Alin Dreghiciu
Priority: Minor
Fix For: 0.2.4
Replace jetty class loader with the class loader of the bundle that registered
the context.
This is quite useful for extender like bundles that actually creates classes in
the name of other bundles.
So, class loader to be set to jetty will be resolved as follow:
1. If there is a context class loader set by the moment the registration is
done that class loader will be used.
2. If not, a bundle delegating class loadr will be used that delegates class
loading to the bundle making the registrations.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general