io.bitsensor.plugins.java.aspectj.AspectConfiguration Maven / Gradle / Ivy
The newest version!
package io.bitsensor.plugins.java.aspectj;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import static org.aspectj.lang.Aspects.aspectOf;
@Configuration
@EnableAspectJAutoProxy
public class AspectConfiguration {
@Bean
DisableBitSensorAspect disableBitSensorAspect() {
return aspectOf(DisableBitSensorAspect.class);
}
}