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 class
RatpackConfiguration.ServerConfigConfiguration
protected static class
RatpackConfiguration.ServerConfiguration
-
Constructor Summary
Constructors Constructor Description RatpackConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
destroy()
void
run(java.lang.String... args)
void
stop()
Deprecated.since 1.6.0.
-
-
-
Method Detail
-
run
public void run(java.lang.String... args) throws java.lang.Exception
- Specified by:
run
in interfaceorg.springframework.boot.CommandLineRunner
- Throws:
java.lang.Exception
-
stop
@Deprecated public void stop() throws java.lang.Exception
Deprecated.since 1.6.0. Usedestroy()
instead- Throws:
java.lang.Exception
- See Also:
destroy()
-
destroy
public void destroy() throws java.lang.Exception
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
-
-