Tuscany
  1. Tuscany
  2. TUSCANY-3952

TransactionInterceptor ignores passed in phase

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Java-SCA-2.0
    • Fix Version/s: Java-SCA-2.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      All

      Description

      TransactionInterceptor gets a phase from the reference or service provider but doesn't store it locally and hence it's not available to the InvocationChain

      public class TransactionInterceptor implements PhasedInterceptor {
      private static final Logger logger = Logger.getLogger(TransactionInterceptor.class.getName());

      private Invoker next;
      private TransactionManagerHelper helper;
      private boolean outbound;
      private TransactionPolicy interactionPolicy;
      private TransactionPolicy implementationPolicy;
      private String phase;

      public TransactionInterceptor(TransactionManagerHelper helper,
      boolean outbound,
      TransactionPolicy interactionPolicy,
      TransactionPolicy implementationPolicy,
      String phase)

      { super(); this.helper = helper; this.outbound = outbound; this.interactionPolicy = interactionPolicy; this.implementationPolicy = implementationPolicy; }

        Activity

          People

          • Assignee:
            Simon Laws
            Reporter:
            Simon Laws
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development