polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Documentation note
Date Mon, 15 May 2017 09:00:08 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message