Annotation Type Rollback
-
@InterceptorBinding @Retention(RUNTIME) @Target(METHOD) public @interface Rollback
When a SRA rolls back any bean resource classes that were invoked in its context will be notified by calling methods marked with this Rollback annotation. If a resource class contains multiple Rollback annotations an arbitrary one is chosen. The annotation can be combined withTimeLimitannotation to limit the time that the participant remains valid, after which the corresponding @Rollback method will be called.