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
Post a Comment