Thank you very much for the quick answer.

I tried to use:

  | construction(public Foo->new())
  | 
as a pointcut expression together with XML-binding and i got parsing errors 
within the XML-Binding file.

To me it seems impossible to use the construction(..) expression within a 
pointcut within XML binding. The pointcut definition alone, as well as the 
binding definition below lead to parsing errors: 


  | <pointcut expr="construction(public Foo->new())" 
name="FooConstructor"></pointcut>
  | <bind pointcut="construction(public Foo->new())">
  |         <interceptor class="MyInterceptor"/>
  | </bind>
  | 

As soon as I replaced the construction(..) with execution(..) I didn't ecounter 
errors anymore.

So my question is how to use the construction(..) epression successfully within 
XML binding ?

Thank you for further help.

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

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


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to