|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.spi.config.ds.JndiDataSourceProxy
public final class JndiDataSourceProxy
An implementation using JNDI.
Constructor Summary | |
---|---|
JndiDataSourceProxy(String mappedName) Default constructor. |
Method Summary | |
---|---|
DataSource |
getDataSource() Provides access to the data source. |
String |
getDataSourceId() Returns the identifier of the data source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JndiDataSourceProxy(String mappedName) throws NamingException
mappedName
- the JNDI name to access the data source.
NamingException
- if the data source cannot be fetched by the given name.
Method Detail |
---|
public String getDataSourceId()
DataSourceProxy
getDataSourceId
in interface
DataSourceProxy
public DataSource getDataSource()
DataSourceProxy
getDataSource
in interface
DataSourceProxy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |