Package info.ejava.examples.svc.aop.items.proxyfactory
package info.ejava.examples.svc.aop.items.proxyfactory
-
ClassDescriptionThis 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.This advice runs second/last to identify the caller accesses and annotate the Introduction with those values.This advice runs first to invoke the business method and then augment the response object with an implementation of the MyAccessIntroduction interface.This is an example AOP Introduction interface that will be added to a targeted object at runtime.This is an implementation class for the example Access Introduction.This class provides programmatic advice definitions that can be assigned using a ProxyFactory