google-code-export / cypal-studio

Automatically exported from code.google.com/p/cypal-studio
0 stars 0 forks source link

Support generation of superinterface methods in Async interface #111

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an interface with methods, let's say, SuperInterface
2. Create another interface that extends both SuperInterface and
RemoteService, let's say, MyRemoteService
3. The resulting MyRemoteServiceAsync will contain only methods declared
directly on the MyRemoteService interface (in this case, none)

What is the expected output? What do you see instead?
Was expecting the MyRemoteServiceAsync to contain async version of the
methods declared on SuperInterface

What version of the product are you using? On what operating system?
Cypal Studio for GWT 1.0, Linux i386

Please provide any additional information below.
This is a very interesting use case when using Spring to contain the
application services as beans and export them as RemoteServices using GWT
server library. To do this, it only would need an additional interface that
extends both an application service and GWT's RemoteService. The methods on
the application service would be available directly on the resulting async
interface.
It might be tricky to keep track of changes on the application service
interface (in my case, it's even on another eclipse project, which the web
project depends). Perhaps an option to update all async interfaces when a
build is done (like invoking the compiler on project build).

Original issue reported on code.google.com by lfpg....@gmail.com on 5 Sep 2008 at 7:20

GoogleCodeExporter commented 9 years ago

Original comment by grprakash on 7 Sep 2008 at 5:19