public final class DataflowRdbmsInitializer extends Object implements 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(ResourceLoader resourceLoader) |
public DataflowRdbmsInitializer(FeaturesProperties featuresProperties)
public void setDataSource(DataSource dataSource)
@Autowired(required=false) public void setResourceLoader(ResourceLoader resourceLoader)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.