Package io.meeds.tenant.provisioning
Class RedisServerApplication
java.lang.Object
org.springframework.boot.web.servlet.support.SpringBootServletInitializer
io.meeds.tenant.provisioning.RedisServerApplication
- All Implemented Interfaces:
org.springframework.web.WebApplicationInitializer
@SpringBootApplication(scanBasePackages="io.meeds.tenant.provisioning")
@EnableRedisRepositories
@EnableConfigurationProperties(RedisConfigurationProperties.class)
public class RedisServerApplication
extends org.springframework.boot.web.servlet.support.SpringBootServletInitializer
-
Field Summary
Fields inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonStartup(javax.servlet.ServletContext servletContext) redis.embedded.RedisServerredisServer(RedisConfigurationProperties redisProperties) voidMethods inherited from class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
configure, createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, run, setRegisterErrorPageFilter
-
Constructor Details
-
RedisServerApplication
public RedisServerApplication()
-
-
Method Details
-
onStartup
public void onStartup(javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException - Specified by:
onStartupin interfaceorg.springframework.web.WebApplicationInitializer- Overrides:
onStartupin classorg.springframework.boot.web.servlet.support.SpringBootServletInitializer- Throws:
javax.servlet.ServletException
-
redisServer
-
stopServer
@PreDestroy public void stopServer()
-