1 45 package org.openejb.util.proxy; 46 47 106 107 import java.util.Properties ; 108 109 import org.openejb.OpenEJBException; 110 111 public interface ProxyFactory { 112 113 public void init(Properties props) throws OpenEJBException; 114 115 118 public InvocationHandler getInvocationHandler(Object proxy) throws IllegalArgumentException ; 119 120 123 public Object setInvocationHandler(Object proxy, InvocationHandler handler) throws IllegalArgumentException ; 124 125 128 public Class getProxyClass(Class interfce) throws IllegalArgumentException ; 129 130 133 public Class getProxyClass(Class [] interfaces) throws IllegalArgumentException ; 134 135 138 public boolean isProxyClass(Class cl); 139 140 144 public Object newProxyInstance(Class interfce, InvocationHandler h) throws IllegalArgumentException ; 145 146 150 public Object newProxyInstance(Class [] interfaces, InvocationHandler h) throws IllegalArgumentException ; 151 152 160 public Object newProxyInstance(Class proxyClass) throws IllegalArgumentException ; 161 } 162 163 | Popular Tags |