com.sdl.webapp.config.TridionSpringConfiguration Maven / Gradle / Ivy
The newest version!
package com.sdl.webapp.config;
import com.sdl.web.api.dynamic.DynamicMappingsRetriever;
import com.sdl.web.api.dynamic.DynamicMappingsRetrieverImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
/**
* Tridion spring configuration.
*
* @deprecated since PCA implementation added which supports mashup scenario.
*/
@ComponentScan({"com.sdl.webapp.tridion", "com.sdl.dxa.tridion"})
@Configuration
@Deprecated
public class TridionSpringConfiguration {
@Bean
@Profile("cil.providers.active")
public DynamicMappingsRetriever dynamicMappingsRetriever() {
return new DynamicMappingsRetrieverImpl();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy