[
http://jira.amdatu.org/jira/browse/AMDATU-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivo Ladage - van Doorn updated AMDATU-221:
------------------------------------------
Assignee: (was: Ivo Ladage - van Doorn)
> Remove the need of implementing an arbitrary interface in a REST service
> ------------------------------------------------------------------------
>
> Key: AMDATU-221
> URL: http://jira.amdatu.org/jira/browse/AMDATU-221
> Project: Amdatu
> Issue Type: Improvement
> Components: Amdatu Web
> Affects Versions: 0.1.0
> Reporter: Ivo Ladage - van Doorn
>
> In the current REST implementation (using Apache Wink/JAX-RS) it is required
> for a REST service to implement an arbitrary interface in order to be picked
> up by the REST framework. Really any interface will do. The reason for this
> behavior can be found in the WinkRegistrationServiceImpl: for all services
> the onAdded callback method is invoked, but when the service does not
> implement any interface not the class itself but a proxy class is passed in
> this callback method. Since the @Path annotation is not available on this
> proxy class, the service will be ignored.s
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira