Class CGLibAdvice
java.lang.Object
info.ejava.examples.svc.aop.items.CGLibAdvice
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner
@Component
public class CGLibAdvice
extends Object
implements org.springframework.boot.CommandLineRunner
This example creates a CGLIB proxy for a class and an optional
target object. CGLIB can be used in cases when there is no interface
and the proxied object can either be the base class or a delegate.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CGLibAdvice
public CGLibAdvice()
-
-
Method Details
-
run
- Specified by:
run
in interfaceorg.springframework.boot.CommandLineRunner
- Throws:
Exception
-