Ian Boston  wrote
> 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).
That would really be a retention.

Stuart, could you please send me a simple example demonstration this?

Carsten

> 
> 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
> 
> 


-- 
Carsten Ziegeler
[email protected]

Reply via email to