RE: [JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-25 Thread Marc Fleury
-Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of claudehussenet > Sent: Sunday, February 22, 2004 2:05 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New > AOP stuff going on. > > I h

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Excluding classes from AOP munging.

2004-02-23 Thread Bill Burke
well, what is currently in head is very different from 3 weeks ago. the XML expressions have been totally changed. You would have to look at the testsuite xml testsuite/src/resources/aop/META-INF/jboss-aop.xml for examples as I haven't written any doco yet. But HEAD should work as you can shu

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Excluding classes from AOP munging.

2004-02-23 Thread Essington
I am using a version of jboss-head from a couple weeks ago (it still claims to be DR3, but it isn't completely courrent). I edited the AspectManagerService to look like so: | | false | | and still when I try to access my provider I get a stack trace that begins:

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-23 Thread Bill Burke
That is correct. I'll add this to DR3 when I get a chance. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822591#3822591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822591 ---

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Excluding classes from AOP munging.

2004-02-23 Thread Bill Burke
COOL! Actually this is a good thing as I had not tested to make sure that signed jars could not be modified. But, to solve your problem, with JBoss DR2, I think if you modify jboss-service.xml where AspectManagerService is defined you can do You have to make sure that any pointcuts you have def

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-22 Thread claudehussenet
I have looked at how to answer to my second question (The easiest one ;-)) The class advised for a Caller pointcut is the calling class. I didn't find a way to get a handle on this class within the implementation of the Interceptor.So ,by adding the following code within the invokeCaller method fr

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-22 Thread Bill Burke
although the grammar support call(constructor...) I haven't implemented it yet. I hope to get to it before the release. If you're interested in implementing let me know. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822442#3822442 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-21 Thread claudehussenet
I have 2 questions regarding the lastest code from CVS that I am currently testing. 1/How to define a caller pointcut as follows I want to intercept every instanciation of the constructor of the class A when it's called within method B or constructor B 2/How can I get information of the caller

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Tutorial

2004-02-20 Thread conradi
Since JBossAOP can be used standalone I guess it is not possible to use JBossAOP with JBoss 3.* because of ClassLoader issues? Thanks, Heinz=Dieter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822276#3822276 Reply to the post : http://www.jboss.org/index.

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP Tutorial

2004-02-17 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821914#3821914 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821914 WIth the next version of JBoss AOP you will be able to use it with JBoss 3.x, but JDK 1.4 or higher wi

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-02-12 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821232#3821232 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821232 That's not the way JBoss AOP works. There will be no problem with HotSpot as you describe.

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-02-12 Thread marc fleury
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821223#3821223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821223 One more thing that will throw off HotSpot is the Advisable interface since it essentially says that t

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-02-12 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821210#3821210 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821210 I have heard different things from different people. My thought was always that the VM was better tha

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-02-11 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821156#3821156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821156 Read an article today on HotSpot optimization that says basically the same thing you said about object

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Classloader Domain scoping

2004-02-09 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820793#3820793 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820793 Yeah, you're right Scott on the simpler interface. Sorry And thanks. Bill ---

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Classloader Domain scoping

2004-02-09 Thread starksm
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820783#3820783 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820783 Its too big a requirement to need the ClassLoader to implement a proprietrary interface. Simply have s

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-08 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820672#3820672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820672 "rythos" wrote : Yeah, you are right in this example. My motivating example wasn't very motivating. :)

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Classloader Domain scoping

2004-02-08 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820668#3820668 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820668 "rythos" wrote : So for some versions of the class being loaded the advice applies, and for others it

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Classloader Domain scoping

2004-02-08 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820667#3820667 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820667 he ClassLoaderDomain cannot be a contract required at the ClassLoader imiplementation level as this

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Classloader Domain scoping

2004-02-08 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820654#3820654 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820654 So for some versions of the class being loaded the advice applies, and for others it doesn't? I don't

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-08 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820653#3820653 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820653 Yeah, you are right in this example. My motivating example wasn't very motivating. :) AspectJ best pra

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Classloader Domain scoping

2004-02-08 Thread starksm
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820646#3820646 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820646 The ClassLoaderDomain cannot be a contract required at the ClassLoader imiplementation level as this i

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-08 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820637#3820637 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820637 FYI, for above couldn't it be solved by a caller pointcut in JBoss AOP? Where withClass would be !(Qu

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: added Aspects

2004-02-06 Thread marc fleury
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820464#3820464 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820464 explain this to us. 1- you always start the aspect code with invocation.invokeNext(); this reads is

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-02-06 Thread [EMAIL PROTECTED]
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820458#3820458 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820458 I would say that this is because the MethodInvocations aren't hard referenced for very long. The GC ca

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-02-06 Thread marc fleury
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820452#3820452 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820452 That is kind of interesting really. People where bitching about the hit they were taking with the obje

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-02-05 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820392#3820392 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820392 I thought object pooling was a good idea when creating the object was costly? If creating MethodInvoca

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: object pooling detrimental to performance

2004-02-05 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820390#3820390 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820390 It is not costly to build Invocation objects (field, method, caller, etc...) as it is only a bunch of

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-05 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820351#3820351 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820351 Absolutely. (I use the AspectJ terms because that's how it's easiest to explain). It's very similar t

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-05 Thread marc fleury
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820347#3820347 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820347 this is great stuff we need you to do a BLOG entry about this to give some visibility and order on t

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: New AOP stuff going on.

2004-02-05 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820323#3820323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820323 On the subject of control flow, don't forget cflowbelow. Aspectwerkz implemented cflow, but no below.

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE in MethodTailInterceptor

2004-02-05 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820310#3820310 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820310 JBOss AOP is homework? Can you elaborate? FYI, we're always looking for new help. Open Source is l

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Some fixes and a caller side point cut question

2004-02-05 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820308#3820308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820308 I fixed these problems within our source control system. You can access our control system here:

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Bug in ClassAdvisor

2004-02-05 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820309#3820309 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820309 HEAD is the main version of our source code in our source control system: You can access our contro

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Can aspects be compiled instead of dynamically loaded?

2004-02-05 Thread terkans
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820260#3820260 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820260 Great! Thanks a lot people. Maarten --- T

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE in MethodTailInterceptor

2004-02-04 Thread marc fleury
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820249#3820249 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820249 this is how we recruit. ooo we see the eye in you.. nah bullshit, just code a ton a

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Some fixes and a caller side point cut question

2004-02-04 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820245#3820245 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820245 You didn't discuss the other problem above. My bad :) There are about 3 places in AspectXmlLoader.ja

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Bug in ClassAdvisor

2004-02-04 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820243#3820243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820243 Ok, what's RW, and what's HEAD? (or better yet, where do I find out about these things?) No problem

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE in MethodTailInterceptor

2004-02-04 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820242#3820242 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820242 You guys are funny :) I'm on my last term of my comp sci degree which is proving to be quite painful o

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Caller-pointcut question

2004-02-04 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820241#3820241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820241 Been a while since I looked at this, but I believe this was the example i was playing with. clas

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Some fixes and a caller side point cut question

2004-02-04 Thread rythos
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820240#3820240 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820240 I can't remember what problems I was having with CallerExprEditor. It gave me a ClassCastException nea

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Bug in ClassAdvisor

2004-02-04 Thread marc fleury
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820236#3820236 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820236 rythos, get RW will you? --- The SF.Net email

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE in MethodTailInterceptor

2004-02-04 Thread marc fleury
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820235#3820235 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820235 yeah yeah yeah come and help come and help. marcf

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: aop portability: wild idea

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820229#3820229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820229 One more comment on this. It wouldn't work because URLClassLoader and such. Bill

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: ClassCastException in CallerExprEditor

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820228#3820228 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820228 ok, the problem I think is that you are calling a method from within a constructor? This is not suppo

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Managing interceptors via an interactive 3d management m

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820227#3820227 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820227 I was unable to run your examples. Didn't work in netscape or ie. --

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Caller-pointcut question

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820226#3820226 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820226 Another way to do it is: org.jboss.util.MethodHashing.findMethodByHash(Class clazz, long hash) Ca

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Documentation Bug

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820225#3820225 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820225 fixed apologies --- The SF.Net email is sponsored

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Bug in ClassAdvisor

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820224#3820224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820224 ok fixed in head --- The SF.Net email is sponsore

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Some fixes and a caller side point cut question

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820223#3820223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820223 your fixes are not correct. This is iterating over Method calls, not Constructor calls. What are you

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Can aspects be compiled instead of dynamically loaded?

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820219#3820219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820219 Static compilation has finally been added to HEAD. No doco yet, but will write before March release.

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Performance of XML vs XDoclet

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820217#3820217 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820217 None. XDoclet generate XML --- The SF.Net email

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re:

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820218#3820218 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820218 We have no way currently of saying, intercept classes of instanceof Serializable for instance. It i

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Bug in ClassAdvisor

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820216#3820216 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820216 Lack of feedback is my fault. I hate forums, but finally, we have some forum email support. Thanks

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: JBoss AOP and Tomcat 4.x integration?

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820215#3820215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820215 I have added a precompiler to HEAD. Look in testsuite/build.xml for of the ant target. Also, look

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE in MethodTailInterceptor

2004-02-04 Thread Bill Burke
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3820214#3820214 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3820214 If you are interested in contributing let me know. I'm starting to do some serious enhancements to AO

<    2   3   4   5   6   7