org.apache.cxf.jaxrs.impl.tl
Class ThreadLocalSearchContext
java.lang.Object
org.apache.cxf.jaxrs.impl.tl.AbstractThreadLocalProxy<SearchContext>
org.apache.cxf.jaxrs.impl.tl.ThreadLocalSearchContext
- All Implemented Interfaces:
- SearchContext, ThreadLocalProxy<SearchContext>
public class ThreadLocalSearchContext
- extends AbstractThreadLocalProxy<SearchContext>
- implements SearchContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalSearchContext
public ThreadLocalSearchContext()
getCondition
public SearchCondition getCondition(Class cls)
- Description copied from interface:
SearchContext
- Returns the typed search condition representing the search expression
- Specified by:
getCondition
in interface SearchContext
- Parameters:
cls
- the type of the bean(s) the new search condition will
attempt to match
- Returns:
- the search condition
getSearchExpression
public String getSearchExpression()
- Description copied from interface:
SearchContext
- Returns the actual query expression
- Specified by:
getSearchExpression
in interface SearchContext
- Returns:
- the expression
Apache CXF