Reminder to self;
I found in the code that one can do;
@Concerns( AuditConcern.class )
public @interface Audited {}
and the Concern will be added to every method with an @Audited annotation,
provided it is type compatible.
First of all, I am not sure this is documented.
Secondly, if this works, then surely the @UnitOfWorkPropagation should have
the @Concerns on it, so one doesn't need to declare that as well.
Cheers
--
Niclas Hedhman, Software Developer
http://polygene.apache.org - New Energy for Java