net.sf.cglib.proxy
public interface CallbackFilter
Method Summary | |
---|---|
int | accept(Method method)
Map a method to a callback. |
boolean | equals(Object o)
The CallbackFilter in use affects which cached class
the Enhancer will use, so this is a reminder that
you should correctly implement equals and
hashCode for custom CallbackFilter
implementations in order to improve performance. |
Parameters: method the intercepted method
Returns: the index into the array of callbacks (as specified by Enhancer) to use for the method,
CallbackFilter
in use affects which cached class
the Enhancer
will use, so this is a reminder that
you should correctly implement equals
and
hashCode
for custom CallbackFilter
implementations in order to improve performance.