org.sonar.jpa.session
Class ThreadLocalDatabaseSessionFactory
java.lang.Object
org.sonar.jpa.session.ThreadLocalDatabaseSessionFactory
- All Implemented Interfaces:
- DatabaseSessionFactory
public class ThreadLocalDatabaseSessionFactory
- extends Object
- implements DatabaseSessionFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadLocalDatabaseSessionFactory
public ThreadLocalDatabaseSessionFactory(DatabaseConnector connector)
getSession
public DatabaseSession getSession()
- Specified by:
getSession
in interface DatabaseSessionFactory
clear
public void clear()
- Specified by:
clear
in interface DatabaseSessionFactory
stop
public void stop()
Copyright © 2009-2010 SonarSource. All Rights Reserved.