Frames | No Frames |
Enhancer
extend this interface.Enhancer
to a particular
callback.BeanMap
.StringSwitcher
.Enhancer
only; see the FastMethod
class
for similar functionality.BeanMap
.AbstractClassGenerator
.Enhancer
callback.Enhancer
.CallbackFilter
in use affects which cached class
the Enhancer
will use, so this is a reminder that
you should correctly implement equals
and
hashCode
for custom CallbackFilter
implementations in order to improve performance.CallbackFilter
in use affects which cached class
the Enhancer
will use, so this is a reminder that
you should correctly implement equals
and
hashCode
for custom CallbackFilter
implementations in order to improve performance.GeneratorStrategy
in use does not currently, but may
in the future, affect the caching of classes generated by AbstractClassGenerator
, so this is a reminder that you should
correctly implement equals
and hashCode
to avoid generating too many classes.NamingPolicy
in use does not currently, but may
in the future, affect the caching of classes generated by AbstractClassGenerator
, so this is a reminder that you should
correctly implement equals
and hashCode
to avoid generating too many classes.Enhancer
class implement this interface.MethodProxy
used when intercepting the method
matching the given signature.Enhancer
callback that simply returns the value to return
from the proxied method.GeneratorStrategy
Callback
implementation at the specified index.FastClass
method index
for the method used by invokeSuper(Object,Object[])
.invokeSuper(Object,Object[])
to invoke the superclass
(non-intercepted) method implementation.NoOp
callback.InterfaceMaker
.java.lang.reflect.InvocationHandler
replacement (unavailable under JDK 1.2).Enhancer
.Enhancer
callback.Enhancer
callback which provides for "around advice".Enhancer
pass this object to the
registered MethodInterceptor
objects when an intercepted method is invoked.Mixin
allows
multiple objects to be combined into a single larger object.AbstractClassGenerator
-based utilities.BeanMap
instance using the specified bean.Enhancer
callback will delegate directly to the
default (super) implementation in the base class.java.lang.reflect.Proxy
under JDK 1.2.Enhancer
callback.Callback
array to use before
creating a new instance of the generated class via reflection.registerCallbacks(Class,Callback[])
, but suitable for use
when multiple threads will be creating instances of the generated class.ClassLoader
before generating them.Callback
to use.CallbackFilter
used to map the generated class' methods
to a particular callback index.Callback
to use.ClassLoader
in which the class will be generated.Factory
interface.Proxy
as a replacement for java.lang.reflect.UndeclaredThrowableException
.UndeclaredThrowableException
without detail message.GeneratorStrategy
suitable for use with net.sf.cglib.Enhancer
which
causes all undeclared exceptions thrown from within a proxied method to be wrapped
in an alternative exception of your choice.