I think we should do it in the "elegant" way.  otherDependencies has a
different purpose.

I changed the metamodel and added servicesDependencies association in
Service.
You can continue with the transformation, see how it is done for Consumer
You also have to consider this in the generation of Service class and spring
bean (dependency injection). Avoid duplicates when there is a method
delegation to the same service. E.g.

        Service LibraryService {
            inject @PersonService
            findPersonByName => @PersonService.findPersonByName;
        }

/Patrik


PaloT wrote:
> 
> Hello Patrik,
> patch for CSC-189 attached. I did it simplest way I found. If you dislike
> it
> I can make it more elegant with bigger impact on code (metamodel have to
> be changed).
> 
> Pavel
> 

-- 
View this message in context: 
http://www.nabble.com/Fix%3A-CSC-189---Service-injection-into-service-tp20834244s17564p20868256.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to