Thanks. I have opened *TUSCANY-2764* Regards Rashmi On Thu, Jan 8, 2009 at 2:16 PM, Raymond Feng <[email protected]> wrote:
> I'll give a try in the 1.x stream. > > Thanks, > Raymond > > *From:* Rashmi Hunt <[email protected]> > *Sent:* Thursday, January 08, 2009 12:51 PM > *To:* [email protected] > *Subject:* classloader plug point in ContextClassLoaderServiceDiscoverer > > Hi > > Along the same lines of 'ContributionClassLoader' discussion earlier, is > there 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. > > Is there a way to change or plug-in a different classloader in > ContextClassLoaderServiceDiscoverer.ContextClassLoaderServiceDiscoverer() > > Regards > Rashmi >
