Package org.frankframework.jdbc
Interface IDataSourceFactory
- All Known Implementing Classes:
AbstractXADataSourceFactory
,DataSourceFactory
,NarayanaDataSourceFactory
,PoolingDataSourceFactory
public interface IDataSourceFactory
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDataSource
(String dataSourceName) Look up a DataSource from the JNDIgetDataSource
(String dataSourceName, Properties jndiEnvironment) Set the JNDI environment to use for JNDI lookups.Return all known/registered DataSources
-
Field Details
-
DEFAULT_DATASOURCE_NAME_PROPERTY
- See Also:
-
GLOBAL_DEFAULT_DATASOURCE_NAME
-
-
Method Details
-
getDataSource
Look up a DataSource from the JNDI- Throws:
IllegalStateException
-
getDataSource
DataSource getDataSource(String dataSourceName, Properties jndiEnvironment) throws IllegalStateException Set the JNDI environment to use for JNDI lookups.Uses a Spring JndiTemplate with the given environment settings.
- Throws:
IllegalStateException
- See Also:
-
JndiAccessor.setJndiTemplate(org.springframework.jndi.JndiTemplate)
-
getDataSourceNames
Return all known/registered DataSources
-