Searched refs:InvocationHandler (Results 1 – 7 of 7) sorted by relevance
19 import java.lang.reflect.InvocationHandler;37 private final InheritableThreadLocal<Map<String, Deque<InvocationHandler>>> handlers38 = new InheritableThreadLocal<Map<String, Deque<InvocationHandler>>>() {39 @Override protected Map<String, Deque<InvocationHandler>> initialValue() {40 return new HashMap<String, Deque<InvocationHandler>>();45 private final InvocationHandler delegateHandler = new InvocationHandler() {55 private final InvocationHandler invocationHandler = new InvocationHandler() {58 InvocationHandler handler = getHandlers(method.getName()).poll();88 public Deque<InvocationHandler> getHandlers(String methodName) { in getHandlers()89 Map<String, Deque<InvocationHandler>> threadFaults = handlers.get(); in getHandlers()[all …]
19 import java.lang.reflect.InvocationHandler;48 InvocationHandler invocationHandlerB = (InvocationHandler) loaderB.loadClass( in testClassLoaderDoesNotNeedToSeeInvocationHandlerLoader()61 public static class TestInvocationHandler implements InvocationHandler {
20 import java.lang.reflect.InvocationHandler;51 class Broken1Invoke implements InvocationHandler {59 protected ProxyCoonstructorTest(InvocationHandler h) { in ProxyCoonstructorTest()100 assertNotNull(new ProxyCoonstructorTest(new InvocationHandler() { in test_ProxyLjava_lang_reflect_InvocationHandler()117 Support_Proxy_I2.class }, new InvocationHandler() { in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()207 Proxy fake = new Proxy(new InvocationHandler() { in test_isProxyClassLjava_lang_Class()234 InvocationHandler handler = new InvocationHandler() { in test_getInvocationHandlerLjava_lang_Object()299 public static class TestProxyHandler implements InvocationHandler {
49 protected InvocationHandler h;62 protected Proxy(InvocationHandler h) { in Proxy()206 Class<?>[] interfaces, InvocationHandler h) in newProxyInstance()213 new Class<?>[] { InvocationHandler.class }).newInstance( in newProxyInstance()260 public static InvocationHandler getInvocationHandler(Object proxy) in getInvocationHandler()277 native private static void constructorPrototype(InvocationHandler h); in constructorPrototype()
25 public interface InvocationHandler { interface
25 import java.lang.reflect.InvocationHandler;51 public final class AnnotationFactory implements InvocationHandler, Serializable {
31 import java.lang.reflect.InvocationHandler;1483 Deque<InvocationHandler> writeHandlers = mockOs.getHandlers("write"); in testDiskWriteFailureCacheDegradation()1497 Deque<InvocationHandler> readHandlers = mockOs.getHandlers("read"); in testDiskReadFailureCacheDegradation()