Package net.sf.cglib.proxy
-
Interface Summary Interface Description Callback All callback interfaces used byEnhancer
extend this interface.CallbackFilter Map methods of subclasses generated byEnhancer
to a particular callback.CallbackGenerator CallbackGenerator.Context Dispatcher DispatchingEnhancer
callback.Enhancer.EnhancerKey Internal interface, only public due to ClassLoader issues.Factory All enhanced instances returned by theEnhancer
class implement this interface.FixedValue Enhancer
callback that simply returns the value to return from the proxied method.InvocationHandler InvocationHandler
replacement (unavailable under JDK 1.2).LazyLoader Lazy-loadingEnhancer
callback.MethodInterceptor General-purposeEnhancer
callback which provides for "around advice".Mixin.MixinKey NoOp Methods using thisEnhancer
callback will delegate directly to the default (super) implementation in the base class.ProxyRefDispatcher DispatchingEnhancer
callback. -
Class Summary Class Description BridgeMethodResolver Uses bytecode reflection to figure out the targets of all bridge methods that use invokespecial and invokeinterface, so that we can later rewrite them to use invokevirtual.BridgeMethodResolver.BridgedFinder CallbackHelper CallbackInfo DispatcherGenerator Enhancer Generates dynamic subclasses to enable method interception.Enhancer.EnhancerFactoryData The idea of the class is to cache relevant java.lang.reflect instances so proxy-class can be instantiated faster that when usingReflectUtils.newInstance(Class, Class[], Object[])
andEnhancer.setThreadCallbacks(Class, Callback[])
FixedValueGenerator InterfaceMaker Generates new interfaces at runtime.InvocationHandlerGenerator LazyLoaderGenerator MethodInterceptorGenerator MethodProxy Classes generated byEnhancer
pass this object to the registeredMethodInterceptor
objects when an intercepted method is invoked.MethodProxy.CreateInfo MethodProxy.FastClassInfo Mixin Mixin
allows multiple objects to be combined into a single larger object.Mixin.Generator Mixin.Route MixinBeanEmitter MixinEmitter MixinEverythingEmitter NoOpGenerator Proxy This class is meant to be used as replacement forjava.lang.reflect.Proxy
under JDK 1.2.Proxy.ProxyImpl -
Exception Summary Exception Description UndeclaredThrowableException Used byProxy
as a replacement forjava.lang.reflect.UndeclaredThrowableException
.