Groovy Documentation

simplejpa.transaction
[Groovy] Annotation Type Transaction

java.lang.Object
  simplejpa.transaction.Transaction

@Retention(RetentionPolicy.SOURCE)
@Target([ElementType.TYPE, ElementType.METHOD, ElementType.FIELD])
@GroovyASTTransformationClass("simplejpa.transaction.TransactionTransformation")
@interface Transaction

Nested Class Summary
enum Transaction.Policy

 
Method Summary
boolean newSession()

@default false

Transaction.Policy value()

@default Policy.NORMAL

Transaction valueOf(String name)

Returns the enum constant of this type with the specified name.

Transaction[] values()

Returns an array containing the constants of this enum type, in the order they are declared.

 
Methods inherited from class Object
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait
 

Method Detail

newSession

boolean newSession()
Default:
false


value

Transaction.Policy value()
Default:
Policy.NORMAL


valueOf

Transaction valueOf(String name)
Returns the enum constant of this type with the specified name.


values

Transaction[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation