org.cloudfoundry.identity.uaa.scim.endpoints
Class HandlerAdapterFactoryBean

java.lang.Object
  extended by org.cloudfoundry.identity.uaa.scim.endpoints.HandlerAdapterFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.FactoryBean<org.springframework.web.servlet.HandlerAdapter>, org.springframework.context.ApplicationContextAware

public class HandlerAdapterFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<org.springframework.web.servlet.HandlerAdapter>, org.springframework.context.ApplicationContextAware

Factory for a handler adapter that sniffs the results from RequestMapping method executions and adds an ETag header if the result is a ScimCore. Inject into application context as anonymous bean.

Author:
Dave Syer

Constructor Summary
HandlerAdapterFactoryBean()
           
 
Method Summary
 org.springframework.web.servlet.HandlerAdapter getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerAdapterFactoryBean

public HandlerAdapterFactoryBean()
Method Detail

getObject

public org.springframework.web.servlet.HandlerAdapter getObject()
                                                         throws Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<org.springframework.web.servlet.HandlerAdapter>
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<org.springframework.web.servlet.HandlerAdapter>

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<org.springframework.web.servlet.HandlerAdapter>

setApplicationContext

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


Copyright © 2013. All rights reserved.