"kado0002" wrote : 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!
  | 

Hey, feedback is most welcome!  Anything you can post about usability, features you 
want, features you don't like, bugs, etc... post as a new topic on this forum.  Also, 
any bug fixes, or features you want to implement are also welcome!

"kado0002" wrote : 
  | Is it possible to bind a pointcut to a constructor or method which is createt or 
called in an
  | aspect class.
  | 

Yes, this should work.  if it doesn't give me a yell on the forum.

"kado0002" wrote : 
  | 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?
  | 

Yes, this should be possible as well!  If not, let me know.

These are the exceptions:

http://jboss.org/wiki/Wiki.jsp?page=Notpointcutable

Happy hunting!

Bill

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

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


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