public static class JAXRSServerFactoryBeanDefinitionParser.SpringJAXRSServerFactoryBean extends JAXRSServerFactoryBean implements org.springframework.context.ApplicationContextAware
resourceProviders
entityProviders, schemaLocations, serviceFactory
address, bindingConfig, bindingFactory, bindingId, bus, conduitSelector, dataBinding, destinationFactory, endpointName, endpointReference, features, properties, publishedEndpointUrl, serviceName, transportId
Constructor and Description |
---|
SpringJAXRSServerFactoryBean() |
SpringJAXRSServerFactoryBean(JAXRSServiceFactoryBean sf) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
setApplicationContext(org.springframework.context.ApplicationContext ctx) |
void |
setBasePackages(List<String> basePackages) |
void |
setProviders(List<? extends Object> beans)
Add custom JAX-RS providers to the list of providers
|
void |
setResourceProviders(List<ResourceProvider> rps)
Sets the list of providers managing the life-cycle of the resource classes
|
void |
setServiceAnnotation(String serviceAnnotation) |
void |
setServiceBeans(List<Object> beans)
Sets the resource beans.
|
void |
setTempResourceProviders(List<SpringResourceFactory> providers) |
applyBusFeatures, applyFeatures, create, createInvoker, getDocLocation, getResourceClasses, getServer, init, injectContexts, setApplication, setApplicationInfo, setBeanInfo, setDefaultResourceProvider, setDocLocation, setExtensionMappings, setInvoker, setLanguageMappings, setResourceClasses, setResourceClasses, setResourceComparator, setResourceProvider, setResourceProvider, setServiceBean, setServiceBeanObjects, setServiceClass, setStart, setStaticSubresourceResolution, setupFactory, updateClassResourceProviders
checkResources, createBindingInfo, createEndpoint, createEndpointInfo, getBus, getProviders, getServiceFactory, isValidClassResourceInfo, setBus, setDataBindingProvider, setModelBeans, setModelBeans, setModelBeansWithServiceClass, setModelRef, setModelRefWithServiceClass, setProvider, setProviderComparator, setSchemaLocation, setSchemaLocations, setServiceFactory, setServiceName, setupFactory
addToBeans, checkPrivateEndpoint, getAddress, getBindingConfig, getBindingFactory, getBindingId, getBus, getConduitSelector, getDataBinding, getDestinationFactory, getEndpointName, getFeatures, getProperties, getProperties, getPublishedEndpointUrl, getServiceName, getTransportId, initializeAnnotationInterceptors, initializeAnnotationInterceptors, initializeAnnotationInterceptors, setAddress, setBindingConfig, setBindingFactory, setBindingId, setConduitSelector, setDataBinding, setDestinationFactory, setEndpointName, setEndpointReference, setFeatures, setProperties, setPublishedEndpointUrl, setTransportId
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptors
public SpringJAXRSServerFactoryBean()
public SpringJAXRSServerFactoryBean(JAXRSServiceFactoryBean sf)
public void destroy()
public void setServiceBeans(List<Object> beans)
JAXRSServerFactoryBean
setServiceBeans
in class JAXRSServerFactoryBean
beans
- the list of resource instancespublic void setProviders(List<? extends Object> beans)
AbstractJAXRSFactoryBean
setProviders
in class AbstractJAXRSFactoryBean
beans
- the entity providerspublic void setResourceProviders(List<ResourceProvider> rps)
JAXRSServerFactoryBean
setResourceProviders
in class JAXRSServerFactoryBean
rps
- resource providerspublic void setServiceAnnotation(String serviceAnnotation)
public void setTempResourceProviders(List<SpringResourceFactory> providers)
public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
Apache CXF