Establishes a rollback only transaction for running a test in.
Modifiers | Name | Description |
---|---|---|
protected java.util.Map<java.lang.String, org.springframework.transaction.PlatformTransactionManager> |
transactionManagers |
|
protected java.util.Map<java.lang.String, org.springframework.transaction.TransactionStatus> |
transactionStatuses |
Constructor and description |
---|
GrailsTestTransactionInterceptor
(org.springframework.context.ApplicationContext applicationContext) |
Type | Name and description |
---|---|
void |
destroy() Rolls back the current transaction. |
void |
init() Establishes a transaction. |
boolean |
isTransactional(java.lang.Object test) A test is non transactional if it defines an instance or static property name 'transactional' with a value of false . |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation