1 import java
.lang
.reflect
.*;
6 public class MyInvocationHandler
implements InvocationHandler
8 public Object
invoke (Object proxy
,
13 System
.out
.println (args
[0]);
18 public static void main (String
[] args
)
21 InvocationHandler ih
= new MyInvocationHandler();
23 SocketOptions c
= (SocketOptions
)
24 Proxy
.newProxyInstance (SocketOptions
.class.getClassLoader(),
25 new Class
[]{SocketOptions
.class},
30 } catch (Exception e
) {