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 java.lang.Object
- implements org.codehaus.groovy.grails.support.PersistenceContextInterceptor
- Since:
- 1.0
|
Field Summary |
protected org.grails.datastore.mapping.core.Datastore |
datastore
|
protected boolean |
participate
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
datastore
protected org.grails.datastore.mapping.core.Datastore datastore
participate
protected boolean participate
DatastorePersistenceContextInterceptor
public DatastorePersistenceContextInterceptor(org.grails.datastore.mapping.core.Datastore datastore)
init
public void init()
- Specified by:
init in interface org.codehaus.groovy.grails.support.PersistenceContextInterceptor
getSession
protected org.grails.datastore.mapping.core.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