org.apache.openejb.util.proxy
Class ProxyManager

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

public class ProxyManager
extends Object


Constructor Summary
ProxyManager()
           
 
Method Summary
static void checkDefaultFactory()
           
static ProxyFactory getDefaultFactory()
           
static String getDefaultFactoryName()
           
static ProxyFactory getFactory(String factoryName)
           
static InvocationHandler getInvocationHandler(Object proxy)
           
static Class getProxyClass(Class interfaceType)
           
static Class getProxyClass(Class[] interfaces)
           
static boolean isProxyClass(Class cl)
           
static Object newProxyInstance(Class[] interfaces, InvocationHandler h)
           
static Object newProxyInstance(Class interfaceType, InvocationHandler h)
           
static ProxyFactory registerFactory(String factoryName, ProxyFactory factory)
           
static ProxyFactory setDefaultFactory(String factoryName)
           
static ProxyFactory unregisterFactory(String factoryName)
           
 
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

registerFactory

public static ProxyFactory registerFactory(String factoryName,
                                           ProxyFactory factory)

unregisterFactory

public static ProxyFactory unregisterFactory(String factoryName)

checkDefaultFactory

public static void checkDefaultFactory()

getFactory

public static ProxyFactory getFactory(String factoryName)

setDefaultFactory

public static ProxyFactory setDefaultFactory(String factoryName)

getDefaultFactory

public static ProxyFactory getDefaultFactory()

getDefaultFactoryName

public static String getDefaultFactoryName()

getInvocationHandler

public static InvocationHandler getInvocationHandler(Object proxy)

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)


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