@Configuration
@EnableWebMvc
@ComponentScan(basePackages="org.openecomp")
@PropertySource(value="${container.classpath:}/WEB-INF/conf/app/test.properties",
ignoreResourceNotFound=true)
@Profile(value="src")
@EnableAsync
@EnableScheduling
public class ExternalAppConfig
extends org.openecomp.portalsdk.core.conf.AppConfig
implements org.openecomp.portalsdk.core.conf.Configurable
Constructor and Description |
---|
ExternalAppConfig() |
Modifier and Type | Method and Description |
---|---|
void |
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
Adds request interceptors to the specified registry by calling
AppConfig.addInterceptors(InterceptorRegistry) , but excludes
certain paths from the session timeout interceptor. |
void |
addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry) |
List<String> |
addTileDefinitions()
Creates a new list with a single entry that is the external app
definitions.xml path.
|
org.openecomp.portalsdk.core.objectcache.AbstractCacheManager |
cacheManager()
Creates and returns a new instance of a
CacheManager class. |
org.openecomp.portalsdk.core.service.DataAccessService |
dataAccessService() |
org.springframework.jdbc.datasource.init.DatabasePopulator |
databasePopulator()
Database populator.
|
org.springframework.jdbc.datasource.init.DataSourceInitializer |
dataSourceInitializer(DataSource dataSource)
Data source initializer.
|
org.openecomp.portalsdk.core.auth.LoginStrategy |
loginStrategy()
Creates the LoginStrategy
|
org.springframework.scheduling.quartz.SchedulerFactoryBean |
schedulerFactoryBean()
Creates and returns a new instance of a
SchedulerFactoryBean and
populates it with triggers. |
void |
setSchedulerRegistryAdapter(RegistryAdapter schedulerRegistryAdapter)
Sets the scheduler registry adapter.
|
org.springframework.web.servlet.ViewResolver |
viewResolver()
View resolver.
|
appUtils, dataSource, getExcludeUrlPathsForSessionTimeout, menuBuilder, resourceInterceptor, setApplicationContext, setExcludeUrlPathsForSessionTimeout, systemProperties, tileDefinitions, tilesConfigurer, tileViewResolver, userUtil
addArgumentResolvers, addCorsMappings, addFormatters, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
public org.springframework.web.servlet.ViewResolver viewResolver()
viewResolver
in interface org.openecomp.portalsdk.core.conf.Configurable
viewResolver
in class org.openecomp.portalsdk.core.conf.AppConfig
AppConfig.viewResolver()
public void addResourceHandlers(org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry registry)
addResourceHandlers
in interface org.openecomp.portalsdk.core.conf.Configurable
addResourceHandlers
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addResourceHandlers
in class org.openecomp.portalsdk.core.conf.AppConfig
registry
- AppConfig.addResourceHandlers(ResourceHandlerRegistry)
public org.openecomp.portalsdk.core.service.DataAccessService dataAccessService()
dataAccessService
in interface org.openecomp.portalsdk.core.conf.Configurable
dataAccessService
in class org.openecomp.portalsdk.core.conf.AppConfig
AppConfig.dataAccessService()
public List<String> addTileDefinitions()
addTileDefinitions
in interface org.openecomp.portalsdk.core.conf.Configurable
addTileDefinitions
in class org.openecomp.portalsdk.core.conf.AppConfig
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
AppConfig.addInterceptors(InterceptorRegistry)
, but excludes
certain paths from the session timeout interceptor.addInterceptors
in interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addInterceptors
in class org.openecomp.portalsdk.core.conf.AppConfig
@Bean public org.openecomp.portalsdk.core.objectcache.AbstractCacheManager cacheManager()
CacheManager
class.CacheManager
public org.springframework.scheduling.quartz.SchedulerFactoryBean schedulerFactoryBean() throws Exception
SchedulerFactoryBean
and
populates it with triggers.SchedulerFactoryBean
Exception
@Bean public org.springframework.jdbc.datasource.init.DataSourceInitializer dataSourceInitializer(DataSource dataSource)
dataSource
- the data sourcepublic org.springframework.jdbc.datasource.init.DatabasePopulator databasePopulator()
@Autowired public void setSchedulerRegistryAdapter(RegistryAdapter schedulerRegistryAdapter)
schedulerRegistryAdapter
- @Bean public org.openecomp.portalsdk.core.auth.LoginStrategy loginStrategy()
Copyright © 2017. All rights reserved.