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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onStartup(javax.servlet.ServletContext servletContext)
     
    redis.embedded.RedisServer
     
    void
     

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

    configure, createRootApplicationContext, createSpringApplicationBuilder, deregisterJdbcDrivers, run, setRegisterErrorPageFilter

    Methods inherited from class java.lang.Object

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

    • RedisServerApplication

      public RedisServerApplication()
  • Method Details

    • onStartup

      public void onStartup(javax.servlet.ServletContext servletContext) throws javax.servlet.ServletException
      Specified by:
      onStartup in interface org.springframework.web.WebApplicationInitializer
      Overrides:
      onStartup in class org.springframework.boot.web.servlet.support.SpringBootServletInitializer
      Throws:
      javax.servlet.ServletException
    • redisServer

      @Bean public redis.embedded.RedisServer redisServer(RedisConfigurationProperties redisProperties)
    • stopServer

      @PreDestroy public void stopServer()