Package org.appng.appngizer
Class AppNGizer
- java.lang.Object
-
- org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
- org.appng.appngizer.AppNGizer
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
@Configuration @EnableTransactionManagement @EnableJpaRepositories(basePackages="org.appng.core.repository", repositoryBaseClass=SearchRepositoryImpl.class) public class AppNGizer extends org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
-
Constructor Summary
Constructors Constructor Description AppNGizer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
void
configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
static AppNGizerConfigurer
configurer(org.springframework.core.io.ResourceLoader loader)
org.springframework.context.support.ConversionServiceFactoryBean
conversionService()
CoreService
coreService()
DatabaseService
databaseService()
DataSourceFactory
datasource(AppNGizerConfigurer configurer)
org.springframework.orm.jpa.support.SharedEntityManagerBean
entityManager(javax.persistence.EntityManagerFactory emf)
org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean
entityManagerFactory(DataSource dataSource, String hibernateDialect)
Jaxb2Marshaller
jaxb2Marshaller()
LdapService
ldapService()
MarshallService
marshallService()
org.springframework.context.MessageSource
messageSource()
PlatformEventListener
platformEventListener()
TemplateService
templateService()
org.springframework.orm.jpa.JpaTransactionManager
transactionManager(javax.persistence.EntityManagerFactory emf)
-
Methods inherited from class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
addArgumentResolvers, addCorsMappings, addDefaultHandlerExceptionResolvers, addDefaultHttpMessageConverters, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, beanNameHandlerMapping, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configurePathMatch, configureViewResolvers, createExceptionHandlerExceptionResolver, createRequestMappingHandlerAdapter, createRequestMappingHandlerMapping, defaultServletHandlerMapping, extendHandlerExceptionResolvers, extendMessageConverters, flashMapManager, getApplicationContext, getArgumentResolvers, getAsyncSupportConfigurer, getConfigurableWebBindingInitializer, getCorsConfigurations, getDefaultMediaTypes, getInterceptors, getMessageCodesResolver, getMessageConverters, getPathMatchConfigurer, getReturnValueHandlers, getServletContext, getValidator, handlerExceptionResolver, handlerFunctionAdapter, httpRequestHandlerAdapter, localeResolver, mvcContentNegotiationManager, mvcConversionService, mvcHandlerMappingIntrospector, mvcPathMatcher, mvcPatternParser, mvcResourceUrlProvider, mvcUriComponentsContributor, mvcUrlPathHelper, mvcValidator, mvcViewResolver, requestMappingHandlerAdapter, requestMappingHandlerMapping, resourceHandlerMapping, routerFunctionMapping, setApplicationContext, setServletContext, simpleControllerHandlerAdapter, themeResolver, viewControllerHandlerMapping, viewNameTranslator
-
-
-
-
Method Detail
-
configureMessageConverters
public void configureMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
- Overrides:
configureMessageConverters
in classorg.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
jaxb2Marshaller
@Bean public Jaxb2Marshaller jaxb2Marshaller()
-
addInterceptors
protected void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
- Overrides:
addInterceptors
in classorg.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
-
configurer
@Bean public static AppNGizerConfigurer configurer(org.springframework.core.io.ResourceLoader loader)
-
platformEventListener
@Bean public PlatformEventListener platformEventListener()
-
transactionManager
@Bean public org.springframework.orm.jpa.JpaTransactionManager transactionManager(javax.persistence.EntityManagerFactory emf)
-
entityManager
@Bean public org.springframework.orm.jpa.support.SharedEntityManagerBean entityManager(javax.persistence.EntityManagerFactory emf)
-
entityManagerFactory
@Bean public org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean entityManagerFactory(DataSource dataSource, @Value("${hibernate.dialect}") String hibernateDialect)
-
datasource
@Bean public DataSourceFactory datasource(AppNGizerConfigurer configurer)
-
messageSource
@Bean public org.springframework.context.MessageSource messageSource()
-
marshallService
@Bean public MarshallService marshallService() throws JAXBException
- Throws:
JAXBException
-
conversionService
@Bean public org.springframework.context.support.ConversionServiceFactoryBean conversionService()
-
databaseService
@Bean public DatabaseService databaseService()
-
ldapService
@Bean public LdapService ldapService()
-
coreService
@Bean public CoreService coreService()
-
templateService
@Bean public TemplateService templateService()
-
-