Class SherlockServer
- java.lang.Object
-
- org.springframework.boot.web.servlet.support.SpringBootServletInitializer
-
- uk.ac.warwick.dcs.sherlock.launch.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
-
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)
-
-
-
Field Detail
-
engine
public static SherlockEngine engine
-
-
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 classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer
-
dataSource
@Bean @Primary @Profile("client") public javax.sql.DataSource dataSource()
-
-