1. Two services got specified packages.
2. Service Two delegates a method to service One.
3. The delegated service is of return type void.

Application Universe {
    basePackage=org.helloworld

    Module milkyway {

        Service MoonService {
            package org.helloworld.moon
            sayHello(String moonName);
        }

        Service PlanetService {
            package org.helloworld.planet
            sayHello => MoonService.sayHello;
        }
    }
}

The generated method in
org.helloworld.milkyway.serviceimpl.PlanetServiceImplBase produces a compile
error, because the specified package is set despite the return type is void:

    /**
     * Delegates to [EMAIL PROTECTED]
org.helloworld.milkyway.serviceapi.MoonService#sayHello}
     */
    org.helloworld.planet sayHello(ServiceContext ctx, String moonName) {
        return moonService.sayHello(ctx, moonName);
    }

-- 
View this message in context: 
http://www.nabble.com/Delegation-of-void-method-and-specific-service-package-tp15740405s17564p15740405.html
Sent from the Fornax-Platform mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fornax-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Reply via email to