hi, we dont have any logging tutorial afaik, but the examples thats included in the distro should give you a nice idea on how it can be done.
eg take a look at JBOSS_DISTRO/docs/aspect-framework/examples/method-execution. its a simple example that show how you intercept a method. the same idea applies to logging. if you want to to change the logging of aop take a look at JBOSS_DISTRO/docs/aspect-framework/examples/logging.
regarding testing it is kinda difficult to understand what you mean, but a nice intro for using aop with tests can be found here: http://www.jboss.org/jbossaop/docs/2.0.0.GA/docs/aspect-framework/usergui... in section 8.2. - its a bit outdated, but it will give you an idea of what can be done.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213282#4213282
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213282
hi, if youre not intercepting any of the classes it says it cant find, then you can safely ignore those messages.
during processing of the classes aop will try to lookup all the classes and its references. often the references cant be found in the classpath and hence these warnings will occur.
its possible to set aop in a more stricter mode withe the option -suppress, if you set it to false aop will throw an exception when there are references to classes it cant find.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213277#4213277
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213277