All Classes and Interfaces
Class
Description
Abstract class for all code-generating CGLIB utilities.
A
Map-based view of a JavaBean.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.
All callback interfaces used by
Enhancer extend this interface.Map methods of subclasses generated by
Enhancer to a particular
callback.Customizes key types for
KeyFactory when building equals, hashCode, and toString.The default policy used by
AbstractClassGenerator.Dispatching
Enhancer callback.Generates dynamic subclasses to enable method interception.
The idea of the class is to cache relevant java.lang.reflect instances so
proxy-class can be instantiated faster that when using
ReflectUtils.newInstance(Class, Class[], Object[])
and Enhancer.setThreadCallbacks(Class, Callback[])Internal interface, only public due to ClassLoader issues.
All enhanced instances returned by the
Enhancer class implement this interface.Customizes key types for
KeyFactory right in constructor.Enhancer callback that simply returns the value to return
from the proxied method.The
GeneratorStrategyinvalid input: '<'/code.Generates new interfaces at runtime.
InvocationHandler replacement (unavailable under JDK 1.2).Generates classes to handle multi-valued keys, for use in things such as Maps and Sets.
Marker interface for customizers of
KeyFactoryLazy-loading
Enhancer callback.A
MethodVisitor that renumbers local variables in their order of
appearance.Mapping from old to new local variable indexes.
DOCUMENTATION FROM APACHE AVALON DELEGATE CLASS
General-purpose
Enhancer callback which provides for "around advice".Classes generated by
Enhancer pass this object to the
registered MethodInterceptor objects when an intercepted method is invoked.Internal interface, only public due to ClassLoader issues.
Mixin allows
multiple objects to be combined into a single larger object.Customize the generated class name for
AbstractClassGenerator-based utilities.Methods using this
Enhancer callback will delegate directly to the
default (super) implementation in the base class.For the efficient sorting of multiple arrays in parallel.
This class is meant to be used as replacement for
java.lang.reflect.Proxy under JDK 1.2.Dispatching
Enhancer callback.A representation of a method signature, containing the method name,
return type, and parameter types.
This class implements a simple String->int mapping for a fixed set of keys.
Deprecated.
Used by
Proxy as a replacement for java.lang.reflect.UndeclaredThrowableException.A
which
causes all undeclared exceptions thrown from within a proxied method to be wrapped
in an alternative exception of your choice.
GeneratorStrategy suitable for use with
invalid reference
net.sf.cglib.Enhancer
Allows to check for object equality, yet the class does not keep strong reference to the target.