org.jboss.resteasy.plugins.spring
Class SpringBeanProcessorServletAware

java.lang.Object
  extended by org.jboss.resteasy.plugins.spring.SpringBeanProcessor
      extended by org.jboss.resteasy.plugins.spring.SpringBeanProcessorServletAware
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor, 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
 
Fields inherited from class org.jboss.resteasy.plugins.spring.SpringBeanProcessor
dispatcher, providerFactory, registry, resourceFactories
 
Constructor Summary
SpringBeanProcessorServletAware()
           
 
Method Summary
 Dispatcher getDispatcher()
           
 ResteasyProviderFactory getProviderFactory()
           
 Registry getRegistry()
           
 void setServletContext(javax.servlet.ServletContext servletContext)
           
 
Methods inherited from class org.jboss.resteasy.plugins.spring.SpringBeanProcessor
postProcessBeanFactory, setDispatcher, setProviderFactory, setRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringBeanProcessorServletAware

public SpringBeanProcessorServletAware()
Method Detail

setServletContext

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

getRegistry

public Registry getRegistry()
Overrides:
getRegistry in class SpringBeanProcessor

getProviderFactory

public ResteasyProviderFactory getProviderFactory()
Overrides:
getProviderFactory in class SpringBeanProcessor

getDispatcher

public Dispatcher getDispatcher()
Overrides:
getDispatcher in class SpringBeanProcessor


Copyright © 2010. All Rights Reserved.