I am trying to figure out how to use annotations on a java interface and
have a implementation without annotations.
Section 3.5 of the jsr311 states (on page 12 in the 20/3/08 version) that
annotations on interfaces are inherited and used on a class iff it has no
annotations of its own.
Currently Jersey ignores the interface (and logs a warning about it)
Allowing this would be extremely handy for a client side java framework
with a dynamic proxy - which I wrote, but currently I am forced to put the
annotations on both the interface
AND an implementation because I can't figure out how to publish an
implementation for that interface with the jersey framework on the server.
Is this possible? How?
The question is how do we register such an implementation without
annotations?
Any help would be appreciated,
Thanks,
Frank
-----------------------------------------
This e-mail and any attachments are intended only for the
individual or company to which it is addressed and may contain
information which is privileged, confidential and prohibited from
disclosure or unauthorized use under applicable law. If you are
not the intended recipient of this e-mail, you are hereby notified
that any use, dissemination, or copying of this e-mail or the
information contained in this e-mail is strictly prohibited by the
sender. If you have received this transmission in error, please
return the material received to the sender and delete all copies
from your system.