Package | Description |
---|---|
javassist.util.proxy |
Dynamic proxy (similar to
Enhancer of cglib). |
Modifier and Type | Field | Description |
---|---|---|
static MethodHandler |
RuntimeSupport.default_interceptor |
A method handler that only executes a method.
|
Modifier and Type | Method | Description |
---|---|---|
static MethodHandler |
ProxyFactory.getHandler(Proxy p) |
Obtains the method handler of the given proxy object.
|
MethodHandler |
ProxyObject.getHandler() |
Get the handler.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
ProxyFactory.create(Class[] paramTypes,
Object[] args,
MethodHandler mh) |
Creates a proxy class and returns an instance of that class.
|
void |
Proxy.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
Proxy.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. |
void |
ProxyObject.setHandler(MethodHandler mi) |
Sets a handler.
|
Copyright © 2018 Shigeru Chiba, www.javassist.org. All rights reserved.