Class RatpackConfiguration

  • All Implemented Interfaces:
    org.springframework.beans.factory.DisposableBean, org.springframework.boot.CommandLineRunner

    @Configuration
    @Import(ratpack.spring.config.internal.ChainConfigurers.class)
    @EnableConfigurationProperties(RatpackProperties.class)
    public class RatpackConfiguration
    extends java.lang.Object
    implements org.springframework.boot.CommandLineRunner, org.springframework.beans.factory.DisposableBean
    • Constructor Detail

      • RatpackConfiguration

        public RatpackConfiguration()
    • Method Detail

      • run

        public void run​(java.lang.String... args)
                 throws java.lang.Exception
        Specified by:
        run in interface org.springframework.boot.CommandLineRunner
        Throws:
        java.lang.Exception
      • stop

        @Deprecated
        public void stop()
                  throws java.lang.Exception
        Deprecated.
        since 1.6.0. Use destroy() instead
        Throws:
        java.lang.Exception
        See Also:
        destroy()
      • destroy

        public void destroy()
                     throws java.lang.Exception
        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
        Throws:
        java.lang.Exception