org.apache.openejb.util.proxy
Class Jdk13ProxyFactory

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

public class Jdk13ProxyFactory
extends java.lang.Object
implements ProxyFactory


Constructor Summary
Jdk13ProxyFactory()
           
 
Method Summary
 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, InvocationHandler handler)
           
 java.lang.Object newProxyInstance(java.lang.Class interfce, InvocationHandler h)
           
 
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(java.util.Properties props)
          throws OpenEJBException
Specified by:
init in interface ProxyFactory
Throws:
OpenEJBException

getInvocationHandler

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

getProxyClass

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

getProxyClass

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

isProxyClass

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

newProxyInstance

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

newProxyInstance

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


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