24 ก.พ. 2555

Java How To ...: Java Dynamic Proxy Example

Java How To ...: Java Dynamic Proxy Example: g.Object are all final, and are not routed to the InvocationHandler by JVM. These methods are:
?
1
2
3
4
5
6
public final native Class getClass();
public final native void notify();
public final native void notifyAll();
public final native void wait(long timeout) throws InterruptedException;
public final void wait(long timeout, int nanos) throws InterruptedException;
public final void wait() throws InterruptedException
The handler's invoke method should not invoke methods on the

ไม่มีความคิดเห็น:

แสดงความคิดเห็น