com.jpattern.orm.session.datasource
Class DataSourceSessionProvider

java.lang.Object
  extended by com.jpattern.orm.session.SessionProvider
      extended by com.jpattern.orm.session.datasource.DataSourceSessionProvider

public class DataSourceSessionProvider
extends SessionProvider

Author:
Francesco Cina 21/mag/2011

Constructor Summary
DataSourceSessionProvider(DataSource dataSource)
           
 
Method Summary
 DataSource getDataSource()
           
 SessionStrategy getSessionStrategy()
           
 
Methods inherited from class com.jpattern.orm.session.SessionProvider
getDBType, getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceSessionProvider

public DataSourceSessionProvider(DataSource dataSource)
Method Detail

getSessionStrategy

public SessionStrategy getSessionStrategy()
Specified by:
getSessionStrategy in class SessionProvider

getDataSource

public DataSource getDataSource()
Specified by:
getDataSource in class SessionProvider


Copyright © 2013. All Rights Reserved.