Apache CXF API

org.apache.cxf.jaxrs.provider
Class ServerProviderFactory

java.lang.Object
  extended by org.apache.cxf.jaxrs.provider.ProviderFactory
      extended by org.apache.cxf.jaxrs.provider.ServerProviderFactory

public final class ServerProviderFactory
extends ProviderFactory


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.cxf.jaxrs.provider.ProviderFactory
ProviderFactory.AbstractPriorityComparator, ProviderFactory.BindingPriorityComparator, ProviderFactory.ClassComparator, ProviderFactory.NameKey, ProviderFactory.NameKeyComparator, ProviderFactory.NameKeyMap<T>
 
Field Summary
 
Fields inherited from class org.apache.cxf.jaxrs.provider.ProviderFactory
CLIENT_FACTORY_NAME, DEFAULT_FILTER_NAME_BINDING, IGNORE_TYPE_VARIABLES, PROVIDER_SELECTION_PROPERTY_CHANGED, readerInterceptors, SERVER_FACTORY_NAME, writerInterceptors
 
Method Summary
 void addBeanParamInfo(BeanParamInfo bpi)
           
 void applyDynamicFeatures(List<ClassResourceInfo> list)
           
 void clearExceptionMapperProxies()
           
 void clearProviders()
           
 void clearThreadLocalProxies()
           
static void clearThreadLocalProxies(Message message)
           
static void clearThreadLocalProxies(ServerProviderFactory factory, Message message)
           
<T extends Throwable>
javax.ws.rs.ext.ExceptionMapper<T>
createExceptionMapper(Class<?> exceptionType, Message m)
           
static ServerProviderFactory createInstance(Bus bus)
           
 ProviderInfo<javax.ws.rs.core.Application> getApplicationProvider()
           
 BeanParamInfo getBeanParamInfo(Class<?> beanClass)
           
 List<ProviderInfo<javax.ws.rs.container.ContainerResponseFilter>> getContainerResponseFilters(Set<String> names)
           
static ServerProviderFactory getInstance()
           
static ServerProviderFactory getInstance(Message m)
           
 List<ProviderInfo<javax.ws.rs.container.ContainerRequestFilter>> getPostMatchContainerRequestFilters(Set<String> names)
           
 List<ProviderInfo<javax.ws.rs.container.ContainerRequestFilter>> getPreMatchContainerRequestFilters()
           
 RequestPreprocessor getRequestPreprocessor()
           
protected  void injectContextProxiesIntoProvider(ProviderInfo<?> pi)
           
protected  void injectContextValues(ProviderInfo<?> pi, Message m)
           
protected static boolean isPrematching(Class<?> filterCls)
           
static void releaseRequestState(Message message)
           
static void releaseRequestState(ServerProviderFactory factory, Message message)
           
 void setApplicationProvider(ProviderInfo<javax.ws.rs.core.Application> app)
           
protected  void setProviders(Object... providers)
           
 void setRequestPreprocessor(RequestPreprocessor rp)
           
 
Methods inherited from class org.apache.cxf.jaxrs.provider.ProviderFactory
addProviderToList, compareClasses, compareClasses, createContextProvider, createContextResolver, createContextResolver, createMessageBodyReader, createMessageBodyReaderInterceptor, createMessageBodyWriter, createMessageBodyWriterInterceptor, createParameterHandler, createProvider, createProviderFromConstructor, filterContractSupported, getBaseFactory, getBoundFilters, getBus, getDynamicConfiguration, getFilterNameBindings, getFilterPriority, getRegisteredJaxbWriter, handleMapper, initBaseFactory, initProviders, injectContextProxies, isBaseFactory, mapInterceptorFilters, prepareProviders, registerUserProvider, setBus, setBusProviders, setCommonProviders, setDynamicConfiguration, setSchemaLocations, setUserProviders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ServerProviderFactory getInstance()

createInstance

public static ServerProviderFactory createInstance(Bus bus)

getInstance

public static ServerProviderFactory getInstance(Message m)

getPreMatchContainerRequestFilters

public List<ProviderInfo<javax.ws.rs.container.ContainerRequestFilter>> getPreMatchContainerRequestFilters()

getPostMatchContainerRequestFilters

public List<ProviderInfo<javax.ws.rs.container.ContainerRequestFilter>> getPostMatchContainerRequestFilters(Set<String> names)

getContainerResponseFilters

public List<ProviderInfo<javax.ws.rs.container.ContainerResponseFilter>> getContainerResponseFilters(Set<String> names)

addBeanParamInfo

public void addBeanParamInfo(BeanParamInfo bpi)

getBeanParamInfo

public BeanParamInfo getBeanParamInfo(Class<?> beanClass)

createExceptionMapper

public <T extends Throwable> javax.ws.rs.ext.ExceptionMapper<T> createExceptionMapper(Class<?> exceptionType,
                                                                                      Message m)

setProviders

protected void setProviders(Object... providers)
Specified by:
setProviders in class ProviderFactory

injectContextProxiesIntoProvider

protected void injectContextProxiesIntoProvider(ProviderInfo<?> pi)
Overrides:
injectContextProxiesIntoProvider in class ProviderFactory

injectContextValues

protected void injectContextValues(ProviderInfo<?> pi,
                                   Message m)
Overrides:
injectContextValues in class ProviderFactory

getRequestPreprocessor

public RequestPreprocessor getRequestPreprocessor()

setApplicationProvider

public void setApplicationProvider(ProviderInfo<javax.ws.rs.core.Application> app)

getApplicationProvider

public ProviderInfo<javax.ws.rs.core.Application> getApplicationProvider()

setRequestPreprocessor

public void setRequestPreprocessor(RequestPreprocessor rp)

clearExceptionMapperProxies

public void clearExceptionMapperProxies()

clearProviders

public void clearProviders()
Overrides:
clearProviders in class ProviderFactory

clearThreadLocalProxies

public void clearThreadLocalProxies()
Overrides:
clearThreadLocalProxies in class ProviderFactory

applyDynamicFeatures

public void applyDynamicFeatures(List<ClassResourceInfo> list)

isPrematching

protected static boolean isPrematching(Class<?> filterCls)

clearThreadLocalProxies

public static void clearThreadLocalProxies(Message message)

clearThreadLocalProxies

public static void clearThreadLocalProxies(ServerProviderFactory factory,
                                           Message message)

releaseRequestState

public static void releaseRequestState(Message message)

releaseRequestState

public static void releaseRequestState(ServerProviderFactory factory,
                                       Message message)

Apache CXF API

Apache CXF