[ http://issues.apache.org/jira/browse/BEEHIVE-752?page=all ]
Eddie O'Neil resolved BEEHIVE-752:
----------------------------------
Fix Version: 1.1
Resolution: Fixed
Fixed in SVN 345023. The annotation processor no longer uses Java Class file
reflection at build time for dependent types; instead, Mirror is used which
allows web services to be processed at build time along with JavaBean types
that a service (endpoint or implementation) depend upon.
> improve the WSM annotation processor to be more Mirror-like and use less
> reflection
> -----------------------------------------------------------------------------------
>
> Key: BEEHIVE-752
> URL: http://issues.apache.org/jira/browse/BEEHIVE-752
> Project: Beehive
> Type: Improvement
> Components: Web Services (181)
> Versions: v1m1, V1Alpha, V1Beta
> Reporter: Eddie O'Neil
> Assignee: Eddie O'Neil
> Fix For: 1.1
> Attachments: BEEHIVE-752.txt
>
> The current WSM annotation processor is obviously JDK 5.0 APT based. In its
> implementation, though, it uses a cross between reflection and Mirror to do
> annotation processing. The result is that with this style project:
> src/
> Service.java
> Account.java
> where the WSM annotated web service "Service.java" imports the "Account"
> class, the .class file must exist on disk in order for the annotations to be
> processed.
> The result is that WSM projects need to be structured as:
> src/
> Account.java
> src-ws/
> Service.java
> so that the src/ directory can be built before src-ws/ to ensure that the
> .class files for required types are available before annotation processing.
> One of the goals of Mirror is to allow annotations in source files to be
> processed so that the .class files need not exist. A nice improvement to the
> WSM annotation processor would be to remove the dependence on reflection and
> replace it with Mirror-only annotation processing.
> We should address this at some point after the next Beehive release...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira