@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.h2.server.web.WebServlet.class) @ConditionalOnProperty(prefix="spring.h2.console", name="enabled", havingValue="true", matchIfMissing=false) @EnableConfigurationProperties(value=H2ConsoleProperties.class) public class H2ConsoleAutoConfiguration extends Object
Auto-configuration
for H2's web console.Constructor and Description |
---|
H2ConsoleAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
ServletRegistrationBean<org.h2.server.web.WebServlet> |
h2Console(H2ConsoleProperties properties) |
@Bean public ServletRegistrationBean<org.h2.server.web.WebServlet> h2Console(H2ConsoleProperties properties)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.