Uses of Interface
net.sf.cglib.proxy.Callback

Packages that use Callback
net.sf.cglib.proxy   
 

Uses of Callback in net.sf.cglib.proxy
 

Subinterfaces of Callback in net.sf.cglib.proxy
 interface Dispatcher
          Dispatching Enhancer callback.
 interface FixedValue
          Enhancer callback that simply returns the value to return from the proxied method.
 interface InvocationHandler
          InvocationHandler replacement (unavailable under JDK 1.2).
 interface LazyLoader
          Lazy-loading Enhancer callback.
 interface MethodInterceptor
          General-purpose Enhancer callback which provides for "around advice".
 interface NoOp
          Methods using this Enhancer callback will delegate directly to the default (super) implementation in the base class.
 interface ProxyRefDispatcher
          Dispatching Enhancer callback.
 

Methods in net.sf.cglib.proxy that return Callback
 Callback Factory.getCallback(int index)
          Return the Callback implementation at the specified index.
 Callback[] CallbackHelper.getCallbacks()
           
 Callback[] Factory.getCallbacks()
          Get the current set of callbacks for ths object.
 

Methods in net.sf.cglib.proxy with parameters of type Callback
static Object Enhancer.create(Class type, Callback callback)
          Helper method to create an intercepted object.
static Object Enhancer.create(Class superclass, Class[] interfaces, Callback callback)
          Helper method to create an intercepted object.
static Object Enhancer.create(Class superclass, Class[] interfaces, CallbackFilter filter, Callback[] callbacks)
          Helper method to create an intercepted object.
 Object Factory.newInstance(Callback callback)
          Creates new instance of the same type, using the no-arg constructor.
 Object Factory.newInstance(Callback[] callbacks)
          Creates new instance of the same type, using the no-arg constructor.
 Object Factory.newInstance(Class[] types, Object[] args, Callback[] callbacks)
          Creates a new instance of the same type, using the constructor matching the given signature.
static void Enhancer.registerCallbacks(Class generatedClass, Callback[] callbacks)
          Call this method to register the Callback array to use before creating a new instance of the generated class via reflection.
static void Enhancer.registerStaticCallbacks(Class generatedClass, Callback[] callbacks)
          Similar to Enhancer.registerCallbacks(java.lang.Class, net.sf.cglib.proxy.Callback[]), but suitable for use when multiple threads will be creating instances of the generated class.
 void Enhancer.setCallback(Callback callback)
          Set the single Callback to use.
 void Factory.setCallback(int index, Callback callback)
          Set the callback for this object for the given type.
 void Factory.setCallbacks(Callback[] callbacks)
          Replace all of the callbacks for this object at once.
 void Enhancer.setCallbacks(Callback[] callbacks)
          Set the array of callbacks to use.
 



Copyright © 2012 Oracle Corporation. All Rights Reserved.