Enabling @AspectJ Support

To enable @AspectJ support with Java @Configuration add the @EnableAspectJAutoProxy annotation:


To enable @AspectJ support with XML based configuration use the aop:aspectj-autoproxy element: