Class ProgrammaticAOPAdvice

java.lang.Object
info.ejava.examples.svc.aop.items.ProgrammaticAOPAdvice
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner

@Component public class ProgrammaticAOPAdvice extends Object implements org.springframework.boot.CommandLineRunner
This example creates a proxy using a Spring ProxyFactory. This consists of the target object, advice implementing one or more callback interfaces, with an optional advisor wrapper to make matching decisions.
  • Constructor Details

    • ProgrammaticAOPAdvice

      public ProgrammaticAOPAdvice()
  • Method Details

    • run

      public void run(String... args) throws Exception
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Throws:
      Exception