Annotation Type CompensationScoped


  • @Retention(RUNTIME)
    @Target({TYPE,METHOD,FIELD})
    @NormalScope(passivating=true)
    public @interface CompensationScoped
    Annotation used to indicate a bean is to be scoped to the current active compensation-based transaction.

    Note: There is currently a bug that prevents this scope from working in implementations of:

    org.jboss.narayana.compensations.api.CompensationHandler org.jboss.narayana.compensations.api.ConfirmationHandler org.jboss.narayana.compensations.api.TransactionLoggedHandler

    See here for more details: https://issues.jboss.org/browse/JBTM-1711