|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface PersistenceContextInterceptor
Sets up the persistent context before and after a Grails operation is invoked.
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. |
Method Detail |
---|
public void clear()
public void destroy()
public void disconnect()
public void flush()
public void init()
public boolean isOpen()
public void reconnect()
public void setReadOnly()
public void setReadWrite()
Groovy Documentation