ca.mcgill.sel.aspectoptima.interfacing
Annotation Type AutoTransactedClass
@Target(value=TYPE)
@Documented
@Retention(value=RUNTIME)
public @interface AutoTransactedClass
Marks a class as AutoTransacted for the AspectOPTIMA Framework.
The parameter updateStrategy() should provide the update strategy (i.e
UpdateStrategy.CHECKPOINTING or UpdateStrategy.DEFERRING).
The parameter concurrencyControl() should provide the concurrency control
mechanism (i.e ConcurrencyControl.TWOPHASELOCKING or
ConcurrencyControl.OPTIMISTICVALIDATION).
The syntactically equivalent annotation @TransactableClass gets added
automatically. All methods of a class that is marked with this annotation are
automatically annotated with @TransactableMethod using the corresponding
parameter values.
concurrencyControl
public abstract ConcurrencyControl concurrencyControl
nested
public abstract boolean nested
updateStrategy
public abstract UpdateStrategy updateStrategy