public abstract class DataSourceDefinition extends Object
Constructor and Description |
---|
DataSourceDefinition() |
Modifier and Type | Method and Description |
---|---|
protected void |
ds(Properties props,
DefaultSyndesisDataSource scd,
String key,
String value) |
abstract Properties |
getInternalTeiidDataSourceProperties(DefaultSyndesisDataSource source)
Given the service specific properties to engine specific properties.
|
abstract String |
getPomDendencies() |
abstract Properties |
getPublishedImageDataSourceProperties(DefaultSyndesisDataSource datasource)
Given the connection properties from the Syndesis secrets generate Spring Boot
configuration file to configure the data source
|
abstract String |
getTranslatorName()
Returns the matching translator type
|
abstract String |
getType()
Returns the type of the database.
|
boolean |
isResouceAdapter()
Returns true if the data source type is a resource adapter, otherwise false.
|
boolean |
isTypeOf(Map<String,String> properties)
Check to see if the properties given match to the Data Source definition, using which
connection can be made.
|
protected Properties |
setupResourceAdapter(String dsName,
String moduleName,
String className,
String jndiName) |
public abstract String getType()
public abstract String getPomDendencies()
public abstract String getTranslatorName()
public boolean isTypeOf(Map<String,String> properties)
properties
- public abstract Properties getInternalTeiidDataSourceProperties(DefaultSyndesisDataSource source)
properties
- public abstract Properties getPublishedImageDataSourceProperties(DefaultSyndesisDataSource datasource)
datasource
- data source detailspublic boolean isResouceAdapter()
protected void ds(Properties props, DefaultSyndesisDataSource scd, String key, String value)
protected Properties setupResourceAdapter(String dsName, String moduleName, String className, String jndiName)
Copyright © 2013–2019. All rights reserved.