Class MyAccessAspects
java.lang.Object
info.ejava.examples.svc.aop.items.proxyfactory.MyAccessAspects
This programmatic implementation of a Introduction artificially breaks the solution into
two separate advice: 1) decorate the POJO with extra access field(s) and 2) determine the
caller accesses and assigning markings to the POJO. The advice had to be separated into
two separate Aspects in order to define a deterministic order.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
This advice runs second/last to identify the caller accesses and annotate the Introduction with those values.(package private) static class
This advice runs first to invoke the business method and then augment the response object with an implementation of the MyAccessIntroduction interface. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getter()
Match all getItem methods of the targeted package that return any type of object.
-
Constructor Details
-
MyAccessAspects
public MyAccessAspects()
-
-
Method Details
-
getter
public void getter()Match all getItem methods of the targeted package that return any type of object.
-