Class DynamicProxyAdvice

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

@Component public class DynamicProxyAdvice extends Object implements org.springframework.boot.CommandLineRunner
This example creates a Dynamic Proxy using an interface and an optional target object using java.lang.reflect mechanisms.
  • Constructor Details

    • DynamicProxyAdvice

      public DynamicProxyAdvice()
  • Method Details

    • run

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