final class JdbcTemplateFactoryImpl extends java.lang.Object implements JdbcTemplateFactory
Modifier and Type | Field and Description |
---|---|
private DataSourceLookup |
dataSourceLookup |
Constructor and Description |
---|
JdbcTemplateFactoryImpl(DataSourceLookup dataSourceLookup) |
Modifier and Type | Method and Description |
---|---|
org.springframework.jdbc.core.JdbcTemplate |
create(java.lang.String dsName) |
org.springframework.jdbc.core.JdbcTemplate |
createMasterOnly(java.lang.String dsName) |
private final DataSourceLookup dataSourceLookup
@Inject public JdbcTemplateFactoryImpl(DataSourceLookup dataSourceLookup)
public org.springframework.jdbc.core.JdbcTemplate create(java.lang.String dsName)
create
in interface JdbcTemplateFactory
public org.springframework.jdbc.core.JdbcTemplate createMasterOnly(java.lang.String dsName)
createMasterOnly
in interface JdbcTemplateFactory