com.sun.jersey.server.impl
Class ThreadLocalNamedInvoker<T>
java.lang.Object
com.sun.jersey.server.impl.ThreadLocalInvoker<T>
com.sun.jersey.server.impl.ThreadLocalNamedInvoker<T>
- All Implemented Interfaces:
- InvocationHandler
public class ThreadLocalNamedInvoker<T>
- extends ThreadLocalInvoker<T>
A proxy invocation handler that delegates all methods to a thread
local instance
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalNamedInvoker
public ThreadLocalNamedInvoker(String name)
- Parameters:
name
- the JNDI name at which an instance of T can be found
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
invoke
in interface InvocationHandler
- Overrides:
invoke
in class ThreadLocalInvoker<T>
- Throws:
Throwable
Copyright © 2013 Oracle Corporation. All Rights Reserved.