Need a way to change or plug-in a different classloader in 
ContextClassLoaderServiceDiscoverer.ContextClassLoaderServiceDiscoverer()
------------------------------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-2764
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2764
             Project: Tuscany
          Issue Type: Bug
            Reporter: Rashmi Hunt


Along the same lines of  'ContributionClassLoader' discussion earlier, there 
needs a way to change or plug-in a different classloader to load registered 
services which are under META-INF\services.
The reason for this is, the environment which tries to bootstrap Tuscany may 
have different classloader structure compared to JSE env  
 
Tuscany tries to load services using current thread's context classloader in 
ContextClassLoaderServiceDiscoverer.ContextClassLoaderServiceDiscoverer()
and based on different environments classloader structure, current thread's 
context classloader may not be able to load service registered under 
META-INF\service leading to services
being null when Tuscany later tries to access them.
 
Need a way to change or plug-in a different classloader in 
ContextClassLoaderServiceDiscoverer.ContextClassLoaderServiceDiscoverer()
 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to