|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openejb.client.proxy.Jdk13InvocationHandler
public class Jdk13InvocationHandler
Implementation of JDK 1.3 InvocationHandler for JDK 1.3 Proxies. This only compiles on JDK 1.3 or better. This is the interface between the OpenEJB InvocationHandler and the JDK 1.3 proxy. It allows the OpenEJB InvocationHandler to be null or changed after proxy instantiation, which is not normally allowed for JDK 1.3 proxies.
Constructor Summary | |
---|---|
Jdk13InvocationHandler()
Constructs a new JDK 1.3 compatable InvocationHandler that delegates all invocations to an OpenEJB invocation handler. |
|
Jdk13InvocationHandler(InvocationHandler delegate)
Constructs a new JDK 1.3 compatable InvocationHandler that delegates all invocations to an OpenEJB invocation handler. |
Method Summary | |
---|---|
InvocationHandler |
getInvocationHandler()
Returns the InvocationHandler that will receive all the calls on the proxy |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invoked by the proxy instance when one of its methods have been called. |
InvocationHandler |
setInvocationHandler(InvocationHandler handler)
Sets the InvocationHandler that will receive all the calls on the proxy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Jdk13InvocationHandler()
public Jdk13InvocationHandler(InvocationHandler delegate)
delegate
- Method Detail |
---|
public InvocationHandler getInvocationHandler()
public InvocationHandler setInvocationHandler(InvocationHandler handler)
handler
-
public java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args) throws java.lang.Throwable
invoke
in interface java.lang.reflect.InvocationHandler
proxy
- method
- args
-
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |