Hmm there is a snowballs chance in hell that this will be solved here i guess but since i posted on the Jboss forum, which sadly is not very popular and not only the problem received any answers but no views as well.
So i have the
Created in the META-INF a jboss-aop.xml looks like this
It took me two hours to understand i was missing a ), so i would suggest extra attention .
So i bundle up the classes in a jar. Off with them in the /default/deploy/Test directory. I lookup the bean and call SNAPSHOT, get the Hello message but nothing else. I delete the jboss-aop.xml from the META-INF, and recreate the jar. I put the jar in the /Test and create a /default/deploy/Test/META-INF and put there the jboss-aop.xml. Still nothing else. I begin to change to "execution(* com.balamaci.FunctionarBean->SNAPSHOT(..))" ,even to "execution(* com.balamaci.FunctionarBean->setSessionContext(..))" still to no avail. Please, am I doing something wrong here? It can't find the com.balamaci.SimpleInterceptor class? It doesn't complain when i mistype it so that may be the case. Well it's pretty much jboss specific so i'm not really hoping for a solution.
Joined: Mar 16, 2005
Yes, it's JBoss related.Since the aspect was not compiled in the class, I had to set in /default/deploy/jboss-aop.deployer/META-INF/jboss-service.xml EnableTransformer to true.