-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
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
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:
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
---
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
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
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 :
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
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.
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
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.
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
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
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
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
---
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
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. :)
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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:
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
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
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
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
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
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
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
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
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
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
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
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
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.
--
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
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
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
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
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.
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
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
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
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
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
601 - 656 of 656 matches
Mail list logo