public class Jdk13ProxyFactory extends Object implements ProxyFactory
| Constructor and Description |
|---|
Jdk13ProxyFactory() |
| Modifier and Type | Method and Description |
|---|---|
InvocationHandler |
getInvocationHandler(Object proxy) |
Class |
getProxyClass(Class interfce) |
Class |
getProxyClass(Class[] interfaces) |
void |
init(Properties props) |
boolean |
isProxyClass(Class cl) |
Object |
newProxyInstance(Class proxyClass) |
Object |
newProxyInstance(Class[] interfaces,
InvocationHandler h) |
Object |
newProxyInstance(Class interfce,
InvocationHandler h) |
Object |
setInvocationHandler(Object proxy,
InvocationHandler handler) |
public void init(Properties props)
init in interface ProxyFactorypublic InvocationHandler getInvocationHandler(Object proxy) throws IllegalArgumentException
getInvocationHandler in interface ProxyFactoryIllegalArgumentExceptionpublic Object setInvocationHandler(Object proxy, InvocationHandler handler) throws IllegalArgumentException
setInvocationHandler in interface ProxyFactoryIllegalArgumentExceptionpublic Class getProxyClass(Class interfce) throws IllegalArgumentException
getProxyClass in interface ProxyFactoryIllegalArgumentExceptionpublic Class getProxyClass(Class[] interfaces) throws IllegalArgumentException
getProxyClass in interface ProxyFactoryIllegalArgumentExceptionpublic boolean isProxyClass(Class cl)
isProxyClass in interface ProxyFactorypublic Object newProxyInstance(Class proxyClass) throws IllegalArgumentException
newProxyInstance in interface ProxyFactoryIllegalArgumentExceptionpublic Object newProxyInstance(Class interfce, InvocationHandler h) throws IllegalArgumentException
newProxyInstance in interface ProxyFactoryIllegalArgumentExceptionpublic Object newProxyInstance(Class[] interfaces, InvocationHandler h) throws IllegalArgumentException
newProxyInstance in interface ProxyFactoryIllegalArgumentExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.