I am trying to apply aspectj ltw around advice to the java.util.TimeZone class
My first step is just to get AspectJ LTW working so i created a simple aspect:
I added the agent call to my run time parameters
public class MyTestAspect extends SecurityContextAwareImpl
static Logger logger = Logger.getLogger(MyTestAspect.class);
public Object test(ProceedingJoinPoint pjp) throws Throwable
Object returnValue = pjp.proceed();
I added this tag to my bean configuration:
And I added the META-INF/aop.xml file in my classpath and tried various include options just to see if i could get it to work:
When I start my app I get no errors but i never see my "hello world" even though I put calls in TimeZone everywhere. I tried adding:
<!DOCTYPE aspectj PUBLIC
It still appears as if my aspect is completely ignored.
I assume I have a configuration problem. What am I missing?