Class STBaseServiceConfiguration
java.lang.Object
org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
it.uniroma2.art.semanticturkey.spring.STBaseServiceConfiguration
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
@Configuration
@ComponentScan(basePackageClasses=IntrospectableController.class)
@EnableTransactionManagement(proxyTargetClass=true)
@EnableMethodSecurity
@EnableAspectJAutoProxy(proxyTargetClass=true)
@EnableWebSecurity
public class STBaseServiceConfiguration
extends org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.beans.factory.config.ConfigurableBeanFactory
protected ExtensionPointManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptors
(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) handlerInterceptors
(org.springframework.format.support.FormattingConversionService mvcConversionService, org.springframework.web.servlet.resource.ResourceUrlProvider mvcResourceUrlProvider) static HistoryMetadataPostProcessor
historyMetadataPostProcessor
(STServiceContext stServiceContext) org.springframework.web.servlet.i18n.CookieLocaleResolver
org.springframework.context.support.ResourceBundleMessageSource
static org.springframework.validation.beanvalidation.MethodValidationPostProcessor
methodValidationPostProcessor
(org.springframework.context.ApplicationContext applicationContext) org.springframework.web.multipart.support.StandardServletMultipartResolver
rejectedTermsBlacklistingPostProcessor
(STServiceContext stServiceContext) requestMappingHandlerAdapterPostProcessor
(org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory, STServiceContext stServiceContext) resourceLifecycleEventPublisherPostProcessor
(STServiceContext stServiceContext, org.springframework.context.ApplicationContext applicationContext) schemesOwnershipPostProcessor
(STServiceContext stServiceContext) static SearchUpdatePostProcessor
searchUpdatePostProcessor
(STServiceContext stServiceContext, ExtensionPointManager exptManager) org.springframework.security.core.session.SessionRegistry
org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
org.springframework.web.servlet.view.InternalResourceViewResolver
writabilityCheckerPostProcessor
(STServiceContext stServiceContext) Methods inherited from class org.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
addArgumentResolvers, addCorsMappings, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator, setConfigurers
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, beanNameHandlerMapping, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, defaultServletHandlerMapping, flashMapManager, getApplicationContext, getArgumentResolvers, getAsyncSupportConfigurer, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, handlerExceptionResolver, handlerFunctionAdapter, httpRequestHandlerAdapter, mvcContentNegotiationManager, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcPatternParser, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, routerFunctionMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, themeResolver, viewControllerHandlerMapping, viewNameTranslator
-
Field Details
-
exptMgr
-
beanFactory
@Autowired protected org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory
-
-
Constructor Details
-
STBaseServiceConfiguration
public STBaseServiceConfiguration()
-
-
Method Details
-
stServiceContext
-
sessionRepository
@Bean public org.springframework.security.core.session.SessionRegistry sessionRepository() -
transactionManager
@Bean @Scope(value="request", proxyMode=INTERFACES) public RDF4JRepositoryTransactionManagerFactoryBean transactionManager() -
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) - Overrides:
addInterceptors
in classorg.springframework.web.servlet.config.annotation.DelegatingWebMvcConfiguration
-
handlerInterceptors
@Bean public STBaseServiceConfiguration.HandlerInterceptors handlerInterceptors(org.springframework.format.support.FormattingConversionService mvcConversionService, org.springframework.web.servlet.resource.ResourceUrlProvider mvcResourceUrlProvider) -
messageSource
@Bean public org.springframework.context.support.ResourceBundleMessageSource messageSource() -
localeResolver
@Bean public org.springframework.web.servlet.i18n.CookieLocaleResolver localeResolver()- Overrides:
localeResolver
in classorg.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
validatorFactory
@Bean public org.springframework.validation.beanvalidation.LocalValidatorFactoryBean validatorFactory() -
viewResolver
@Bean public org.springframework.web.servlet.view.InternalResourceViewResolver viewResolver() -
writabilityCheckerPostProcessor
@Bean public static WritabilityCheckerPostProcessor writabilityCheckerPostProcessor(@Lazy STServiceContext stServiceContext) -
schemesOwnershipPostProcessor
@Bean public static SchemesOwnershipPostProcessor schemesOwnershipPostProcessor(@Lazy STServiceContext stServiceContext) -
historyMetadataPostProcessor
@Bean public static HistoryMetadataPostProcessor historyMetadataPostProcessor(@Lazy STServiceContext stServiceContext) -
resourceLifecycleEventPublisherPostProcessor
@Bean public static ResourceLifecycleEventPublisherPostProcessor resourceLifecycleEventPublisherPostProcessor(@Lazy STServiceContext stServiceContext, @Lazy org.springframework.context.ApplicationContext applicationContext) -
rejectedTermsBlacklistingPostProcessor
@Bean public static RejectedTermsBlacklistingPostProcessor rejectedTermsBlacklistingPostProcessor(@Lazy STServiceContext stServiceContext) -
searchUpdatePostProcessor
@Bean public static SearchUpdatePostProcessor searchUpdatePostProcessor(@Lazy STServiceContext stServiceContext, @Lazy ExtensionPointManager exptManager) -
methodValidationPostProcessor
@Bean public static org.springframework.validation.beanvalidation.MethodValidationPostProcessor methodValidationPostProcessor(@Lazy org.springframework.context.ApplicationContext applicationContext) -
requestMappingHandlerAdapterPostProcessor
@Bean public static RequestMappingHandlerAdapterPostProcessor requestMappingHandlerAdapterPostProcessor(@Lazy org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory, @Lazy STServiceContext stServiceContext) -
stServiceAspect
-
multipartResolver
@Bean public org.springframework.web.multipart.support.StandardServletMultipartResolver multipartResolver()
-