Interface | Description |
---|---|
Callback |
All callback interfaces used by
Enhancer extend this interface. |
CallbackFilter |
Map methods of subclasses generated by
Enhancer to a particular
callback. |
CallbackGenerator | |
CallbackGenerator.Context | |
Dispatcher |
Dispatching
Enhancer callback. |
Enhancer.EnhancerKey |
Internal interface, only public due to ClassLoader issues.
|
Factory |
All enhanced instances returned by the
Enhancer 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-loading
Enhancer callback. |
MethodInterceptor |
General-purpose
Enhancer callback which provides for "around advice". |
Mixin.MixinKey | |
NoOp |
Methods using this
Enhancer callback will delegate directly to the
default (super) implementation in the base class. |
ProxyRefDispatcher |
Dispatching
Enhancer callback. |
Class | Description |
---|---|
BridgeMethodResolver |
Uses bytecode reflection to figure out the targets of all bridge methods
that use invokespecial, 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 using
ReflectUtils.newInstance(Class, Class[], Object[])
and Enhancer.setThreadCallbacks(Class, Callback[]) |
FixedValueGenerator | |
InterfaceMaker |
Generates new interfaces at runtime.
|
InvocationHandlerGenerator | |
LazyLoaderGenerator | |
MethodInterceptorGenerator | |
MethodProxy |
Classes generated by
Enhancer pass this object to the
registered MethodInterceptor 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 for
java.lang.reflect.Proxy under JDK 1.2. |
Proxy.ProxyImpl |
Exception | Description |
---|---|
UndeclaredThrowableException |
Used by
Proxy as a replacement for java.lang.reflect.UndeclaredThrowableException . |