[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Per-thread aspect scope

2004-11-10 Thread skellen
Bill Burke wrote : nope, never got around to implementing it although it would be pretty easy to add. | | You need it? Or is it just a checklist for you? | It is not a must-have feature, but it would help me a little bit. But I think I can achieve my goal (per-thread logging across many

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Per-thread aspect scope

2004-11-05 Thread skellen
Hi, Is it possible to deploy an aspect with per-thread scope (like 'percflow' in AspectJ). There is no such constant in Scope type, but maybe there is some other way to achieve this? Best regards, Szczepan Kuzniarz View the original post : http://www.jboss.org/index.html?module=bb&op=viewto

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Unbound field advice binding

2004-11-04 Thread skellen
Bill Burke wrote : It will only show bindings for LOADED classes. If you execute the code, you should see the bindings. | You are right, my advice is bound when I instantiate a class and everything works as expected. Bill Burke wrote : I suggest using the precompiler because currently, load-

[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Unbound field advice binding

2004-11-04 Thread skellen
Hi, I try tu use dependency injection pattern to provide InitialContext reference to some class. The marker annotation looks like this: | @Target( ElementType.FIELD ) | @Retention( RetentionPolicy.RUNTIME ) | public @interface Injection { | } and the target class: public class DAOFact

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

2004-11-03 Thread skellen
Hi, I have the following aspect class: public class CounterAspect { | private int counter; | ... some other fields ... | | public Object start( Invocation invocation ) throws Throwable { | counter = 0; | return invocation.invokeNext(); | } | | public Obje