org.grails.datastore.gorm.support
Class DatastorePersistenceContextInterceptor
java.lang.Object
org.grails.datastore.gorm.support.DatastorePersistenceContextInterceptor
- All Implemented Interfaces:
- org.codehaus.groovy.grails.support.PersistenceContextInterceptor
public class DatastorePersistenceContextInterceptor
- extends Object
- implements org.codehaus.groovy.grails.support.PersistenceContextInterceptor
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatastorePersistenceContextInterceptor
public DatastorePersistenceContextInterceptor(Datastore datastore)
init
public void init()
- Specified by:
init
in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
getSession
protected Session getSession()
destroy
public void destroy()
- Specified by:
destroy
in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
disconnect
public void disconnect()
- Specified by:
disconnect
in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
reconnect
public void reconnect()
- Specified by:
reconnect
in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
flush
public void flush()
- Specified by:
flush
in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
clear
public void clear()
- Specified by:
clear
in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
setReadOnly
public void setReadOnly()
- Specified by:
setReadOnly
in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
setReadWrite
public void setReadWrite()
- Specified by:
setReadWrite
in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
isOpen
public boolean isOpen()
- Specified by:
isOpen
in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor