You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by Niclas Hedhman <ni...@hedhman.org> on 2017/05/15 09:00:08 UTC

Documentation note

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