|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openejb.client.CgLibProxyFactory
| Constructor Summary | |
CgLibProxyFactory()
|
|
| Method Summary | |
InvocationHandler |
getInvocationHandler(Object proxy)
Returns the invocation handler for the specified proxy instance. |
void |
init(Properties props)
Prepares the ProxyFactory for use. |
boolean |
isProxyClass(Class cl)
Returns true if and only if the specified class was dynamically generated to be a proxy class using the getProxyClass method or the newProxyInstance method. |
Object |
newProxyInstance(Class[] interfaces,
InvocationHandler handler,
ClassLoader classLoader)
Returns an instance of a proxy class for the specified interface that dispatches method invocations to the specified invocation handler. |
Object |
newProxyInstance(Class superClass,
Class[] interfaces,
InvocationHandler handler,
ClassLoader classLoader)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CgLibProxyFactory()
| Method Detail |
public void init(Properties props)
ProxyFactory
init in interface ProxyFactory
public InvocationHandler getInvocationHandler(Object proxy)
throws IllegalArgumentException
ProxyFactory
getInvocationHandler in interface ProxyFactoryIllegalArgumentExceptionpublic boolean isProxyClass(Class cl)
ProxyFactory
isProxyClass in interface ProxyFactory
public Object newProxyInstance(Class[] interfaces,
InvocationHandler handler,
ClassLoader classLoader)
throws IllegalArgumentException
ProxyFactory
newProxyInstance in interface ProxyFactoryIllegalArgumentException
public Object newProxyInstance(Class superClass,
Class[] interfaces,
InvocationHandler handler,
ClassLoader classLoader)
throws IllegalArgumentException
newProxyInstance in interface ProxyFactoryIllegalArgumentException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||