Apache CXF API

org.apache.cxf.jaxrs.ext.search.visitor
Class LocalVisitorState<T>

java.lang.Object
  extended by org.apache.cxf.jaxrs.ext.search.visitor.LocalVisitorState<T>
All Implemented Interfaces:
VisitorState<T>

public class LocalVisitorState<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.


Constructor Summary
LocalVisitorState()
           
 
Method Summary
 T get()
           
 T remove()
           
 void set(T v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalVisitorState

public LocalVisitorState()
Method Detail

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 v)
Specified by:
set in interface VisitorState<T>

Apache CXF API

Apache CXF