Package com.evolveum.midpoint.web.boot
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}) @EnableScheduling public class MidPointSpringApplication extends AbstractSpringBootApplication
Created by Viliam Repan (lazyman). Modified by Lukas Skublik.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
MidPointSpringApplication.ServerCustomization
-
Constructor Summary
Constructors Constructor Description MidPointSpringApplication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.boot.builder.SpringApplicationBuilder
configure(org.springframework.boot.builder.SpringApplicationBuilder application)
void
invalidExpiredSessions()
static void
main(String[] args)
org.springframework.scheduling.TaskScheduler
taskScheduler()
-
Methods inherited from class com.evolveum.midpoint.web.boot.AbstractSpringBootApplication
errorPageRegistrar, midPointProfilingServletFilter, requestContextListener, springSecurityFilterChain, wicket
-
-
-
-
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 classorg.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()
-
-