On 5/7/07, David Leangen <[EMAIL PROTECTED]> wrote:
Is there anything special I need to know about annotations in osgi?
None...
My problem is that I have a Method with annotations, but during runtime
You need to set the Retention in the Annotation itself, which is done
with Annotation of the Annotation. Example;
@Retention( RetentionPolicy.RUNTIME )
@Target( ElementType.TYPE )
@Documented
@Inherited
public @interface ModifiedBy
{
Class[] value();
}
Cheers
Niclas
_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev