Classloading: Remove unnecessary use of thread context classloader
------------------------------------------------------------------
Key: TUSCANY-1887
URL: https://issues.apache.org/jira/browse/TUSCANY-1887
Project: Tuscany
Issue Type: Improvement
Components: Java SCA Core Runtime
Reporter: Rajini Sivaram
The attached patch removes some of the uses of TCCL in Tuscany code.
ModelResolver (and hence the contribution classloader) is now used to resolve:
Property file specified as component property, if the filename specified is
relative
Script file specified for <implementation.script>
Xquery file specified for <implementation.xquery/>
There are some uses of TCCL in testing, which have been left as is.
TCCL will continue to be used as the parent classloader for all classloaders
created within Tuscany.
<implementation.spring/> and <binding.ejb/> still use TCCL. I didn't want to
remove the use of TCCL in this code because I wasn't sure if Spring and EJB
have additional requirements on TCCL which are not obvious from the Tuscany
code.
I will raise another JIRA issue to handle deserializing of CallableReference,
which currently uses TCCL.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]