Package net.sf.cglib.proxy
-
Interface Summary Interface Description Callback All callback interfaces used byEnhancerextend this interface.CallbackFilter Map methods of subclasses generated byEnhancerto a particular callback.CallbackGenerator CallbackGenerator.Context Dispatcher DispatchingEnhancercallback.Enhancer.EnhancerKey Internal interface, only public due to ClassLoader issues.Factory All enhanced instances returned by theEnhancerclass implement this interface.FixedValue Enhancercallback that simply returns the value to return from the proxied method.InvocationHandler InvocationHandlerreplacement (unavailable under JDK 1.2).LazyLoader Lazy-loadingEnhancercallback.MethodInterceptor General-purposeEnhancercallback which provides for "around advice".Mixin.MixinKey NoOp Methods using thisEnhancercallback will delegate directly to the default (super) implementation in the base class.ProxyRefDispatcher DispatchingEnhancercallback. -
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 byEnhancerpass this object to the registeredMethodInterceptorobjects when an intercepted method is invoked.MethodProxy.CreateInfo MethodProxy.FastClassInfo Mixin Mixinallows 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.Proxyunder JDK 1.2.Proxy.ProxyImpl -
Exception Summary Exception Description UndeclaredThrowableException Used byProxyas a replacement forjava.lang.reflect.UndeclaredThrowableException.