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 -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -