Class SpringBeanProcessorServletAware

java.lang.Object
org.jboss.resteasy.plugins.spring.SpringBeanProcessor
org.jboss.resteasy.plugins.spring.SpringBeanProcessorServletAware
All Implemented Interfaces:
EventListener, org.springframework.beans.factory.Aware, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.context.event.SmartApplicationListener, org.springframework.core.Ordered, org.springframework.web.context.ServletContextAware

public class SpringBeanProcessorServletAware extends SpringBeanProcessor implements org.springframework.web.context.ServletContextAware
Use this subclass of SpringBeanProcessor if you are manually applying the SpringBeanProcessor for Resteasy. This assumes that the Registry and ResteasyProviderFactory objects are registered as attributes in the ServletContext
Version:
$Revision: 1 $
Author:
Bill Burke
  • Field Details

    • servletContext

      protected jakarta.servlet.ServletContext servletContext
  • Constructor Details

    • SpringBeanProcessorServletAware

      public SpringBeanProcessorServletAware()
  • Method Details

    • setServletContext

      public void setServletContext(jakarta.servlet.ServletContext servletContext)
      Specified by:
      setServletContext in interface org.springframework.web.context.ServletContextAware
    • getRegistry

      public org.jboss.resteasy.spi.Registry getRegistry()
      Overrides:
      getRegistry in class SpringBeanProcessor
    • getProviderFactory

      public org.jboss.resteasy.spi.ResteasyProviderFactory getProviderFactory()
      Overrides:
      getProviderFactory in class SpringBeanProcessor
    • getDispatcher

      public org.jboss.resteasy.spi.Dispatcher getDispatcher()
      Overrides:
      getDispatcher in class SpringBeanProcessor