@Configuration @ConditionalOnWebApplication @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(H2ConsoleProperties properties) |
public H2ConsoleAutoConfiguration(H2ConsoleProperties properties)
@Bean public ServletRegistrationBean h2Console()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.