spring-framework / org.springframework.jdbc.datasource.lookup / JndiDataSourceLookup

JndiDataSourceLookup

open class JndiDataSourceLookup : JndiLocatorSupport, DataSourceLookup

JNDI-based DataSourceLookup implementation.

For specific JNDI configuration, it is recommended to configure the "jndiEnvironment"/"jndiTemplate" properties.

Author
Costin Leau

Author
Juergen Hoeller

Since
2.0

See Also
#setJndiEnvironment#setJndiTemplate

Constructors

<init>

JndiDataSourceLookup()

Functions

getDataSource

open fun getDataSource(dataSourceName: String): DataSource