Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 309732

Summary: [remoteservices][tooling] add annotation processor for AsyncService and AsyncMethod annotations
Product: [RT] ECF Reporter: Scott Lewis <slewis>
Component: ecf.remoteservicesAssignee: ecf.core-inbox <ecf.core-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P3 CC: bugs.eclipse.org, salinda.uwu, samolisov, sebastian.schmidt2
Version: unspecifiedKeywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Scott Lewis CLA 2010-04-19 15:13:33 EDT
In ECF 3.3, java annotation classes have been defined (named org.eclipse.ecf.remoteservice.AsyncService and org.eclipse.ecf.remoteservice.AsyncMethod).  

These annotation types are present to support the use of annotations to construct/generate asynchronous service interfaces usable by ECF remote services for asynchronous consumer access to remote services as described by this wiki page:

http://wiki.eclipse.org/Asynchronous_Remote_Services

To make it easier to create an asynchronous service interface, it should be possible to construct an annotation processor that processes AsyncService and AsyncMethod and uses the annotation to generate an asynchronous service interface for a normal service interface.  This enhancement request will track the development of this annotation processor.

There is an initial implementation of this annotation process here

host:  dev.eclipse.org
root:  /cvsroot/rt
module:  org.eclipse.ecf/incubation/bundles/org.eclipse.ecf.remoteservice.apt.java6

This provides a basic initial implementation of a java6-based annotation processor that handles AsyncService (and eventually AsyncMethod).
Comment 1 Scott Lewis CLA 2010-04-19 15:14:12 EDT
Added helpwanted keyword
Comment 2 Scott Lewis CLA 2010-04-19 15:14:48 EDT
changed to enhancement
Comment 3 Markus Kuppe CLA 2010-10-03 05:55:07 EDT
Do we have an example that shows how to use the annotations yet?
Comment 4 Scott Lewis CLA 2010-10-03 12:22:16 EDT
(In reply to comment #3)
> Do we have an example that shows how to use the annotations yet?

No.  The annotation processor isn't really completed...it's just barely functioning and needs to be completed.
Comment 5 Markus Kuppe CLA 2013-04-21 09:10:08 EDT
For the record, the ECF source is no longer in CVS, but in git instead [1]. Ideally, we receive patches through gerrit [2].

[1] http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/
[2] https://git.eclipse.org/r/#/q/status:open+project:ecf/org.eclipse.ecf,n,z
Comment 6 Scott Lewis CLA 2013-04-21 20:09:30 EDT
The work that I started on the java6 annotation processor is in git here

http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/tree/incubation/bundles/org.eclipse.ecf.remoteservice.apt.java6
Comment 7 Salinda Jayawardhana CLA 2013-04-23 21:29:33 EDT
I am working on this Bug and will provide  patch and update this here ,all my findings will send to the Ecf dev mailing list
Comment 8 Scott Lewis CLA 2016-12-03 20:41:42 EST
no longer relevant