Class JAXRSServerFactoryBeanDefinitionParser.SpringJAXRSServerFactoryBean

java.lang.Object
org.apache.cxf.interceptor.AbstractBasicInterceptorProvider
org.apache.cxf.endpoint.AbstractEndpointFactory
org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean
org.apache.cxf.jaxrs.JAXRSServerFactoryBean
org.apache.cxf.jaxrs.spring.JAXRSServerFactoryBeanDefinitionParser.SpringJAXRSServerFactoryBean
All Implemented Interfaces:
org.apache.cxf.interceptor.InterceptorProvider, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Enclosing class:
JAXRSServerFactoryBeanDefinitionParser

public static class JAXRSServerFactoryBeanDefinitionParser.SpringJAXRSServerFactoryBean extends JAXRSServerFactoryBean implements org.springframework.context.ApplicationContextAware
  • Constructor Details

    • SpringJAXRSServerFactoryBean

      public SpringJAXRSServerFactoryBean()
    • SpringJAXRSServerFactoryBean

      public SpringJAXRSServerFactoryBean(JAXRSServiceFactoryBean sf)
  • Method Details

    • destroy

      public void destroy()
    • setServiceBeans

      public void setServiceBeans(List<Object> beans)
      Description copied from class: JAXRSServerFactoryBean
      Sets the resource beans. If this is set then the JAX-RS runtime will not be responsible for the life-cycle of resource classes.
      Overrides:
      setServiceBeans in class JAXRSServerFactoryBean
      Parameters:
      beans - the list of resource instances
    • setProviders

      public void setProviders(List<? extends Object> beans)
      Description copied from class: AbstractJAXRSFactoryBean
      Add custom JAX-RS providers to the list of providers
      Overrides:
      setProviders in class AbstractJAXRSFactoryBean
      Parameters:
      beans - the entity providers
    • setResourceProviders

      public void setResourceProviders(List<ResourceProvider> rps)
      Description copied from class: JAXRSServerFactoryBean
      Sets the list of providers managing the life-cycle of the resource classes
      Overrides:
      setResourceProviders in class JAXRSServerFactoryBean
      Parameters:
      rps - resource providers
    • setBasePackages

      public void setBasePackages(List<String> basePackages)
    • setServiceAnnotation

      public void setServiceAnnotation(String serviceAnnotation)
    • setTempResourceProviders

      public void setTempResourceProviders(List<SpringResourceFactory> providers)
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext ctx) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException