Class DomibusConnectorClientWAR

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

    @SpringBootApplication(scanBasePackages="eu.domibus.connector.client")
    @EnableScheduling
    @EnableTransactionManagement
    @PropertySource("classpath:/default-connector-client.properties")
    public class DomibusConnectorClientWAR
    extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
    • Constructor Detail

      • DomibusConnectorClientWAR

        public DomibusConnectorClientWAR()
    • Method Detail

      • configureApplicationContext

        public org.springframework.boot.builder.SpringApplicationBuilder configureApplicationContext​(org.springframework.boot.builder.SpringApplicationBuilder application)
      • getConnectorConfigFileSystemProperty

        @Nullable
        public static String getConnectorConfigFileSystemProperty()
      • 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
      • loadConnectorConfigProperties

        public static Properties loadConnectorConfigProperties​(String connectorConfigFile)
      • onStartup

        public void onStartup​(javax.servlet.ServletContext servletContext)
                       throws javax.servlet.ServletException
        Will only be called if the Application is deployed within an web application server adds to the boostrap and spring config location search path a web application context dependent search path: app deployed under context /connector will look also for config under [workingpath]/config/[webcontext]/, [workingpath]/conf/[webcontext]/
        Specified by:
        onStartup in interface org.springframework.web.WebApplicationInitializer
        Overrides:
        onStartup in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
        Parameters:
        servletContext - the servlet context
        Throws:
        javax.servlet.ServletException - in case of an error @see SpringBootServletInitializer.onStartup(ServletContext)