Package ratpack.spring.config
Class RatpackConfiguration
- java.lang.Object
-
- ratpack.spring.config.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classRatpackConfiguration.ServerConfigConfigurationprotected static classRatpackConfiguration.ServerConfiguration
-
Constructor Summary
Constructors Constructor Description RatpackConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddestroy()voidrun(java.lang.String... args)voidstop()Deprecated.since 1.6.0.
-
-
-
Method Detail
-
run
public void run(java.lang.String... args) throws java.lang.Exception- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner- Throws:
java.lang.Exception
-
stop
@Deprecated public void stop() throws java.lang.ExceptionDeprecated.since 1.6.0. Usedestroy()instead- Throws:
java.lang.Exception- See Also:
destroy()
-
destroy
public void destroy() throws java.lang.Exception- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
java.lang.Exception
-
-