| Constructor and Description |
|---|
AsmFactory() |
| Modifier and Type | Method and Description |
|---|---|
Object |
createProxy(Class<?> proxyClass) |
Object |
createProxy(MethodHandler handler,
Class<?>[] interfaces) |
Object |
createProxy(MethodHandler handler,
Class<?> superClass,
Class<?>[] interfaceArray) |
Class<?> |
getProxyClass(Class<?> superClass,
Class<?>[] interfaces) |
boolean |
isProxyInstance(Object o) |
void |
setHandler(Object proxy,
MethodHandler handler) |
public Object createProxy(MethodHandler handler, Class<?> superClass, Class<?>[] interfaceArray)
public Class<?> getProxyClass(Class<?> superClass, Class<?>[] interfaces)
getProxyClass in interface Factorypublic boolean isProxyInstance(Object o)
isProxyInstance in interface Factorypublic Object createProxy(MethodHandler handler, Class<?>[] interfaces) throws InstantiationException, IllegalAccessException
createProxy in interface FactoryInstantiationExceptionIllegalAccessExceptionpublic Object createProxy(Class<?> proxyClass) 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.