Class ReflectionAdvice

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

@Component public class ReflectionAdvice extends Object implements org.springframework.boot.CommandLineRunner
This example makes an simple, example method call to a target object using java.lang.reflect.Method.
  • Field Details

  • Constructor Details

    • ReflectionAdvice

      public ReflectionAdvice()
  • Method Details

    • run

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