Class NonTransactionalDataSourceFactory
java.lang.Object
org.frankframework.jdbc.datasource.ObjectFactory<DataSource,CommonDataSource>
org.frankframework.jdbc.datasource.NonTransactionalDataSourceFactory
- All Implemented Interfaces:
IDataSourceFactory
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
DataSourceFactory
public class NonTransactionalDataSourceFactory
extends ObjectFactory<DataSource,CommonDataSource>
implements IDataSourceFactory
Factory through which NON-TRANSACTIONAL DataSources can be retrieved.
Does not use pooling, and does NOT wrap the DataSource in a TransactionAwareDataSourceProxy.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.jdbc.datasource.ObjectFactory
ObjectFactory.ObjectInfo
-
Field Summary
Fields inherited from class org.frankframework.jdbc.datasource.ObjectFactory
log
Fields inherited from interface org.frankframework.jdbc.IDataSourceFactory
DEFAULT_DATASOURCE_NAME_PROPERTY, GLOBAL_DEFAULT_DATASOURCE_NAME
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataSource
(String dataSourceName, Properties environment) Look up aDataSource
by name with optional JNDI Environment or other additional properties to be used for the lookup of the datasource.Return all known/registered DataSourcesMethods inherited from class org.frankframework.jdbc.datasource.ObjectFactory
add, afterPropertiesSet, augment, destroy, destroyObject, get, getObjectInfo, getObjectNames, postDestroy, toObjectInfo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.frankframework.jdbc.IDataSourceFactory
getDataSource
-
Constructor Details
-
NonTransactionalDataSourceFactory
public NonTransactionalDataSourceFactory()
-
-
Method Details
-
getDataSource
@Nonnull public DataSource getDataSource(@Nonnull String dataSourceName, @Nullable Properties environment) Description copied from interface:IDataSourceFactory
Look up aDataSource
by name with optional JNDI Environment or other additional properties to be used for the lookup of the datasource.- Specified by:
getDataSource
in interfaceIDataSourceFactory
- See Also:
-
getDataSourceNames
Description copied from interface:IDataSourceFactory
Return all known/registered DataSources- Specified by:
getDataSourceNames
in interfaceIDataSourceFactory
-