aop - How to pass literal parameter to advice method? -


it possible pass literal parameter advice method?

for example:

<aop:before pointcut="execution(public * anothermethod(..))" method="mymethod(java.lang.string)"/> 

in example, want pass literal string "mymethod" before "anothermethod" executed. possible?

thanks in advance


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -