|
spring-jdbc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.jndi.JndiAccessor
org.springframework.jndi.JndiLocatorSupport
org.springframework.jdbc.datasource.lookup.JndiDataSourceLookup
public class JndiDataSourceLookup
JNDI-based DataSourceLookup implementation.
For specific JNDI configuration, it is recommended to configure the "jndiEnvironment"/"jndiTemplate" properties.
JndiAccessor.setJndiEnvironment(java.util.Properties),
JndiAccessor.setJndiTemplate(org.springframework.jndi.JndiTemplate)| Field Summary |
|---|
| Fields inherited from class org.springframework.jndi.JndiLocatorSupport |
|---|
CONTAINER_PREFIX |
| Fields inherited from class org.springframework.jndi.JndiAccessor |
|---|
logger |
| Constructor Summary | |
|---|---|
JndiDataSourceLookup()
|
|
| Method Summary | |
|---|---|
javax.sql.DataSource |
getDataSource(java.lang.String dataSourceName)
Retrieve the DataSource identified by the given name. |
| Methods inherited from class org.springframework.jndi.JndiLocatorSupport |
|---|
convertJndiName, isResourceRef, lookup, lookup, setResourceRef |
| Methods inherited from class org.springframework.jndi.JndiAccessor |
|---|
getJndiEnvironment, getJndiTemplate, setJndiEnvironment, setJndiTemplate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JndiDataSourceLookup()
| Method Detail |
|---|
public javax.sql.DataSource getDataSource(java.lang.String dataSourceName)
throws DataSourceLookupFailureException
DataSourceLookup
getDataSource in interface DataSourceLookupdataSourceName - the name of the DataSource
null)
DataSourceLookupFailureException - if the lookup failed
|
spring-jdbc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||