Class 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
    • Constructor Detail

      • AppNGizer

        public AppNGizer()
    • Method Detail

      • configureMessageConverters

        public void configureMessageConverters​(List<org.springframework.http.converter.HttpMessageConverter<?>> converters)
        Overrides:
        configureMessageConverters in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
      • addInterceptors

        protected void addInterceptors​(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry)
        Overrides:
        addInterceptors in class org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport
      • configurer

        @Bean
        public static AppNGizerConfigurer configurer​(org.springframework.core.io.ResourceLoader loader)
      • 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)
      • messageSource

        @Bean
        public org.springframework.context.MessageSource messageSource()
      • conversionService

        @Bean
        public org.springframework.context.support.ConversionServiceFactoryBean conversionService()