[JBoss-dev] [EJB on JBoss] - Re: Interrupted thread not being uninterrupted.

2004-06-11 Thread Bill Burke
yes, this bug has been fixed in later releases of JBoss. PLEASE POST ON EJB USER FORUM! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838486#3838486 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838486

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

2004-06-11 Thread Bill Burke
I thought JDK 1.5 was going to be released at JavaOne? Yes, 1.0 is tied to JDK 1.5 release... Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838507#3838507 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838507

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Regeneration of Aspect instances if AspectDefinition is

2004-06-11 Thread Bill Burke
I think only PER_INSTANCE aspects are created on-demand. The whole Aspect container for PER_VM, PER_CLASS, and PER_INSTANCE would have to be switched to get Aspect instances on demand. I do not want to add this overhead to the system. SO, I think an entire binding redeploy would be needed. I

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

2004-06-14 Thread Bill Burke
This is a packaging issue: http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer Also, there is a server/xxx/conf/base-aop.xml file in which you can put AOP definitions as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838728#383872

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

2004-06-15 Thread Bill Burke
Are you doing load time or precompiled aspects? if you are doing load-time then you must set the EnableTransformer attribute to true within the AspectManagerService MBEAN within jboss/server/xxx/conf/jboss-service.xml It is turned off by default because JBoss boots up a little slower. Let me k

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

2004-06-16 Thread Bill Burke
Can you send me your example? [EMAIL PROTECTED] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838954#3838954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838954

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: starting an AOP program without ANT

2004-06-16 Thread Bill Burke
You mean do precompilation without ant? Or just run the application without ANT? I think the docs on WIKI tell how to run an application at command line. You must specify a system property jboss.aop.path that points to your XML files, or your XML files must be embedded in the jars in your clas

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

2004-06-21 Thread Bill Burke
This is on my todo list, but I've never gotten around to it. So you want a SecurityContext object that has: getCaller getRole isCallerInRole what else? To get access to it, I was thinking of a field annotation. | public MyClass { |@Inject SecurityContext securityContext; | | }

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

2004-06-21 Thread Bill Burke
You should be able to do: | call(* $instanceof{EJBInterface}->*(..)) | You said that didn't work. Either there is a bug in JBoss AOP, or you did something wrong. I haven't had a chance to look into it. If you could, please debug this problem and get back to me of why it doesn't work.

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

2004-06-23 Thread Bill Burke
I have somebody working on improving load-time transformation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839698#3839698 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839698 --

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Another test that not execute correctly...

2004-07-12 Thread Bill Burke
You are getting the error because the Interceptor is in the same package expression as the class you are trying to intercept. Thus, you have an infinite loop. Put your interceptors in another package that doesn't match your wildcard. Bill View the original post : http://www.jboss.org/index.ht

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

2004-07-12 Thread Bill Burke
Are you running inside JBoss? AOP is packaged similarly to SARs(Mbeans). You can either deploy an XML file directly in the deploy/ directory with the signature *-aop.xml or you can use the JAR format. The JAR format must have the file extension .aop and a jboss-aop.xml file must be contained i

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

2004-07-12 Thread Bill Burke
Since you are not running within JBoss you need to use System properties to tell JBoss AOP how to resolve XML files to be deployed. Please see our WIKI for more information View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841812#3841812 Reply to the post : h

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: jboss-aop-beta3 failed to transform

2004-07-12 Thread Bill Burke
JBoss AOP aopc will generate a bunch of class files that are optimized versions of Invocation classes. When in doubt, blow away your class directory with everything in it. Looks like you cleaned up DBBasicManager.class, but not the generated AOP class files. Bill View the original post : ht

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: AOP examples on jboss-4.0.0DR3

2004-07-12 Thread Bill Burke
http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer Use 4.0DR4 and Overwrite with jars from JBoss AOP beta3 distribution. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841814#3841814 Reply to the post : http://www.jboss.org/inde

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: A Web-Application with JBoss AOP

2004-07-13 Thread Bill Burke
You can place the .war directly within the sar. So the sar would look like this: | kado.sar/ | kado.aop | kado.war | if that doesn't work, let me know. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841869#3841869 Reply to

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: a question about advisable

2004-07-14 Thread Bill Burke
JBoss AOP has changed significantly since the DR2 release. advisable is now prepare http://www.jboss.org/wiki/Wiki.jsp?page=DynamicAOP View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842020#3842020 Reply to the post : http://www.jboss.org/index.html?module=b

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Pointcut expression for methods that take arrays as argu

2004-07-14 Thread Bill Burke
This should work | execution(void java.lang.Object[],com.pkg.CustomObject[]) | | Don't forget that any class, even if it is in java.lang package must be fully qualified. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842134#3842134 Reply to t

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

2004-07-16 Thread Bill Burke
sorry for the late response. With current CVS head I was able to write a unit test that had these pointcuts you described above with no problems. Maybe I have fixed something since Jun, I don't know. | | | | | | View the original post : http://www.jboss.org/index.

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: A Web-Application with JBoss AOP

2004-07-21 Thread Bill Burke
Sorry, the SAR archive should look like: | kado.sar/ | kado.aop | kado.war | META-INF/ | jboss-service.xml | jboss-service.xml should be empty except: | | | | I haven't tried this yet, but this may work too: | kado.jar/ | kado.a

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Multiple pointcut expressions and advice bindings for sa

2004-08-05 Thread Bill Burke
You can hotdeploy a pointcut definition, but this does not cause bindings to be reapplied. Am I making sense? So, if you modify "AllMethods" at runtime and redeploy it, bindings will not be recalculated. Currently, the code isn't smart enough to know if the binding references a "named" point

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

2004-08-05 Thread Bill Burke
Why JBoss AOP over AspectJ? - 100% pure Java - annotation support (JDK 1.5 and 1.4) - Metadata and annotation override facility - load-time transformations (instead of compile time) - hotdeployment of aspects (dynamic AOP) - per-instance API (dynamic AOP) - dynamic CFLOW - pluggable pointcuts - ext

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: name of the class intercepted

2004-08-05 Thread Bill Burke
Better would be: | ((ClassAdvisor)invocation.getAdvisor()).getClazz(); | This is because getTargetObject may be null for static members. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844304#3844304 Reply to the post : http://www.jboss.org/index.html?

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Pointcut expression for methods that take arrays as argu

2004-08-05 Thread Bill Burke
We don't support this. If you'd like to contribute it, it would be most welcome. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844305#3844305 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844305 -

[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=bb&op=viewtopic&p=3844555#3844555 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=3844572#3844572 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=3844574#3844574 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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 : http:/

[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=bb&op=viewtopic&p=3844618#3844618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844618 ---

[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 optimize

[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 virtu

[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=bb&op=viewtopic&p=3845766#3845766 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845766 --

[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 : http://www.jboss.org

[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 t

[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 no

[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=bb&op=viewtopic&p=3846184#3846184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846184 --- SF.Net email is sponsored by Sho

[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 pos

[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 transform

[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=bb&op=viewtopic&p=3846897#3846897 Reply to the post : http:

[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=bb&op=viewtopic&p=3846949#3846949 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

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

2004-09-01 Thread Bill Burke
eployer". 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=bb&op=viewtopic&p=3846951#3846951 Reply to the post : http://www

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

2004-09-02 Thread Bill Burke
the syntax is: | | 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=bb&op=viewtopic&p=3847023#3847023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mo

[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=bb&op=viewtopic&p=3847174#3847174 Reply to the post : http://www.jboss.o

[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 aspect

[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 cl

[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=bb&op=viewtopic&p=3848596#3848596 Reply to the post : http://www.jboss.o

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: jboss3.2.5 + jboss-aop

2004-09-17 Thread Bill Burke
Seems like one of the aspect services failed to deploy. Is there any stack traces in bootup? Thanks, Bill BTW, I have not tested JBoss 3.2 integration with latest RC releases yet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848608#3848608 Reply to th

[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=bb&op=viewtopic&p=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=bb&op=viewtopic&p=3848791#3848791 Reply to the post : http://www.jboss.org/index

[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=bb&op=viewtopic&p=3848799#3848799 Reply to the post : http://www.jboss.org/index.html?module=bb&op=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 I"m REALLY interested in is a DEFAULT

[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 : http://www.jboss.org/index.html?module=bb&op=viewtop

[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

[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: Inheritance and AOP

2004-09-21 Thread Bill Burke
No. The @Tx annotation is not @Inherited and JBoss AOP doesn't support @Inherited annotations (when they trigger pointcut bindings). Thanks for bringing it up. I'll add it to the list. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849009#3849009 Re

[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=bb&op=viewtopic&p=3849012#3849012 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849012 --- This SF.Net email is spons

[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: | | | | This will bind your interceptor to every constructor of every class tagged as @my.root. Bill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849011#38

[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=bb&op=viewtopic&p=3849145#3849145 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849145 ---

jboss-development@lists.sourceforge.net

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 : http://www.jboss.org/index.html?module=bb&op=viewtop

[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 : http://www.jboss.org/index.html?module=bb&op=vie

[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=bb&op=viewtopic&p=3849285#3849285 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849285 --- This SF.Net email

[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=bb&op=viewtopic&p=3849294#3849294 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[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 ao

[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=bb&op=viewtopic&p=3849298#3849298 Reply to the post : http://www.jboss

jboss-development@lists.sourceforge.net

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 : http://www.jbo

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

2004-09-23 Thread Bill Burke
I have not tested RC1 yet with 3.2.5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849306#3849306 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849306 --- This SF

[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=bb&op=viewtopic&p=3849319#3849319 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849319 ---

jboss-development@lists.sourceforge.net

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=bb&op=viewtopic&p=3849343#3849343 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=3849344#3849344 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849344 ---

[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 rtn;

[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=bb&op=viewtopic&p=3849424#3849424 Reply to the post : http://www.jboss.org/index.html?module=bb&op=p

[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 do

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

2004-10-12 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 Exte

[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: 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 : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[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 : http://www.jboss.org/index.html?module=bb&op=

[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=bb&op=viewtopic&p=3851493#3851493 Reply to the post : http://www.jboss.org/index.html?mo

[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=bb&op=viewtopic&p=3851593#3851593 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851593 --- Thi

[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=bb&op=viewtopic&p=3851594#3851594 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851594 --

[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 jbo

[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 : http://www.jboss.org/index.html?module=

[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=bb&op=viewtopic&p=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=bb&op=viewtopic&p=3849908#3849908 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849908

[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=bb&op=viewtopic&p=3849991#3849991 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849991 --- This SF.net email is

[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=bb&op=viewtopic&t=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. Ni

[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=bb&op=viewtopic&p=3850772#3850772 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850772 --- This SF.net email is sponso

[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=bb&op=viewtopic&p=3851713#3851713 Reply to the post : http://w

[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 : http://www.jboss.org/index.html?module=bb&o

[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 origin

[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 thin

[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=bb&op=viewtopic&p=3851754#3851754 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=bb&op=viewtopic&p=3851823#3851823 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=385

[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=bb&op=viewtopic&p=3851894#3851894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p

[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=bb&op=viewtopic&p=3851895#3851895 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[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 po

[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

<    12   13   14   15   16   17   18   19   20   21   >