I think you have to put the annotation on the *class* of the concrete class, 
since the annotation process does not look at parent classes. (possibly a 
retention issue).

There was a similar problem but different problem with QDocs.

Ian
On 21 Apr 2010, at 00:34, D. Stuart Freeman wrote:

> I have an abstract class with a service reference in it and a getter
> method for retreiving it.  If I use the javadoc method of declaring the
> reference, classes that extend the abstract are able to call the getter
> and use the service.  Switching to the annotation method of declaring the
> reference results in the getter returning null.  Is this expected
> behavior?  Is there a way to make it work using the annotations?
> 
> -- 
> D. Stuart Freeman
> Georgia Institute of Technology

Reply via email to