[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[aspectj-users] How does ajc compile this jsp ?
|
- From: "Mohan Radhakrishnan" <radhakrishnan.mohan@xxxxxxxxx>
- Date: Thu, 16 Mar 2006 17:45:44 +0530
- Delivered-to: aspectj-users@eclipse.org
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=lah23ILmGhOZIthfIt7xvY1Yr27sfzepmxbw+UKxm1Vgp5xaBWfG1S3irFSA9hdbn2wR5k2fzBScJgkDhzcKMy1O9ImPcyA6o8cY3Tsh19P0qyBCEGFVdl7+bDw7UNc8khxUDkl+9baNLi3+zJ7l6CXKttJolGNWI+WXvVG1JnE=
Hi,
I have introduced some methods into a JSP by writing an aspect. The JSP source is generated using the jasper2 task. The JSP files are then pre-compiled using the iajc task.
The introduced method is called from another method like this after iajc is used
if(RoleAspect.ajc$interMethodDispatch1$org_apache_jsp_pages_RoleAspect$org_apache_jsp_pages_registration_jsp$_jspx_meth_logic_notPresent_0(this, _jspx_th_html_form_0, _jspx_page_context))
return true;
How does iajc know to change this 'if' condition from a normal method call to this type of method call ? The normal method call in this place is
if(_jspx_meth_logic_notPresent_0(this, _jspx_th_html_form_0, _jspx_page_context))
return true;
I am not doing anything to remove this method call or change it before running ajc.
Thanks,
Mohan