Class MyAccessAspects.MyAccessDecorationAspect

java.lang.Object
info.ejava.examples.svc.aop.items.proxyfactory.MyAccessAspects.MyAccessDecorationAspect
Enclosing class:
MyAccessAspects

@Component @Order(1) static class MyAccessAspects.MyAccessDecorationAspect extends Object
This advice runs first to invoke the business method and then augment the response object with an implementation of the MyAccessIntroduction interface. No access info is assigned, just the extra type augmentation is performed here. This is our choice for demonstration only.
  • Constructor Details

    • MyAccessDecorationAspect

      MyAccessDecorationAspect()
  • Method Details

    • decorateWithAccesses

      public Object decorateWithAccesses(org.aspectj.lang.ProceedingJoinPoint pjp) throws Throwable
      Throws:
      Throwable