org.openejb.client
Class ProxyManager
java.lang.Object
org.openejb.client.ProxyManager
- public class ProxyManager
- extends Object
- Since:
- 11/25/2001
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProxyManager
public ProxyManager()
getInstance
public static ProxyFactory getInstance()
getDefaultFactory
public static ProxyFactory getDefaultFactory()
getDefaultFactoryName
public static String getDefaultFactoryName()
getInvocationHandler
public static InvocationHandler getInvocationHandler(Object proxy)
- Casts the object passed in to the appropriate proxy type and retreives
the InvocationHandler assigned to it.
Executes on the default ProxyFactory instance.
- Parameters:
proxy
- The Proxy object to retreive the InvocationHandler from.
- Returns:
- The implementation of InvocationHandler handling invocations on the specified Proxy object.
newProxyInstance
public static Object newProxyInstance(Class[] interfaces,
InvocationHandler h,
ClassLoader classLoader)
isProxyClass
public static boolean isProxyClass(Class cl)
Copyright © 1999-2005 OpenEJB. All Rights Reserved.