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

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -