@AutoConfiguration(after=DataSourceAutoConfiguration.class) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnClass(value=org.h2.server.web.WebServlet.class) @ConditionalOnProperty(prefix="spring.h2.console", name="enabled", havingValue="true") @EnableConfigurationProperties(value=H2ConsoleProperties.class) public class H2ConsoleAutoConfiguration extends ObjectSE
Auto-configuration
。コンストラクターと説明 |
---|
H2ConsoleAutoConfiguration() |
修飾子と型 | メソッドと説明 |
---|---|
ServletRegistrationBean<org.h2.server.web.WebServlet> | h2Console(H2ConsoleProperties properties, ObjectProvider<DataSourceSE> dataSource) |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@Bean public ServletRegistrationBean<org.h2.server.web.WebServlet> h2Console(H2ConsoleProperties properties, ObjectProvider<DataSourceSE> dataSource)