[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Unable to figure out calledmethod of a caller pointcut

2004-09-21 Thread marciodel
Hi.  I forgot to say that the intercepted class is Connector. All others are not 
intercepted. 

I am using the SystemClassLoader. The pointcuts are being defined using the API and 
not the XML.

Thanks,

Marcio Alves  

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848943#3848943

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848943


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Unable to figure out calledmethod of a caller pointcut

2004-09-20 Thread Bill Burke
The caller pointcut should not be called.You can use the -report switch with the 
precompiler (the ant task would be report=true) and it will dump out all matching 
joinpoints and the bindings that they are attached to.

a) are you using a call pointcut anywhere?  It looks like you are. (or that you did).

b) Are you using the precompiler?  Clean all your classfile and recompile everything.

If you can get a small testcase  that reproduces the bug, please post it here.

Bill

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848861#3848861

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848861


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Unable to figure out calledmethod of a caller pointcut

2004-09-20 Thread marciodel
Hi, you are right. I am using call(* packageName-*(..)).

The following is the code that is causing the exception.  When I remove conn.close(), 
the exception is not thown.  


MessageConnection conn = null;
String url = sms:// + getAttribute() + :134;

try {
conn = (MessageConnection) Connector.open(url);
TextMessage msg = (TextMessage) conn
.newMessage(MessageConnection.TEXT_MESSAGE);
msg.setPayloadText(text.toString());
conn.send(msg);

} catch (Exception e) {
//e.printStackTrace();
throw new IllegalStateException(Not allowed to send SMS);
} finally {
if (conn != null) {
try {
conn.close();
} catch (Exception e) {
if (com.xxx.xx.Debug.getDebugLevel() != 
com.xxx.xx.Debug.DBG_NONE)
e.printStackTrace();
 
}
}
}

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848863#3848863

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848863


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development