public final class DataflowRdbmsInitializer extends Object implements org.springframework.beans.factory.InitializingBean
DataSource
is available in the current context, and functionality is enabled
(as it is by default), this will initialize the database.
By default, initialization of the database can be disabled by configuring the property
spring.cloud.dataflow.rdbms.initialize.enable
to false.Constructor and Description |
---|
DataflowRdbmsInitializer(FeaturesProperties featuresProperties) |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
setDataSource(DataSource dataSource) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
public DataflowRdbmsInitializer(FeaturesProperties featuresProperties)
public void setDataSource(DataSource dataSource)
@Autowired(required=false) public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.