ca.mcgill.sel.aspectoptimaomtt.interfacing
Annotation Type AutoOMTTransactedClass
@Target(value=TYPE)
@Documented
@Retention(value=RUNTIME)
public @interface AutoOMTTransactedClass
Marks a class as AutoOMTTransacted 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 @OMTTransactableClass gets added
automatically. All methods of a class that is marked with this annotation are
automatically annotated with @OMTTransactableMethod using the corresponding
parameter values.
concurrencyControl
public abstract ConcurrencyControl concurrencyControl
nested
public abstract boolean nested
updateStrategy
public abstract UpdateStrategy updateStrategy