org.apache.cxf.jaxrs.ext.search.visitor
Class ThreadLocalVisitorState<T>
java.lang.Object
org.apache.cxf.jaxrs.ext.search.visitor.ThreadLocalVisitorState<T>
- All Implemented Interfaces:
- VisitorState<T>
- Direct Known Subclasses:
- SBThreadLocalVisitorState
public class ThreadLocalVisitorState<T>
- extends Object
- implements VisitorState<T>
Simple thread local storage implementation for helping
search condition visitors to access its state across multiple
visit calls when a given visitor is not created on per-request basis.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalVisitorState
public ThreadLocalVisitorState()
get
public T get()
- Specified by:
get
in interface VisitorState<T>
remove
public T remove()
- Specified by:
remove
in interface VisitorState<T>
set
public void set(T value)
- Specified by:
set
in interface VisitorState<T>
Apache CXF