Class MidPointSpringApplication

java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
com.evolveum.midpoint.web.boot.AbstractSpringBootApplication
com.evolveum.midpoint.web.boot.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,CertGuiHandlerRegistry.class,MultipartFormConfiguration.class}) @EnableScheduling public class MidPointSpringApplication extends AbstractSpringBootApplication
Created by Viliam Repan (lazyman). Modified by Lukas Skublik.
  • Constructor Details

    • MidPointSpringApplication

      public MidPointSpringApplication()
  • Method Details

    • 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()