1 45 package org.openejb.client.proxy; 46 47 import java.util.Properties ; 48 49 55 public interface ProxyFactory { 56 57 63 public void init(Properties props) ; 64 65 68 public InvocationHandler getInvocationHandler(Object proxy) throws IllegalArgumentException ; 69 70 73 public Object setInvocationHandler(Object proxy, InvocationHandler handler) throws IllegalArgumentException ; 74 75 83 public Class getProxyClass(Class interfce) throws IllegalArgumentException ; 84 85 93 public Class getProxyClass(Class [] interfaces) throws IllegalArgumentException ; 94 95 103 public boolean isProxyClass(Class cl); 104 105 114 public Object newProxyInstance(Class interfce, InvocationHandler h) throws IllegalArgumentException ; 115 116 125 public Object newProxyInstance(Class [] interfaces, InvocationHandler h) throws IllegalArgumentException ; 126 127 139 public Object newProxyInstance(Class proxyClass) throws IllegalArgumentException ; 140 } 141 142 | Popular Tags |