This is: http://www.fornax-platform.org/tracker/browse/CSC-189
Until we fix the issue you can add a delegating method, which will inject
the service and provide a method you can use from your hand written code in
bookDocument.
Service Accounting {
bookDocument(@AccDocument document);
protected scriptMethod => @ScriptService.scriptMethod;
}
/Patrik
PaloT wrote:
>
> Hello,
> it is feasible to inject Service to another Service (specially from
> different module)?
> Design file is OK, however whey I try to inject Service for example:
> Service Accounting {
> > @ScriptService
> bookDocument(@AccDocument document);
> }
>
> and ScriptService is defined in same or another module. Methods for
> get/set
> ScriptService in AccountingImplBase aren't generated neither correct
> injection
> in Spring config. Bug or feature?
>
> TNX
>
> Pavel
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Fornax-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>
>
--
View this message in context:
http://www.nabble.com/Injecting-Service-to-Service-tp20681974s17564p20695625.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer