public static class JAXRSServerFactoryBeanDefinitionParser.SpringJAXRSServerFactoryBean extends JAXRSServerFactoryBean implements org.springframework.context.ApplicationContextAware
resourceProvidersentityProviders, schemaLocations, serviceFactoryaddress, 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, updateClassResourceProviderscheckResources, createBindingInfo, createEndpoint, createEndpointInfo, getBus, getProviders, getServiceFactory, isValidClassResourceInfo, setBus, setDataBindingProvider, setModelBeans, setModelBeans, setModelBeansWithServiceClass, setModelRef, setModelRefWithServiceClass, setProvider, setProviderComparator, setSchemaLocation, setSchemaLocations, setServiceFactory, setServiceName, setupFactoryaddToBeans, 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, setTransportIdgetInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors, setInFaultInterceptors, setInInterceptors, setOutFaultInterceptors, setOutInterceptorspublic SpringJAXRSServerFactoryBean()
public SpringJAXRSServerFactoryBean(JAXRSServiceFactoryBean sf)
public void destroy()
public void setServiceBeans(List<Object> beans)
JAXRSServerFactoryBeansetServiceBeans in class JAXRSServerFactoryBeanbeans - the list of resource instancespublic void setProviders(List<? extends Object> beans)
AbstractJAXRSFactoryBeansetProviders in class AbstractJAXRSFactoryBeanbeans - the entity providerspublic void setResourceProviders(List<ResourceProvider> rps)
JAXRSServerFactoryBeansetResourceProviders in class JAXRSServerFactoryBeanrps - 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.ApplicationContextAwareorg.springframework.beans.BeansExceptionApache CXF