Example usage for org.springframework.aop.aspectj.annotation AnnotationAwareAspectJAutoProxyCreator AnnotationAwareAspectJAutoProxyCreator

List of usage examples for org.springframework.aop.aspectj.annotation AnnotationAwareAspectJAutoProxyCreator AnnotationAwareAspectJAutoProxyCreator

Introduction

In this page you can find the example usage for org.springframework.aop.aspectj.annotation AnnotationAwareAspectJAutoProxyCreator AnnotationAwareAspectJAutoProxyCreator.

Prototype

AnnotationAwareAspectJAutoProxyCreator

Source Link

Usage

From source file:org.beast.project.template.config.AOPConfig.java

@Bean
public AnnotationAwareAspectJAutoProxyCreator autoProxy() {
    AnnotationAwareAspectJAutoProxyCreator aop = new AnnotationAwareAspectJAutoProxyCreator();
    aop.setProxyTargetClass(true);//from w  w w .j  a  v a2  s  .  co m
    return aop;
}