@Configuration
@ComponentScan(basePackages="fr.gouv.education.tribu.api")
@ImportResource(value="file:${catalina.base}/conf/api-users.xml")
@PropertySource(value="file:${catalina.base}/conf/application.properties")
@EnableSwagger2
@EnableCaching
public class WsConfiguration
extends Object
implements org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
static String |
AUTHORIZATION_HEADER |
| Constructor and Description |
|---|
WsConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
springfox.documentation.spring.web.plugins.Docket |
api() |
org.springframework.cache.ehcache.EhCacheManagerFactoryBean |
cacheFactoryBean() |
org.springframework.cache.CacheManager |
cacheManager() |
org.apache.commons.pool2.impl.GenericObjectPool<org.nuxeo.ecm.automation.client.jaxrs.impl.HttpAutomationClient> |
getPool() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public static final String AUTHORIZATION_HEADER
@Bean public springfox.documentation.spring.web.plugins.Docket api()
@Bean(value="pool") public org.apache.commons.pool2.impl.GenericObjectPool<org.nuxeo.ecm.automation.client.jaxrs.impl.HttpAutomationClient> getPool()
@Bean
public org.springframework.cache.ehcache.EhCacheManagerFactoryBean cacheFactoryBean()
throws MalformedURLException
MalformedURLException@Bean public org.springframework.cache.CacheManager cacheManager()
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2021. All rights reserved.