org.glassfish.jersey.servlet.internal
Class ThreadLocalInvoker<T>
java.lang.Object
org.glassfish.jersey.servlet.internal.ThreadLocalInvoker<T>
- All Implemented Interfaces:
- InvocationHandler
- Direct Known Subclasses:
- ThreadLocalNamedInvoker
public class ThreadLocalInvoker<T>
- extends Object
- implements InvocationHandler
A proxy invocation handler that delegates all methods to a thread local instance.
- Author:
- Paul Sandoz (paul.sandoz at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalInvoker
public ThreadLocalInvoker()
set
public void set(T threadLocalInstance)
get
public T get()
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.