@Configuration(proxyBeanMethods=false) @ConditionalOnClass(value=org.h2.tools.Server.class) @ConditionalOnProperty(name="spring.dataflow.embedded.database.enabled", havingValue="true", matchIfMissing=true) @ConditionalOnExpression(value="\'${spring.datasource.url:#{null}}\'.startsWith(\'jdbc:h2:tcp://localhost:\')") public class H2ServerConfiguration extends Object
Constructor and Description |
---|
H2ServerConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.dataflow.server.config.H2ServerConfiguration.H2ServerBeanFactoryPostProcessor |
h2ServerBeanFactoryPostProcessor() |
org.h2.tools.Server |
h2TcpServer(String dataSourceUrl) |
@Bean public org.springframework.cloud.dataflow.server.config.H2ServerConfiguration.H2ServerBeanFactoryPostProcessor h2ServerBeanFactoryPostProcessor()
@Bean(destroyMethod="stop") public org.h2.tools.Server h2TcpServer(@Value(value="${spring.datasource.url}") String dataSourceUrl)
Copyright © 2024 Pivotal Software, Inc.. All rights reserved.