Class ThreadLocalNamedInvoker<T>
java.lang.Object
org.glassfish.jersey.servlet.internal.ThreadLocalInvoker<T>
org.glassfish.jersey.servlet.internal.ThreadLocalNamedInvoker<T>
- All Implemented Interfaces:
InvocationHandler
A proxy invocation handler that delegates all methods to a thread local instance from JNDI.
- Author:
- Paul Sandoz
-
Constructor Summary
-
Method Summary
Methods inherited from class org.glassfish.jersey.servlet.internal.ThreadLocalInvoker
get, set
-
Constructor Details
-
ThreadLocalNamedInvoker
Create an instance.- Parameters:
name
- the JNDI name at which an instance of T can be found.
-
-
Method Details
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Overrides:
invoke
in classThreadLocalInvoker<T>
- Throws:
Throwable
-