Class CaldavApplication

java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
io.meeds.spring.kernel.PortalApplicationContextInitializer
org.exoplatform.caldav.CaldavApplication
All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer

@SpringBootApplication(scanBasePackages={"org.exoplatform.caldav","io.meeds.spring.kernel","io.meeds.spring.jpa","io.meeds.spring.liquibase","io.meeds.spring.web"}) @EnableJpaRepositories(basePackages="org.exoplatform.caldav") @PropertySource("classpath:application.properties") @PropertySource("classpath:application-common.properties") @PropertySource("classpath:caldav.properties") public class CaldavApplication extends io.meeds.spring.kernel.PortalApplicationContextInitializer
Spring Boot bootstrap of the CalDAV add-on webapp. Extending PortalApplicationContextInitializer registers this WAR's Spring context with the eXo Kernel before the portal container boots, so that the beans of this add-on and of the platform are mutually injectable. The pre-existing kernel components of the add-on (the JAX-RS resource, the per-user settings storage and service) stay kernel-configured and coexist with the Spring beans through the bridge, exactly as in email-connector.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Base package of the add-on, used both as the Spring component scan root and as the base package of its JPA repositories.

    Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class io.meeds.spring.kernel.PortalApplicationContextInitializer

    createSpringApplicationBuilder, isAsync, onStartup

    Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

    configure, createRootApplicationContext, deregisterJdbcDrivers, run, setRegisterErrorPageFilter, shutDownSharedReactorSchedulers

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MODULE_NAME

      public static final String MODULE_NAME
      Base package of the add-on, used both as the Spring component scan root and as the base package of its JPA repositories.
      See Also:
  • Constructor Details

    • CaldavApplication

      public CaldavApplication()