org.cloudfoundry.identity.uaa.scim.endpoints
Class HandlerAdapterFactoryBean
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerAdapterFactoryBean
public HandlerAdapterFactoryBean()
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.