Class MidPointSpringApplication

  • All Implemented Interfaces:
    org.springframework.web.WebApplicationInitializer

    @ImportResource(locations={"classpath:ctx-common.xml","classpath:ctx-configuration.xml","classpath*:ctx-repository.xml","classpath:ctx-repo-cache.xml","classpath:ctx-repo-common.xml","classpath:ctx-task.xml","classpath:ctx-provisioning.xml","classpath:ctx-ucf-connid.xml","classpath:ctx-ucf-builtin.xml","classpath:ctx-audit.xml","classpath:ctx-security.xml","classpath:ctx-security-enforcer.xml","classpath:ctx-model.xml","classpath:ctx-model-common.xml","classpath:ctx-authentication.xml","classpath:ctx-report.xml","classpath*:ctx-cases.xml","classpath*:ctx-workflow.xml","classpath*:ctx-notifications.xml","classpath:ctx-certification.xml","classpath:ctx-interceptor.xml","classpath*:ctx-overlay.xml","classpath:ctx-init.xml","classpath:ctx-webapp.xml"})
    @Profile("!test")
    @SpringBootConfiguration
    @ComponentScan(basePackages={"com.evolveum.midpoint.gui","com.evolveum.midpoint.gui.api"},
                   basePackageClasses={TextAreaPanelFactory.class,GuiComponentRegistryImpl.class})
    @EnableScheduling
    public class MidPointSpringApplication
    extends AbstractSpringBootApplication
    Created by Viliam Repan (lazyman). Modified by Lukas Skublik.
    • Constructor Detail

      • MidPointSpringApplication

        public MidPointSpringApplication()
    • Method Detail

      • main

        public static void main​(String[] args)
      • configure

        protected org.springframework.boot.builder.SpringApplicationBuilder configure​(org.springframework.boot.builder.SpringApplicationBuilder application)
        Overrides:
        configure in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
      • taskScheduler

        @Bean
        public org.springframework.scheduling.TaskScheduler taskScheduler()
      • invalidExpiredSessions

        @Scheduled(fixedDelayString="${server.tomcat.session-manager-delay:10000}",
                   initialDelayString="${server.tomcat.session-manager-delay:10000}")
        public void invalidExpiredSessions()