org.apache.openejb.client.proxy
Class ProxyManager

java.lang.Object
  extended by org.apache.openejb.client.proxy.ProxyManager

public class ProxyManager
extends Object


Constructor Summary
ProxyManager()
           
 
Method Summary
static ClassLoader getContextClassLoader()
           
static ProxyFactory getDefaultFactory()
           
static String getDefaultFactoryName()
           
static InvocationHandler getInvocationHandler(Object proxy)
           
static Class getProxyClass(Class interfaceType)
           
static Class getProxyClass(Class[] interfaces)
           
static boolean isProxyClass(Class cl)
           
static Object newProxyInstance(Class proxyClass)
           
static Object newProxyInstance(Class[] interfaces, InvocationHandler h)
           
static Object newProxyInstance(Class interfaceType, InvocationHandler h)
           
static 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

ProxyManager

public ProxyManager()
Method Detail

getDefaultFactory

public static ProxyFactory getDefaultFactory()

getDefaultFactoryName

public static String getDefaultFactoryName()

getInvocationHandler

public static InvocationHandler getInvocationHandler(Object proxy)

setInvocationHandler

public static Object setInvocationHandler(Object proxy,
                                          InvocationHandler handler)

getProxyClass

public static Class getProxyClass(Class interfaceType)
                           throws IllegalAccessException
Throws:
IllegalAccessException

getProxyClass

public static Class getProxyClass(Class[] interfaces)
                           throws IllegalAccessException
Throws:
IllegalAccessException

newProxyInstance

public static Object newProxyInstance(Class interfaceType,
                                      InvocationHandler h)
                               throws IllegalAccessException
Throws:
IllegalAccessException

newProxyInstance

public static Object newProxyInstance(Class[] interfaces,
                                      InvocationHandler h)
                               throws IllegalAccessException
Throws:
IllegalAccessException

isProxyClass

public static boolean isProxyClass(Class cl)

newProxyInstance

public static Object newProxyInstance(Class proxyClass)
                               throws IllegalAccessException
Throws:
IllegalAccessException

getContextClassLoader

public static ClassLoader getContextClassLoader()


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