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 |
---|---|---|
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 |
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.
|
void |
ProxyObject.setHandler(MethodHandler mi) |
Sets a handler.
|
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.