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
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jboss.resteasy.plugins.spring.SpringBeanProcessor
SpringBeanProcessor.ResteasyBeanPostProcessor -
Field Summary
FieldsFields inherited from class org.jboss.resteasy.plugins.spring.SpringBeanProcessor
deployment, dispatcher, providerFactory, providerNames, registry, resourceFactories, resourceFactoryNamesFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.resteasy.spi.Dispatcherorg.jboss.resteasy.spi.ResteasyProviderFactoryorg.jboss.resteasy.spi.RegistryvoidsetServletContext(jakarta.servlet.ServletContext servletContext) Methods inherited from class org.jboss.resteasy.plugins.spring.SpringBeanProcessor
getOrder, getPropertyValue, onApplicationEvent, postProcessBeanFactory, processBean, setDispatcher, setOrder, setProviderFactory, setRegistry, supportsEventType, supportsSourceTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.event.SmartApplicationListener
getListenerId
-
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:
setServletContextin interfaceorg.springframework.web.context.ServletContextAware
-
getRegistry
public org.jboss.resteasy.spi.Registry getRegistry()- Overrides:
getRegistryin classSpringBeanProcessor
-
getProviderFactory
public org.jboss.resteasy.spi.ResteasyProviderFactory getProviderFactory()- Overrides:
getProviderFactoryin classSpringBeanProcessor
-
getDispatcher
public org.jboss.resteasy.spi.Dispatcher getDispatcher()- Overrides:
getDispatcherin classSpringBeanProcessor
-