Package org.umlg.sqlg.structure.ds
Class JNDIDataSource
java.lang.Object
org.umlg.sqlg.structure.ds.JNDIDataSource
- All Implemented Interfaces:
SqlgDataSource
Created by petercipov on 27/02/2017.
-
Field Summary
Fields inherited from interface org.umlg.sqlg.structure.SqlgDataSource
C3P0DataSource, SqlgHikariDataSource
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static SqlgDataSource
create
(org.apache.commons.configuration2.Configuration configuration) static boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.umlg.sqlg.structure.SqlgDataSource
isC3p0, isHikari
-
Method Details
-
isJNDIUrl
-
create
public static SqlgDataSource create(org.apache.commons.configuration2.Configuration configuration) throws NamingException, SQLException - Throws:
NamingException
SQLException
-
getDatasource
- Specified by:
getDatasource
in interfaceSqlgDataSource
-
getDialect
- Specified by:
getDialect
in interfaceSqlgDataSource
-
close
public void close()- Specified by:
close
in interfaceSqlgDataSource
-
getPoolStatsAsJson
- Specified by:
getPoolStatsAsJson
in interfaceSqlgDataSource
-