[jboss-user] [JBoss AOP] - Re: execution pointcut....class context?

2007-01-03 Thread robotics80
Ok Kabir, I have downloaded the new example classes fixed from cvs and I see that the TestCase you done, works well. But if you change the code of jboss-aop.xml file from: interceptor class=org.jboss.test.aop.regression.jbaop336callnpe.LogInterceptor/ |bind

[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts

2006-12-28 Thread robotics80
Could you tell me the name of the method or the class where it is declared? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3996611#3996611 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996611

[jboss-user] [JBoss AOP] - execution pointcut....class context?

2006-12-28 Thread robotics80
My question is if I have an example class like this: class A { |private Log objLog; | |public A(String logFile){ | objLog = new Log(logFile); |} | |//some methods | } And I have a pointcut like this in my jboss-aop.xml file: pointcut

[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();

2006-12-23 Thread robotics80
Hi flavia, thanking in advance for reading my example, but what I say is that NullPointer exception occurs when I use a pointcut like this: anonymous wrote : I use load time weaving with JDK1.5 and -javaagent option. I run this example in a Eclipse Java project with JBoss AOP 1.5.2 GA e not

[jboss-user] [JBoss AOP] - Field interception doesn't work........

2006-12-21 Thread robotics80
I have three classes like these: public class SqtpSkeleton{ |protected Log objLog=null; |// and so on... | } | | public class SqtpService extends SqtpSkeleton{ |//other fields and methods. | } | | public class MyService extends SqtpService{ |public void

[jboss-user] [JBoss AOP] - Re: Field interception doesn't work........

2006-12-21 Thread robotics80
Sorry, I forgot to say that I deploy this application with Jboss AOP 1.5.2 and with load time weaving activated with the JDK 1.5 -javaagent option. Thanks!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3995731#3995731 Reply to the post :

[jboss-user] [JBoss AOP] - AOP compatibility with JBoss 3.2.7

2006-12-18 Thread robotics80
I want to use JBoss AOP with JBoss 3.2.7 AS, but I'm not sure if load time weaving is supported in JBoss 3.2.7 or I have to install JBoss 4.x Could anyone help me about this question? Please View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3994621#3994621

[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();

2006-12-15 Thread robotics80
I have the main application in a file FileFinder.java that use a logger object to log its operations into a file. The FileFinder build this log object in a method init() and I want to create an aspect for logging interception that is able to intercept the log object build in method init() of

[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();

2006-12-15 Thread robotics80
I rewrite the jboss-aop.xml file because I failed to insert its code: !-- Declaring pointcuts -- !-- Declaring Aspects -- aicagw.properties !-- Binding pointcuts to Interceptors interceptor-ref

[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();

2006-12-15 Thread robotics80
I rewrite the jboss-aop.xml file because I failed to insert its code: !-- Declaring pointcuts -- | pointcut name=allPublicMethod | expr=execution(public * it.pitagora.sqtp.server.aicagw.fastdeferred.FileFinder-*(..))/ | pointcut name=mainMethod |

[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();

2006-12-15 Thread robotics80
I rewrite the jboss-aop.xml file because I failed to insert its code: !-- Declaring pointcuts -- | pointcut name=allPublicMethod | expr=execution(public * it.pitagora.sqtp.server.aicagw.fastdeferred.FileFinder-*(..))/ | pointcut name=mainMethod |

[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();

2006-12-14 Thread robotics80
I have the same problem when I use Method call pointcut with load time weaving activateAnyone could help us with this problems? I tried even with jboss aop 2.0.0.alpha1 but it is the same thing! Is it a bug or we aren't able to use the pointcut expressions? View the original post :