[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE on redeploy (inside aspect library code)

2004-11-04 Thread Bill Burke
It does look like it is aop$classAdvisor$aop. Static initialization should always happen, not sure why it isn't in this case. would it be possible to put together a small test case we can reproduce the problem with? Apologies, Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE on redeploy (inside aspect library code)

2004-11-04 Thread Bill Burke
Another question: Are you using the precompiler? Or load time? or both? Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853950#3853950 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853950

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE on redeploy (inside aspect library code)

2004-11-04 Thread Bill Burke
Yes, send it via email: [EMAIL PROTECTED] FYI: hot deployment is a bitch. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853954#3853954 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853954

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: NPE on redeploy (inside aspect library code)

2004-11-04 Thread Bill Burke
FYI, I have done ZERO testing with scoped classloading and JBoss AOP. FYI2: If you figure out this bug, and you want CVS access, you got it! I STILL have a hard time debugging hot deployment bugs whenever they come up. Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: ClassCastException in caller side advices

2004-11-03 Thread Bill Burke
You are correct, it is a bug, we'll get right on fixing this. apologies Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853778#3853778 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853778

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

2004-11-03 Thread Bill Burke
FYI, this isn't implemented, just discussing how to implement... What do you think the semantics should be? And what does AspectJ support in this regard? Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853788#3853788 Reply to the post :

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

2004-11-03 Thread Bill Burke
I should say: What do you WANT the semantics to be, since this is your feature request :-) Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853804#3853804 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853804

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

2004-11-02 Thread Bill Burke
I see the usecase for this. It would be trivial to implement, but let's argue on the correct syntax and contract. | extends expr=org.MyTestCase from=test.MySuperClass/ | The rules are that MySuperClass must extend the class MyTestCase extends. Anything else? View the original post :

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

2004-11-02 Thread Bill Burke
You can scope your HiveMind deployments. You cannot scope JBoss AOP deployments. Check out the JBoss AS docs on how to do this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853657#3853657 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Missing jboss-service.xml?

2004-10-31 Thread Bill Burke
copy the jboss-service in jboss-aop.deployer. I screwed up the dist target, apologies View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853438#3853438 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853438

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

2004-10-31 Thread Bill Burke
i meant also to say that this should work in JBoss AOP View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853441#3853441 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3853441

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Different handling of XML entities between FINAL and RC1

2004-10-29 Thread Bill Burke
The SystemProperty jboss.aop.path can take multiple XML files. They are deployed in the order you specify in the jboss.aop.path. Also, jboss.aop.path can take a directory. If you specify a directory, it will load all *aop.xml files in that directory. The include is a bug though and we'll

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Why it's not working?

2004-10-29 Thread Bill Burke
you need to declare the Aspect in XML before referencing it. | aspect class=aftt.weaving.MyAspect/ | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853293#3853293 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Why it's not working?

2004-10-29 Thread Bill Burke
Because aspect also has a scope attribute which by default is PER_VM | aspect class=Foo scope=PER_JOINPOINT/ | Its also important because an aspect can take configuration as well. Check out this doco: http://docs.jboss.org/aop/aspect-framework/reference/en/html/xml.html#xml-aspect2

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: synchronized methods in instrumented class

2004-10-29 Thread Bill Burke
Yes, we will eventually fix this problem. It will take awhile because it requires changes to Javassist to suport synchronized blocks. The synchronization is needed otherwise you have problems with concurrent access to a POJO. Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Different handling of XML entities between FINAL and RC1

2004-10-28 Thread Bill Burke
A workaround is to take out the include. I'll have to put this on the TODO list. Thanks for finding the bug and reporting, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3853202#3853202 Reply to the post :

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

2004-10-27 Thread Bill Burke
I like declare error and declare warning. We cannot soften exceptions because JBoss AOP is not an extension of the Java language, but rather 100% java. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852923#3852923 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Interceptor for java.sql.PreparedStatement

2004-10-27 Thread Bill Burke
Your pointcut expression is incorrect and will not match any methods on PreparedStatement. It should be: | bind pointcut=call(* $instanceof{java.sql.PreparedStatement}-execute*(..)) |interceptor class=com.apple.ist.rubyservice.aspects.SQLExecutionInterceptor/ | /bind |

[JBoss-dev] [JBoss Media (EMB)] - Re: MPEG-4 content over a network with EMB

2004-10-27 Thread Bill Burke
cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss login cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss-head jboss-head is not a module, but an alias (or whatever you call it in CVS). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852931#3852931

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

2004-10-27 Thread Bill Burke
No, it does not. It is on the TODO list and will be in a future release of JBoss AOP. If you're interested in implementing it, please do. We'll give you CVS access to commit your changes if you implement it. Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: synchronized methods in instrumented class

2004-10-27 Thread Bill Burke
Are you saying that Weblogic and Websphere barf if you have declared a method as synchronized? The synchronized methods are not on EJB business methods or callbacks, so I fail to see how it violates the specification. All the specification says is: An enterprise bean must not use thread

[JBoss-dev] [JMX on JBoss (JBoss/JMX)] - Annotated MBeans and SAR Deployer expansion

2004-10-26 Thread Bill Burke
I want to expand the SAR Deployer to accept annotated classes. The way it would work would be as follows. | @MBean(domain.name:service=something) | public class MyClass implements MyClassMBean {...} | The SAR Deployer would browse the archive for all @MBean tagged classes and create

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Online weaving Ant task

2004-10-25 Thread Bill Burke
Andre, thanks for your patience If you have any further bug fixes or enhancement ideas, please don't hesitate to post on the forum! Thanks again, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3852572#3852572 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Question on Interceptor. Getting a Null Pointer!

2004-10-25 Thread Bill Burke
There is no InvocationResponse class. I think you are reading the old O'Reilly article or using the wrong download package? It should be JBoss AOP 1.0.0 FINAL? Try modifying an existing tutorial distribution. View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - JBoss AOP 1.0.0 Final Released

2004-10-25 Thread Bill Burke
JBoss AOP 1.0.0 Final production release is now ready for download. Much thanks goes out to Kabir Khan and Marshall Culpepper for their hard work. They put a lot of their free time into JBoss AOP before we hired them in September, and took on a tremendous load when we did. This final release

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Question on Interceptor. Getting a Null Pointer!

2004-10-25 Thread Bill Burke
What VM are you running on? I cannot see anything wrong with your code or XML.. Are you sure it is not your problem? They NPE seems to be coming from your own code. When running with JBoss AOP 1.0.0 Final, do you get the line number for this line: |

[JBoss-dev] [JBoss Media (EMB)] - Re: MPEG-4 content over a network with EMB

2004-10-25 Thread Bill Burke
We had some guys implement an EMB solution about 6 months to a year ago. Not sure how complete or robust it is. It is distributed with JBoss 4. If you're interested in taking it over give me a buzz. [EMAIL PROTECTED] Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: *Have* to deploy as an *.aop file?

2004-10-19 Thread Bill Burke
Squeak, does deploying an EAR alone with precompiled classes not work? It should. A .aop file is not needed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851894#3851894 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Order of advice/interceptors - Due to: New JBoss AOP Con

2004-10-19 Thread Bill Burke
We will work on precedence after the 1.0 release. We're currently trying to close bugs and finish documentation. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851895#3851895 Reply to the post :

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

2004-10-19 Thread Bill Burke
No, it is not possible with JBoss AOP. The reason? It is because there is no class to massage...Our EJB implementation does not generate any class that implements the home interface. If you implemented BMP customer finders or home methods on the bean class, then yes, JBoss AOP could be used.

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

2004-10-19 Thread Bill Burke
No, that is incorrect. Nothing implements the home interface (not even customer finders and home methods) The EJB container handles home invocations dynamically or these methods are implemented in methods on the Bean class as ejbFindMETHOD or ejbHomeMETHOD methods. Bill View the original

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Problem with AopC Ant Task -- cmd too long!

2004-10-19 Thread Bill Burke
I wonder if the javac target in Ant has the same problem as I based aopc on this code. I will try and resolve your request...We need to release 1.0 this week as other JBoss Inc. projects are waiting on it so I can't promise anything. But, this is a serious usability bug, so I'll put cycles into

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

2004-10-18 Thread Bill Burke
The way the AOP deployer works is that when jboss-aop.deployer is deployed, it inserts .aop and aop.xml into the MainDeployer suffix list. ARe you having problems? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851713#3851713 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread Bill Burke
I don't believe you can intercept code with JSPs within precompiling the JSPs. You MAY be able to do this with JDK 5.0 and our instrumentor, or the new JDK 1.4 classloader stuff we have in HEAD. Kabir is going to take a look. View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread Bill Burke
JBoss AOP works in two ways. Either you precompile your Java .class files to push in the AOP stuff, or you set JBoss AOP up so that it does the bytecode transformations at runtime when the class is loaded. Load-time transformation requires hooks into the classloader. With JDK 1.4, we

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP interceptor applied to all JSP/Servlet requests?

2004-10-18 Thread Bill Burke
hany_bee, What about a servlet filter or a Tomcat valve? This is how we implemented JBoss Security integration with Tomcat. If you're dealing with web requests (HttpServletRequests), then a filter or valve is probably a better solution anyways... Thomas, Kabir is working on JSP side of

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

2004-10-18 Thread Bill Burke
Finally got around to fixing this. Its in CVS now, will be in 1.0 Final release this week. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851754#3851754 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851754

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Clarifications on RC2 mechanism for aspects to load cust

2004-10-18 Thread Bill Burke
The jboss-common.jar dependency still exists. Why would it matter with other app servers? Its only using a few org.jboss classes. Read this and let me know if it answers your config questions: http://docs.jboss.org/aop/aspect-framework/reference/en/html/xml.html#xml-aspect3 View the original

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Clarifications on RC2 mechanism for aspects to load cust

2004-10-18 Thread Bill Burke
See section 4.4.4. You can write your own factory by implementing AspectFactory which accepts an Element. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851823#3851823 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851823

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

2004-10-15 Thread Bill Burke
fixed in CVS. 1.0 will go out next week. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851593#3851593 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851593 --- This

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

2004-10-15 Thread Bill Burke
On within + get/set. This is not possible. We will look to adding this after the 1.0 release. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851594#3851594 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3851594

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

2004-10-14 Thread Bill Burke
Yes, I wanted to do this as well for awhile. I wanted aspects scoped per ClassLoader domain, per Loader Repository. If you're interested in implementing, let's discuss over email some ideas. [EMAIL PROTECTED] View the original post :

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

2004-10-14 Thread Bill Burke
charles_blaxland wrote : I've been writing some aspects with JBoss AOP and I like it a lot so far :) | | Some questions/suggestions: | | - The within scope limiter doesn't seem to work with field/set/get pointcuts? Should it? | | I'll add this to the list. So, the answer is

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

2004-10-14 Thread Bill Burke
If you use load time transformation, then yes, it is definately more expensive to have caller pointcuts although I haven't done any measurements. If you use the AOP precompiler, doesn't really matter how slow it is... Bill View the original post :

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

2004-10-14 Thread Bill Burke
BTW, feel free to advertise the aspects you are writing on our WIKI. http://www.jboss.org/wiki/Wiki.jsp?page=ContributingYourOwnAspects Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3851493#3851493 Reply to the post :

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

2004-10-13 Thread Bill Burke
Not in there yet, but I think you can do it with either an introduction, or an execution pointcut. The introduction would introduce the read/writeObject method if the object did not implement Externalizable. If the object does implement Externalizable, then intercept the read/write of the

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Why lack of 'before' and 'after' advice types is bad..

2004-10-13 Thread Bill Burke
before/after returing/after throwing could easily be added to JBoss AOP with a day of work, But Again, I still see this as nothing more than you wanting to avoid having a try/catch/finally block, or to avoid calling invocation.invokeNext(). IMNSHO, ordering of aspects and how the aspect

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

2004-10-08 Thread Bill Burke
Thanks, fixed... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3850772#3850772 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3850772 --- This SF.net email is sponsored

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - JBoss AOP IDE Integration

2004-10-04 Thread Bill Burke
See here: http://jboss.com/index.html?module=bbop=viewtopict=54897 Congrats to Marshall for putting together such great integration in such a short period of time. Let's try and help him find some problems before the 1.0 release this month of JBoss AOP! Especially look at the tutorial.

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Aspect for replacing Class.forName()?

2004-09-30 Thread Bill Burke
oh, ok, good idea i View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849991#3849991 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849991 --- This SF.net email is

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: multiple jboss-aop.xml files?

2004-09-29 Thread Bill Burke
you can't have multiple XML's per Jar file. BUT... You can have multiple JAR files that have an xml file within them. We could implement this thoughInterested in doing it? Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849868#3849868 Reply to the

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Aspect for replacing Class.forName()?

2004-09-29 Thread Bill Burke
Can you spec this out more? I don't understand what you mean. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849908#3849908 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849908

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: multiple jboss-aop.xml files?

2004-09-28 Thread Bill Burke
Short answer is YES For our new doco here: http://docs.jboss.org/aop/aspect-framework/reference/en/html/running.html anonymous wrote : | You need to tell JBoss AOP where the xml configuration files of your bindings are. This can be done in one of these two ways: | | * Set the

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - New Documentation

2004-09-28 Thread Bill Burke
Not sure if this was clear enough, but there is brand new AOP documentation. PDF, HTML. The User guide is a work in progress, but the reference manual is mostly complete. http://docs.jboss.org/aop/aspect-framework/ Regards, Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Why lack of 'before' and 'after' advice types is bad..

2004-09-24 Thread Bill Burke
what are the exact semantics of before/after? You get the same thing with around. You want before? | try | { | doBefore(); | invocation.invokeNext(); | } | You want after? | try | { |Object rtn = invocation.invokeNext(); | doAfter(); | return

[JBoss-dev] [JBoss Profiler] - Re: aop

2004-09-24 Thread Bill Burke
JBoss AOP RC1+ does not work with JBoss 3.2.5. JBoss AOP RC1+ does work with JBoss 3.2.6RC1+ but only with the precompiler. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849424#3849424 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - JBoss AOP 1.0 RC2 Released

2004-09-24 Thread Bill Burke
I'm pleased to announce the release of JBoss AOP 1.0 RC2. We're getting closer to our 1.0 release next month. Kabir Khan joined the team fulltime September 1st and has done an amazing job helping out. We put a lot of effort into documentation this release and have written a reference guide in

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: 'within' and 'set' and documentation page

2004-09-23 Thread Bill Burke
execution and set/get do not make sense with within as their purpose is to totally wrap EVERY invocation. within and withcode only make sense with call. I guess a callfield is necessary. I'll add that to the TODO. Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: java.lang.ClassNotFoundException: org.jboss.aspects.secu

2004-09-23 Thread Bill Burke
which error are you seeing? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849285#3849285 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849285 --- This SF.Net email is

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: java.lang.ClassNotFoundException: org.jboss.aspects.secu

2004-09-23 Thread Bill Burke
You must also have the jboss-aspect library within the lib/ directory. Let me know if that fixes it. Thanks, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849294#3849294 Reply to the post :

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

2004-09-23 Thread Bill Burke
What exactly is the error? This WIKI page is out of date. It needs to be updated. I didn't get a chance to do it before the FINAL release. We'll be putting out a detailed reference guide on Friday. The AspectDeployer service is not emedded in the aop.deployer jar and can be configured in

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

2004-09-23 Thread Bill Burke
Ok, I have updated the WIKI page. Let me know if that works for you. Sorry for crappy installation. WE'll improve this with the next release. Regards, Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849298#3849298 Reply to the post :

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

2004-09-23 Thread Bill Burke
the bug is that he is using the AOP framework incorrectly. He must use $instanceof{}. But, $instanceof{} is not complete in that it needs to support wildcards and annotations which it does not now. But, I'll add the fix to findMethodHash anyways. Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Arguments of method that called some other method.

2004-09-23 Thread Bill Burke
you cannot get arg1 as it is higher in the stack. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849319#3849319 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849319 ---

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

2004-09-23 Thread Bill Burke
BTW, the fix to findMethodByHash is in CVS and will be in RC2 on Friday. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849343#3849343 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849343

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

2004-09-23 Thread Bill Burke
Ok, RC1 will not work with JBoss 3.2.5 as the base deployer class has changed in 4.0. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849344#3849344 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849344

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Placing break-points in the instrumented code

2004-09-22 Thread Bill Burke
Ok, this is fixed in HEAD and will be in RC2 release on Friday. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849145#3849145 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849145

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

2004-09-22 Thread Bill Burke
Your pointcut expression was incorrect. You must do | call(* $instanceof{java.sql.Connection}-*(..)) | Unfortunately, $instanceof cannot take wildcards at this time. If this is it, let me know. Thanks, Bill View the original post :

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

2004-09-21 Thread Bill Burke
Is JCoverage free? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3849012#3849012 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3849012 --- This SF.Net email is sponsored

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Annotate class only and crosscut methods within the clas

2004-09-21 Thread Bill Burke
Yikes, sorry I missed your post before This may be a better approach: | bind pointcut=execution(@my.root-new(..)) | interceptor class=RootCreationInterceptor / | /bind | This will bind your interceptor to every constructor of every class tagged as @my.root. Bill

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Order of advice/interceptors - Due to: New JBoss AOP Con

2004-09-20 Thread Bill Burke
yes, we absolutely need precedence. I hope it gets into the initial release. What is your suggestion for syntax? Pure XML? A Package annotation? Per Aspect or Per Advice? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848790#3848790 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: PAT: JBossAOP library for Prevayler

2004-09-20 Thread Bill Burke
We would defintely be interested in it if you were willing to maintain and document it. Contact me: [EMAIL PROTECTED] and CC [EMAIL PROTECTED] Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848791#3848791 Reply to the post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Ideas for Local Variable Annotations?

2004-09-20 Thread Bill Burke
I'm looking for some use cases for our pointcut language supporting local variable annotations. Anybody have any ideas? Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848799#3848799 Reply to the post :

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

2004-09-20 Thread Bill Burke
You may be able to use JBossCache. I'm not sure if you can register to listen for cache changes (so that you can update the aspectmanager), but you could use JBossCache and use JGroups to send a notification to the cluster to update the AspectManagers. What Im REALLY interested in is a

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Do you have interesting Aspects?

2004-09-20 Thread Bill Burke
If you have an interesting aspect you would like to contribute and are willing to document and maintain it, please contact us: [EMAIL PROTECTED] We will include it in our documentation and give you CVS access. Bill View the original post :

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

2004-09-20 Thread Bill Burke
Bill Burke wrote: Does JBoss cache have the ability to register for cache changes? I have an AOP user that is building a dynamic cluster-wide aspect manager. They need the ability to have a replicated shared cluster-wide structure, but need to be able to notify on changes so that they can

[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

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Placing break-points in the instrumented code

2004-09-17 Thread Bill Burke
I think I know what the problem is. I don't think Javasssist's copy method copy's CodeAttributes which have the line numbers. I'll see what I can do. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3848596#3848596 Reply to the post :

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

2004-09-15 Thread Bill Burke
If a particular joinpoint is prepared you do not have to recompile or even shutdown the JVM to add or remove an advice from a particular joinpoint. You can also add/remove interceptors on a per instance basis at runtime with a prepared joinpoint. How to prepare? This will instrument the

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Web Services with aspect

2004-09-11 Thread Bill Burke
In JBoss 4.0 and J2EE 1.4. Stateless Session EJBs can be exposed as web services. You can propagate principal and credentials using basic auth, but the spec really doesn't specify security semantics. Security isn't difficult to write as an aspect, but what is difficult is plugging in how the

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Web Services with aspect

2004-09-11 Thread Bill Burke
http://java.sun.com/xml/jaxrpc/ http://www.jcp.org/en/jsr/detail?id=109 http://jcp.org/aboutJava/communityprocess/final/jsr153/index.html You will have to write a Handler to propagate principal and credential information. If you want role-based security at the POJO level, check out these

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

2004-09-03 Thread Bill Burke
If you specify -report, it will not transform the classes. Why aren't you using our ant tasks? For an example of the ant tasks, look in the tutorial. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847174#3847174 Reply to the post :

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

2004-09-02 Thread Bill Burke
the syntax is: | introduction expr=!class($instanceof{LoggableImpl}) ... | Yes, the doco sucks. Kabir and I will put some effort into it before the last release. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3847023#3847023 Reply to the post :

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

2004-09-01 Thread Bill Burke
Short answer Try: | $ run -c all | Long answer: It is not really a problem, let me explain: If you get a clean download of JBoss Application Server and set EnableTransformer to true, you will see those stack traces. Why? When you set EnableTransformer to true, it will try and

[JBoss-dev] [EJB on JBoss] - Re: ejb problems while migrate to 3.2.5

2004-09-01 Thread Bill Burke
FYI, this is a dev list, not user questions/problems... Are you using your own container configurations? I think the defaults may have changed for JBoss 3.2.5 from 3.23 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3846897#3846897 Reply to the post :

[JBoss-dev] [JBoss Media (EMB)] - Is anybody working/using EMB?

2004-09-01 Thread Bill Burke
Doesn't seem to be any activity in 6 months. Is anybody using this module? We may remove it from the official download. Bill View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3846949#3846949 Reply to the post :

[JBoss-dev] [Deployers on JBoss (Deployers/JBoss)] - New .deployer archive - Deployer/Scanner changes

2004-09-01 Thread Bill Burke
. On a related note. AOP is now packaged as a .deployer file. Bill -- Bill Burke Chief Architect JBoss Inc. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3846951#3846951 Reply to the post : http://www.jboss.org/index.html?module=bbop

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Better loadtime AOP in CVS with JDK 1.5

2004-08-26 Thread Bill Burke
Just committed code to take advantage of JDK 5.0's java.lang.instrument package. I think we may even be able to instrument JDK system classes with this approach. Haven't tried yet. To try it out, build the distribution and look at the build scripts of the tutorial. Bill View the original

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - JBoss AOP 1.0 RC1 released

2004-08-25 Thread Bill Burke
-- JBossAOP 1.0 RC1 -- * New $typedef feature. Allows you to define type expressions, name them, then use them in pointcut definitions. See the typedef example in tutorial. * added PER_JOINPOINT scoping for Aspects. An aspect instance is allocated per joinpoint. * aop

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

2004-08-25 Thread Bill Burke
fixed in RC1 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3846184#3846184 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3846184 --- SF.Net email is sponsored by

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

2004-08-23 Thread Bill Burke
Sorry, I've been giving training for the last wek and a half I did not test JBoss integration with JB4 RC1 yet as I have not released JBoss AOP Beta4(even though it comes bundled with JB4 RC1). You may have to revert AOP back to Beta3. If you can send me a simple test case, I can add it

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

2004-08-22 Thread Bill Burke
I don't think JSP aspectizing will work as it uses a different classloader. We will be improving our classloader integration shortly. Can you verify JSPs don't work? I do think it will work if you precompile your jsps. Thanks and apologies. Bill View the original post :

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Mixin class at the class level

2004-08-20 Thread Bill Burke
1) If you want a singleton mixin, then you can put anything you want in the construction XML element. So, the mixin reference can be set by calling a method or setting it to a singleton field of some class. 2) Are you applying the introduction twice? How does C++ work? I want to model

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Mixin class at the class level

2004-08-20 Thread Bill Burke
1) PER-VM and PER-Instance are supported. It would be per-class that would have to be supported. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3845766#3845766 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845766

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

2004-08-11 Thread Bill Burke
Maybe the full file/directory path is too long? It is saying it cannot find file. (The system cannot find the path specified) I know there is a limit on windows. But it doesn't make sense that it doesn't work on JDK 1.4.1. I'll put in a task to shorted generated classnames for the optimized

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

2004-08-09 Thread Bill Burke
Can you try CVS Head? This may have been fixed there. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844555#3844555 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844555

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

2004-08-09 Thread Bill Burke
It should be: | $ cvs checkout jboss-head | $ cd jboss-head/aop | $ build.sh dist | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844572#3844572 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844572

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

2004-08-09 Thread Bill Burke
We know the problem and the bug fix for it. Will fix ASAP. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844574#3844574 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844574

[JBoss-dev] [EJB on JBoss] - ENC propagation

2004-08-09 Thread Bill Burke
I think Scott and I discussed this a little before, but I'd like to have the EJB and Web ENC be based on a ThreadLocal variable rather than using the context classloader for determining the ENC. Specially, store it in org.jboss.aop.metadata.ThreadMetaData. Bill View the original post :

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

2004-08-09 Thread Bill Burke
Ok, that's a bug. I need to parse for float, int, etc... apologies. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844618#3844618 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3844618

<    2   3   4   5   6   7   8   9   10   11   >