public interface ProxyFactory
| 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) |
void init(Properties props)
InvocationHandler getInvocationHandler(Object proxy) throws IllegalArgumentException
IllegalArgumentExceptionObject setInvocationHandler(Object proxy, InvocationHandler handler) throws IllegalArgumentException
IllegalArgumentExceptionClass getProxyClass(Class interfce) throws IllegalArgumentException
IllegalArgumentExceptionClass getProxyClass(Class[] interfaces) throws IllegalArgumentException
IllegalArgumentExceptionboolean isProxyClass(Class cl)
Object newProxyInstance(Class interfce, InvocationHandler h) throws IllegalArgumentException
IllegalArgumentExceptionObject newProxyInstance(Class[] interfaces, InvocationHandler h) throws IllegalArgumentException
IllegalArgumentExceptionObject newProxyInstance(Class proxyClass) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.