Class MyAccessAspects.MyAccessAssignmentAspect
java.lang.Object
info.ejava.examples.svc.aop.items.proxyfactory.MyAccessAspects.MyAccessAssignmentAspect
- Enclosing class:
MyAccessAspects
This advice runs second/last to identify the caller accesses and annotate the Introduction with
those values. The advice can run as an @AfterReturning since it only inspects and modifies the
existing returned POJO versus replacing it.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
assignAccess
(ItemDTO protectedObject) private MyAccessIntroduction.Access
deriveAccess
(int id)
-
Constructor Details
-
MyAccessAssignmentAspect
MyAccessAssignmentAspect()
-
-
Method Details
-
assignAccess
- Throws:
Throwable
-
deriveAccess
-