@Configuration @Import(value=ratpack.spring.config.internal.ChainConfigurers.class) @EnableConfigurationProperties(value=RatpackProperties.class) public class RatpackConfiguration extends java.lang.Object implements org.springframework.boot.CommandLineRunner, org.springframework.beans.factory.DisposableBean
Modifier and Type | Class and Description |
---|---|
protected static class |
RatpackConfiguration.ServerConfigConfiguration |
protected static class |
RatpackConfiguration.ServerConfiguration |
Constructor and Description |
---|
RatpackConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
run(java.lang.String... args) |
void |
stop()
Deprecated.
since 1.6.0. Use
destroy() instead |
public void run(java.lang.String... args) throws java.lang.Exception
run
in interface org.springframework.boot.CommandLineRunner
java.lang.Exception
@Deprecated public void stop() throws java.lang.Exception
destroy()
insteadjava.lang.Exception
destroy()
public void destroy() throws java.lang.Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
java.lang.Exception