org.apache.openejb.client.proxy
Class Jdk13ProxyFactory

java.lang.Object
  extended by org.apache.openejb.client.proxy.Jdk13ProxyFactory
All Implemented Interfaces:
ProxyFactory

public class Jdk13ProxyFactory
extends Object
implements ProxyFactory


Constructor Summary
Jdk13ProxyFactory()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jdk13ProxyFactory

public Jdk13ProxyFactory()
Method Detail

init

public void init(Properties props)
Specified by:
init in interface ProxyFactory

getInvocationHandler

public InvocationHandler getInvocationHandler(Object proxy)
                                       throws IllegalArgumentException
Specified by:
getInvocationHandler in interface ProxyFactory
Throws:
IllegalArgumentException

setInvocationHandler

public Object setInvocationHandler(Object proxy,
                                   InvocationHandler handler)
                            throws IllegalArgumentException
Specified by:
setInvocationHandler in interface ProxyFactory
Throws:
IllegalArgumentException

getProxyClass

public Class getProxyClass(Class interfce)
                    throws IllegalArgumentException
Specified by:
getProxyClass in interface ProxyFactory
Throws:
IllegalArgumentException

getProxyClass

public Class getProxyClass(Class[] interfaces)
                    throws IllegalArgumentException
Specified by:
getProxyClass in interface ProxyFactory
Throws:
IllegalArgumentException

isProxyClass

public boolean isProxyClass(Class cl)
Specified by:
isProxyClass in interface ProxyFactory

newProxyInstance

public Object newProxyInstance(Class proxyClass)
                        throws IllegalArgumentException
Specified by:
newProxyInstance in interface ProxyFactory
Throws:
IllegalArgumentException

newProxyInstance

public Object newProxyInstance(Class interfce,
                               InvocationHandler h)
                        throws IllegalArgumentException
Specified by:
newProxyInstance in interface ProxyFactory
Throws:
IllegalArgumentException

newProxyInstance

public Object newProxyInstance(Class[] interfaces,
                               InvocationHandler h)
                        throws IllegalArgumentException
Specified by:
newProxyInstance in interface ProxyFactory
Throws:
IllegalArgumentException


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.