Lines Matching defs:Proxy

48  * {@code Proxy} provides static methods for creating dynamic proxy
55 * Class proxyClass = Proxy.getProxyClass(
63 * Foo f = (Foo) Proxy.newProxyInstance(Foo.class.getClassLoader(),
93 * <li>Proxy classes are public, final, and not abstract.
96 * of class names that begin with the string {@code "$Proxy"}
99 * <li>A proxy class extends {@code java.lang.reflect.Proxy}.
121 * <li>The {@link Proxy#isProxyClass Proxy.isProxyClass} method will
123 * {@code Proxy.getProxyClass} or the class of an object returned by
124 * {@code Proxy.newProxyInstance}-- and false otherwise.
137 * can be also be created by calling the {@link Proxy#newProxyInstance
138 * Proxy.newProxyInstance} method, which combines the actions of calling
139 * {@link Proxy#getProxyClass Proxy.getProxyClass} with invoking the
160 * {@link Proxy#getInvocationHandler Proxy.getInvocationHandler} method
182 * <h3>Methods Duplicated in Multiple Proxy Interfaces</h3>
229 public class Proxy implements java.io.Serializable {
234 private final static String proxyClassNamePrefix = "$Proxy";
264 private Proxy() {
268 * Constructs a new {@code Proxy} instance from a subclass
274 protected Proxy(InvocationHandler h) {
302 if (!Proxy.isProxyClass(proxyClass) || allowNewInstance) {
330 throw new SecurityException("Not allowed to construct a Proxy "
347 * passed to {@code Proxy.getProxyClass}:
389 * {@code Proxy.getProxyClass} will throw an
424 * Check permissions required to create a Proxy class.
680 * Proxy.getProxyClass(loader, interfaces).
685 * <p>{@code Proxy.newProxyInstance} throws
687 * {@code Proxy.getProxyClass} does.
768 * not just test if the class in question extends {@code Proxy}.
801 Proxy p = (Proxy) proxy;