[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-18 Thread ifrit
Is it possible to apply a point cut to an entire branch of packages, like for example pointcut="..." and within(java.*) for all class in package java and the subpackages aso. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874280#3874280 Reply to the post :

[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-13 Thread ifrit
well, it may be some malfunction with eclipse, now i can do the interception. it works fine, but i still got a question, is it possible to intercept public static void main(String [] args), for the moment by me it appears as it doesn't work. I'd like to do that to initialize some variables at th

[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-13 Thread ifrit
yes it works, for the story, it was just a space beetwen String and [ that was the cause of the error, but if there is no space it works perfectly. maybe something to say in the doc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873700#3873700 Reply to the

[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-12 Thread [EMAIL PROTECTED]
It should work if you do | "execution(public static void blah.MyClass->main(java.lang.String[])" | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873573#3873573 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=387357

[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-12 Thread ifrit
lol, a question sooner than expected. how do i write pointcut expression for tables arguments?? for example for the function main(String [] args) java.lang.String [] isn't accepted View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873572#3873572 Reply to the p

[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-12 Thread ifrit
like the other one, it doens't work for the first tries, but now it works fine. So for the moment i don"t have other question about aop, but it may come when i may try the hot deployment. See you later. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873558#3

[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-12 Thread [EMAIL PROTECTED]
Does the constructor tutorial work for you? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873518#3873518 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873518 --- S

[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-11 Thread ifrit
well, i tried many things, but for the moment i can't intercept a constructor call. | public class HelloAOP { | public void callMe () { | System.out.println("AOP"); | } | /** | * | */ | public static void main (String args[] ) { |

[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-08 Thread [EMAIL PROTECTED]
A constructor caller pointcut could help, the question is if the overhead of this is worth the performance increase of your Date class. Please take a look at the tutorial that comes with the AOP distribution :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3

[JBoss-dev] [Design of AOP on JBoss (Aspects/JBoss)] - Re: [testing with AOP]

2005-04-08 Thread ifrit
Well i'll add more to my request. What i'd like to do is replace call of new Date(); with my own call of new Date(), that is a Date that is speed up. Is that realistic?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873231#3873231 Reply to the post : http