Class SherlockServer

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

    @SpringBootApplication
    @ComponentScan("uk.ac.warwick.dcs.sherlock.module.web")
    @ServletComponentScan("uk.ac.warwick.dcs.sherlock.module.web")
    @EnableJpaRepositories("uk.ac.warwick.dcs.sherlock.module.web")
    @EntityScan("uk.ac.warwick.dcs.sherlock.module.web")
    public class SherlockServer
    extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static SherlockEngine engine  
      • Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

        logger
    • Constructor Summary

      Constructors 
      Constructor Description
      SherlockServer()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterStartup()  
      protected org.springframework.boot.builder.SpringApplicationBuilder configure​(org.springframework.boot.builder.SpringApplicationBuilder application)  
      javax.sql.DataSource dataSource()  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer

        createRootApplicationContext, createSpringApplicationBuilder, onStartup, run, setRegisterErrorPageFilter
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SherlockServer

        public SherlockServer()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • afterStartup

        @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class)
        public void afterStartup()
      • 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
      • dataSource

        @Bean
        @Primary
        @Profile("client")
        public javax.sql.DataSource dataSource()