Lines Matching defs:proxy
34 Object proxy = createProxy(proxyMe);
36 if (!Proxy.isProxyClass(proxy.getClass()))
37 System.err.println("not a proxy class?");
38 if (Proxy.getInvocationHandler(proxy) == null)
42 Shapes shapes = (Shapes) proxy;
46 Quads quads = (Quads) proxy;
49 Colors colors = (Colors) proxy;
54 Trace trace = (Trace) proxy;
75 Method[] methods = proxy.getClass().getDeclaredMethods();
86 Arrays.deepToString(proxy.getClass().getInterfaces()));
99 /* create the proxy class */
103 /* create a proxy object, passing the handler object in */
104 Object proxy = null;
110 proxy = cons.newInstance(new Object[] { handler });
121 return proxy;
226 * Invocation handler, defining the implementation of the proxy functions.
236 * This is called when anything gets invoked in the proxy object.
238 public Object invoke(Object proxy, Method method, Object[] args)