Venkat, Sorry about that. The service filename had changed between the time I started implementing the classloader changes and submitted the patch. I should have been more careful when merging the changes.
Thank you... Regards, Rajini On 11/21/07, Venkata Krishnan <[EMAIL PROTECTED]> wrote: > > Ok, I figured this out. There's been a change in the name of the services > file that used to contain the Policy hanlders. > > Thanks > > - Venkat > > On Nov 20, 2007 9:19 PM, Venkata Krishnan <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > With the recent 'classloader' changes the enhancements that I'd did in > the > > the calculator sample to demonstrate the use of implementation policies > does > > not seem to work anymore. Its primarily to do with the loading of > > PolicyHandler class names from > > META-INF/services/org.apache.tuscany.sca.policy.PolicySetHandlers file > in > > the implementation-java-runtime module. Earlier I used to load this > file > > from the JavaImplementationProvider.loadPolicyHandlers using the TCCL. > > After the classloader related clean up the 'loadPolicyHandler' method > now > > uses ServiceDiscovery.getServiceResources and I see that the file > doesn't > > seem to get loaded. Can somebody point to that which I am missing here > ? > > Thanks. > > > > - Venkat > > >
