public class Jdk13ProxyFactory extends java.lang.Object implements ProxyFactory
Constructor and Description |
---|
Jdk13ProxyFactory() |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.InvocationHandler |
getInvocationHandler(java.lang.Object proxy) |
java.lang.Class |
getProxyClass(java.lang.Class interfce) |
java.lang.Class |
getProxyClass(java.lang.Class[] interfaces) |
void |
init(java.util.Properties props) |
boolean |
isProxyClass(java.lang.Class cl) |
java.lang.Object |
newProxyInstance(java.lang.Class[] interfaces,
java.lang.reflect.InvocationHandler handler) |
java.lang.Object |
newProxyInstance(java.lang.Class interfce,
java.lang.reflect.InvocationHandler h) |
public void init(java.util.Properties props) throws OpenEJBException
init
in interface ProxyFactory
OpenEJBException
public java.lang.reflect.InvocationHandler getInvocationHandler(java.lang.Object proxy) throws java.lang.IllegalArgumentException
getInvocationHandler
in interface ProxyFactory
java.lang.IllegalArgumentException
public java.lang.Class getProxyClass(java.lang.Class interfce) throws java.lang.IllegalArgumentException
getProxyClass
in interface ProxyFactory
java.lang.IllegalArgumentException
public java.lang.Class getProxyClass(java.lang.Class[] interfaces) throws java.lang.IllegalArgumentException
getProxyClass
in interface ProxyFactory
java.lang.IllegalArgumentException
public boolean isProxyClass(java.lang.Class cl)
isProxyClass
in interface ProxyFactory
public java.lang.Object newProxyInstance(java.lang.Class interfce, java.lang.reflect.InvocationHandler h) throws java.lang.IllegalArgumentException
newProxyInstance
in interface ProxyFactory
java.lang.IllegalArgumentException
public java.lang.Object newProxyInstance(java.lang.Class[] interfaces, java.lang.reflect.InvocationHandler handler) throws java.lang.IllegalArgumentException
newProxyInstance
in interface ProxyFactory
java.lang.IllegalArgumentException