public class JndiDataSourceResolver extends Object implements DataSourceResolver
DataSourceResolver
that looks up
a data source using JNDI.Constructor and Description |
---|
JndiDataSourceResolver()
Public constructor, required for plugin instantiation.
|
Modifier and Type | Method and Description |
---|---|
DataSource |
lookup(String dataSourceName)
Converts a data source name to a JDBC data source object.
|
public JndiDataSourceResolver()
public DataSource lookup(String dataSourceName) throws NamingException
DataSourceResolver
lookup
in interface DataSourceResolver
dataSourceName
- Data source nameNamingException
Copyright © 2018 Hitachi Vantara. All rights reserved.