|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.grails.support.NullPersistentContextInterceptor
public class NullPersistentContextInterceptor
A dummy persistence context interceptor that does nothing.
| Constructor Summary | |
|---|---|
NullPersistentContextInterceptor()
|
|
| Method Summary | |
|---|---|
void |
clear()
Clear any pending changes |
void |
destroy()
Called to finalize the persistent context |
void |
disconnect()
Disconnects the persistence context |
void |
flush()
Flushes any pending changes to the DB |
void |
init()
Called to intialisation the persistent context |
boolean |
isOpen()
Checks whether the persistence context is open |
void |
reconnect()
Reconnects the persistence context |
void |
setReadOnly()
Sets the persistence context to read-only mode |
void |
setReadWrite()
Sets the persistence context to read-write mode |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullPersistentContextInterceptor()
| Method Detail |
|---|
public void init()
PersistenceContextInterceptor
init in interface PersistenceContextInterceptorpublic void destroy()
PersistenceContextInterceptor
destroy in interface PersistenceContextInterceptorpublic void disconnect()
PersistenceContextInterceptor
disconnect in interface PersistenceContextInterceptorpublic void reconnect()
PersistenceContextInterceptor
reconnect in interface PersistenceContextInterceptorpublic void flush()
PersistenceContextInterceptor
flush in interface PersistenceContextInterceptorpublic void clear()
PersistenceContextInterceptor
clear in interface PersistenceContextInterceptorpublic void setReadOnly()
PersistenceContextInterceptor
setReadOnly in interface PersistenceContextInterceptorpublic void setReadWrite()
PersistenceContextInterceptor
setReadWrite in interface PersistenceContextInterceptorpublic boolean isOpen()
PersistenceContextInterceptor
isOpen in interface PersistenceContextInterceptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||