| Modifier and Type | Class and Description |
|---|---|
static class |
JavassistFactory.FinalizeMethodFilter |
protected static class |
JavassistFactory.PrivilegedActionForProxyFactory |
| Constructor and Description |
|---|
JavassistFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createProxy(Class<?> proxyClass) |
Object |
createProxy(MethodHandler handler,
Class<?>[] interfaces) |
Class<?> |
getProxyClass(Class<?> superClass,
Class<?>[] interfaces) |
boolean |
isProxyInstance(Object o) |
void |
setHandler(Object proxy,
MethodHandler handler) |
public Class<?> getProxyClass(Class<?> superClass, Class<?>[] interfaces)
getProxyClass in interface Factorypublic Object createProxy(Class<?> proxyClass) throws InstantiationException, IllegalAccessException
createProxy in interface FactoryInstantiationExceptionIllegalAccessExceptionpublic boolean isProxyInstance(Object o)
isProxyInstance in interface Factoryo - the object to checktrue if the given object is a proxypublic Object createProxy(MethodHandler handler, Class<?>[] interfaces) throws InstantiationException, IllegalAccessException
createProxy in interface FactoryInstantiationExceptionIllegalAccessExceptionpublic void setHandler(Object proxy, MethodHandler handler)
setHandler in interface FactoryCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.