Uses of Interface
org.springframework.cglib.proxy.Callback
Packages that use Callback
-
Uses of Callback in org.springframework.cglib.proxy
Subinterfaces of Callback in org.springframework.cglib.proxyModifier and TypeInterfaceDescriptioninterfaceDispatchingEnhancercallback.interfaceEnhancercallback that simply returns the value to return from the proxied method.interfaceInvocationHandlerreplacement (unavailable under JDK 1.2).interfaceLazy-loadingEnhancercallback.interfaceGeneral-purposeEnhancercallback which provides for "around advice".interfaceMethods using thisEnhancercallback will delegate directly to the default (super) implementation in the base class.interfaceDispatchingEnhancercallback.Methods in org.springframework.cglib.proxy that return CallbackModifier and TypeMethodDescriptionFactory.getCallback(int index) Return theCallbackimplementation at the specified index.Callback[]CallbackHelper.getCallbacks()Callback[]Factory.getCallbacks()Get the current set of callbacks for ths object.Methods in org.springframework.cglib.proxy with parameters of type CallbackModifier and TypeMethodDescriptionstatic ObjectHelper method to create an intercepted object.static ObjectEnhancer.create(Class superclass, Class[] interfaces, CallbackFilter filter, Callback[] callbacks) Helper method to create an intercepted object.static ObjectHelper method to create an intercepted object.Factory.newInstance(Class[] types, Object[] args, Callback[] callbacks) Creates a new instance of the same type, using the constructor matching the given signature.Factory.newInstance(Callback callback) Creates new instance of the same type, using the no-arg constructor.Factory.newInstance(Callback[] callbacks) Creates new instance of the same type, using the no-arg constructor.static voidEnhancer.registerCallbacks(Class generatedClass, Callback[] callbacks) Call this method to register theCallbackarray to use before creating a new instance of the generated class via reflection.static voidEnhancer.registerStaticCallbacks(Class generatedClass, Callback[] callbacks) Similar toEnhancer.registerCallbacks(Class, Callback[]), but suitable for use when multiple threads will be creating instances of the generated class.voidEnhancer.setCallback(Callback callback) Set the singleCallbackto use.voidFactory.setCallback(int index, Callback callback) Set the callback for this object for the given type.voidEnhancer.setCallbacks(Callback[] callbacks) Set the array of callbacks to use.voidFactory.setCallbacks(Callback[] callbacks) Replace all of the callbacks for this object at once.