|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MethodHandler | |
---|---|
javassist.util.proxy | Dynamic proxy (similar to Enhancer of cglib). |
Uses of MethodHandler in javassist.util.proxy |
---|
Fields in javassist.util.proxy declared as MethodHandler | |
---|---|
static MethodHandler |
RuntimeSupport.default_interceptor
A method handler that only executes a method. |
Methods in javassist.util.proxy that return MethodHandler | |
---|---|
MethodHandler |
ProxyObject.getHandler()
Get the handler. |
Methods in javassist.util.proxy with parameters of type MethodHandler | |
---|---|
java.lang.Object |
ProxyFactory.create(java.lang.Class[] paramTypes,
java.lang.Object[] args,
MethodHandler mh)
Creates a proxy class and returns an instance of that class. |
void |
ProxyObject.setHandler(MethodHandler mi)
Sets a handler. |
void |
ProxyFactory.setHandler(MethodHandler mi)
Deprecated. since 3.12 use of this method is incompatible with proxy class caching. instead clients should call method ProxyObject.setHandler(MethodHandler) to set the handler
for each newly created proxy instance.
calling this method will automatically disable caching of classes created by the proxy factory. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |