Class SiteTestContextConfiguration
java.lang.Object
org.broadleafcommerce.test.config.SiteTestContextConfiguration
@Configuration
@EnableBroadleafSiteRootAutoConfiguration
@ImportResource({"classpath:bl-applicationContext-test-security.xml","classpath:bl-applicationContext-test.xml"})
@ComponentScan({"org.broadleafcommerce.profile.web.controller","org.broadleafcommerce.profile.web.core.service.login"})
public class SiteTestContextConfiguration
extends Object
Configuration class holder for all of the configuration for scanning all Broadleaf non-servlet beans for an integration test.
This particular class can be used for composing your own context configuration but generally this class is not used directly.
Instead see
BroadleafSiteIntegrationTest which makes use of this configuration to initialize a Spring ApplicationContext- Author:
- Phillip Verheyden (phillipuniverse)
- See Also:
-
BroadleafSiteIntegrationTestEnableBroadleafSiteRootAutoConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.handler.HandlerMappingIntrospector
-
Constructor Details
-
SiteTestContextConfiguration
public SiteTestContextConfiguration()
-
-
Method Details
-
mvcHandlerMappingIntrospector
@Bean @ConditionalOnMissingBean public org.springframework.web.servlet.handler.HandlerMappingIntrospector mvcHandlerMappingIntrospector()
-