Package | Description |
---|---|
javassist.util.proxy |
Dynamic proxy (similar to
Enhancer of cglib). |
Modifier and Type | Field and Description |
---|---|
static MethodHandler |
RuntimeSupport.default_interceptor
A method handler that only executes a method.
|
Modifier and Type | Method and Description |
---|---|
MethodHandler |
ProxyObject.getHandler()
Get the handler.
|
Modifier and Type | Method and 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 |
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. |
void |
ProxyObject.setHandler(MethodHandler mi)
Sets a handler.
|
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999-2010 Shigeru Chiba. All Rights Reserved.