Package org.openspaces.jdbc.datasource
Class SpaceDriverManagerDataSource
java.lang.Object
org.springframework.jdbc.datasource.AbstractDataSource
org.openspaces.jdbc.datasource.SpaceDriverManagerDataSource
- All Implemented Interfaces:
Wrapper,CommonDataSource,DataSource,org.springframework.beans.factory.InitializingBean
public class SpaceDriverManagerDataSource
extends org.springframework.jdbc.datasource.AbstractDataSource
implements org.springframework.beans.factory.InitializingBean
- Author:
- kimchy
-
Field Summary
Fields inherited from class org.springframework.jdbc.datasource.AbstractDataSource
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetConnection(String username, String password) voidsetGigaSpace(GigaSpace gigaSpace) voidMethods inherited from class org.springframework.jdbc.datasource.AbstractDataSource
getLoginTimeout, getLogWriter, getParentLogger, isWrapperFor, setLoginTimeout, setLogWriter, unwrapMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilderMethods inherited from interface javax.sql.DataSource
createConnectionBuilder
-
Constructor Details
-
SpaceDriverManagerDataSource
public SpaceDriverManagerDataSource() -
SpaceDriverManagerDataSource
-
-
Method Details
-
setSpace
-
setGigaSpace
-
afterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getConnection
- Specified by:
getConnectionin interfaceDataSource- Throws:
SQLException
-
getConnection
- Specified by:
getConnectionin interfaceDataSource- Throws:
SQLException
-