"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 no, it doesn't work right now.

anonymous wrote : 
  | - It appears that you can't refer back to a previously defined typedef when 
defining an introduction? (ie: in a similar way to how you can refer back to a 
previous pointcut definition when defining an interceptor).  What I would like to 
write is:
  | 
  |   |   <typedef name="FooTypes" expr="class(com.acme.foo.*)"/>
  |   |   <typedef name="BarTypes" expr="class(com.acme.bar.*)"/>
  |   |   <introduction expr="FooTypes OR BarTypes">
  |   |      ...
  |   |   </introduction>
  |   | 
  | But this doesn't seem to work.
  | 

looks like a bug.  We'll get on it.

anonymous wrote : 
  | 
  | - The library I'm writing (persistence framework of sorts) relies on both an 
interceptor and a mixin being applied to every class that will be made persistent.  I 
want to simplify the setup of this as much as possible for the end user of my library. 
Ideally, all they would have to specify is a list of classes they want to persist, and 
my system handles setting up the appropriate jboss pointcuts and introductions 
programatically.  I want to avoid the user having to mess around with jboss-aop.xml if 
possible.
  | 
  | Although I haven't tried it yet, I think pluggable-pointcuts will let me mostly 
achieve what I want. However they don't go quite far enough, in that you can't have 
pluggable introduction typedefs.  So what I'm suggesting is <pluggable-typedef> 
element that behaves in much the same way as pluggable-pointcut.  Thoughts?
  | 

Sounds like a good idea.  I think we can implement this.

anonymous wrote : 
  | - It would be useful if all fields and methods introduced into a class by JBoss 
AOP had some kind of unambiguous token in their name so they can be easily picked out 
when using reflection.  At the moment most of them have "aop$" in their name, but not 
all.
  | 

Does this work for you???

http://docs.jboss.org/aop/aspect-framework/misc/reflection.html

Bill

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851488#3851488

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851488


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to