org.apache.openejb.util.proxy
Interface ProxyFactory

All Known Implementing Classes:
Jdk13ProxyFactory

public interface ProxyFactory


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[] interfaces, InvocationHandler h)
           
 Object newProxyInstance(Class interfce, InvocationHandler h)
           
 

Method Detail

init

void init(Properties props)
          throws OpenEJBException
Throws:
OpenEJBException

getInvocationHandler

InvocationHandler getInvocationHandler(Object proxy)
                                       throws IllegalArgumentException
Throws:
IllegalArgumentException

getProxyClass

Class getProxyClass(Class interfce)
                    throws IllegalArgumentException
Throws:
IllegalArgumentException

getProxyClass

Class getProxyClass(Class[] interfaces)
                    throws IllegalArgumentException
Throws:
IllegalArgumentException

isProxyClass

boolean isProxyClass(Class cl)

newProxyInstance

Object newProxyInstance(Class interfce,
                        InvocationHandler h)
                        throws IllegalArgumentException
Throws:
IllegalArgumentException

newProxyInstance

Object newProxyInstance(Class[] interfaces,
                        InvocationHandler h)
                        throws IllegalArgumentException
Throws:
IllegalArgumentException


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