Class CallbackHelper
java.lang.Object
org.springframework.cglib.proxy.CallbackHelper
- All Implemented Interfaces:
- CallbackFilter
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintMap a method to a callback.booleanTheCallbackFilterin use affects which cached class theEnhancerwill use, so this is a reminder that you should correctly implementequalsandhashCodefor customCallbackFilterimplementations in order to improve performance.protected abstract ObjectgetCallback(Method method) Callback[]Class[]inthashCode()
- 
Constructor Details- 
CallbackHelper
 
- 
- 
Method Details- 
getCallback
- 
getCallbacks
- 
getCallbackTypes
- 
acceptDescription copied from interface:CallbackFilterMap a method to a callback.- Specified by:
- acceptin interface- CallbackFilter
- Parameters:
- method- the intercepted method
- Returns:
- the index into the array of callbacks (as specified by Enhancer.setCallbacks(Callback[])) to use for the method,
 
- 
hashCode
- 
equalsDescription copied from interface:CallbackFilterTheCallbackFilterin use affects which cached class theEnhancerwill use, so this is a reminder that you should correctly implementequalsandhashCodefor customCallbackFilterimplementations in order to improve performance.- Specified by:
- equalsin interface- CallbackFilter
- Overrides:
- equalsin class- Object
 
 
-