This content has been marked as final.
Show 2 replies
-
1. Re: unable to get methodFilter to work
adegbile Nov 5, 2003 5:57 PM (in response to sradford)Try using this
method-filter: String defining which methods are allowed to be instrumented.
"ALL" or "NONE" or a combination of the following (combined using a logical OR character '|'). "PUBLIC", "PRIVATE", "PROTECTED", "PACKAGE_PROTECTED", "MEMBER", "STATIC".
Example below
<?xml version="1.0" encoding="UTF-8"?>
<interceptor-pointcut class="InterceptedPOJO">
</interceptor-pointcut>
Kind Regards
Adeyemi E Adegbile -
2. Re: unable to get methodFilter to work
sradford Nov 13, 2003 3:44 PM (in response to sradford)Well I've come back to this problem and the follwoing works for me...
<method-pointcut class="^mypackage\.mysubpackage\.Myclass$" methodName="^doSomething$">
</method-pointcut>