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
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
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
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
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
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 :
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
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
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
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
|
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
|
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 :
12 matches
Mail list logo