public interface IDataSourceFactory
Modifier and Type | Method and Description |
---|---|
DataSource |
getDataSource(String dataSourceName)
Look up a DataSource from the JNDI
|
DataSource |
getDataSource(String dataSourceName,
Properties jndiEnvironment)
Set the JNDI environment to use for JNDI lookups.
|
List<String> |
getDataSourceNames()
Return all known/registered DataSources
|
DataSource getDataSource(String dataSourceName) throws NamingException
NamingException
DataSource getDataSource(String dataSourceName, Properties jndiEnvironment) throws NamingException
Uses a Spring JndiTemplate with the given environment settings.
NamingException
JndiAccessor.setJndiTemplate(org.springframework.jndi.JndiTemplate)
Copyright © 2023 Frank!Framework. All rights reserved.