org.logicalcobwebs.cglib.proxy
Interface CallbackFilter
- public interface CallbackFilter 
Map methods of subclasses generated by Enhancer to a particular
 callback. The type of the callbacks chosen for each method affects
 the bytecode generated for that method in the subclass, and cannot
 change for the life of the class.
 
| Method Summary | 
|  int | accept(java.lang.reflect.Method method)Map a method to a callback.
 | 
|  boolean | equals(java.lang.Object o)The
 CallbackFilterin use affects which cached class
 theEnhancerwill use, so this is a reminder that
 you should correctly implementequalsandhashCodefor customCallbackFilterimplementations in order to improve performance. | 
 
ALL_ZERO
static final CallbackFilter ALL_ZERO
accept
int accept(java.lang.reflect.Method method)
- Map a method to a callback.
 
- 
- Parameters:
- method- the intercepted method
- Returns:
- the index into the array of callbacks (as specified by Enhancer.setCallbacks(org.logicalcobwebs.cglib.proxy.Callback[])) to use for the method,
 
equals
boolean equals(java.lang.Object o)
- The CallbackFilterin use affects which cached class
 theEnhancerwill use, so this is a reminder that
 you should correctly implementequalsandhashCodefor customCallbackFilterimplementations in order to improve performance.
 
- 
- Overrides:
- equalsin class- java.lang.Object
 
-