I've tried it again with the Compiler and now it runs
Probably  I've made something wrong by my first try.
I'm writing my Thesis (diploma) about AOP. First I used AspectJ and now JBossAOP since 
2 weeks. 
And so I've another question!

Is it possible to bind a pointcut to a constructor or method which is createt or 
called in an
aspect class.

Example: 

class AspectName{
  | public Object constructorAdvice2(ConstructorInvocation invocation) throws 
Throwable{
  |             makePressure();
  |             press = (PressureSensorImpl) new fachcode.Nimbus1_0PressureSensor();
  |             return invocation.invokeNext();         
  | }
  | } 

Can I bind an execution pointcut to the constructor  
fachcode.Nimbus1_0PressureSensor() and how can I make that?

Can I also bind a caller pointcut to a method that is declared and called in an aspect 
class?

Thank you for your efforts
Karsten Doller

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to