Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE:[aspectj-users] Parameter annotation being ignored

Hi,

 

The first mistake u r doing is putting ur qn in some-bodies thread. Please create ur own thread.

 

Now coming to ur problem:

 

When u say: (call(void *(..) throws Exception+) && @args(m))

 

What u r telling is:

 

Cut all the methods matching: void *(..)

 

and then: assign the arguments of such methods to the variable m.

 

to fix the problem you may:

 

  1. create ur own thread for the qn
  2. pointcut annotatedWithManageConnection(SomeAnnotation in, ManageConnection m): (call(void *(.. && @annotation(in)) throws Exception+) && @args(m));

 

 

hope this helps,

Ravi


This email is sent for and on behalf of Ivy Comptech Private Limited. Ivy Comptech Private Limited is a limited liability company.

This email and any attachments are confidential, and may be legally privileged and protected by copyright. If you are not the intended recipient dissemination or copying of this email is prohibited. If you have received this in error, please notify the sender by replying by email and then delete the email completely from your system. Any views or opinions are solely those of the sender.  This communication is not intended to form a binding contract on behalf of Ivy Comptech Private Limited unless expressly indicated to the contrary and properly authorised. Any actions taken on the basis of this email are at the recipient's own risk.

Registered Office:

Ivy Comptech Private Limited, Cyber Spazio, Road No. 2, Banjara Hills, Hyderabad 500 033, Andhra Pradesh, India.

Registered number: 37994. Registered in India. A list of members' names is available for inspection at the registered office.



Back to the top