[ 
https://issues.apache.org/jira/browse/TUSCANY-3952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Simon Laws closed TUSCANY-3952.
-------------------------------

    Resolution: Fixed

Fix committed at r1175722

> TransactionInterceptor ignores passed in phase
> ----------------------------------------------
>
>                 Key: TUSCANY-3952
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3952
>             Project: Tuscany
>          Issue Type: Bug
>    Affects Versions: Java-SCA-2.0
>         Environment: All
>            Reporter: Simon Laws
>            Assignee: Simon Laws
>             Fix For: Java-SCA-2.0
>
>
> 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;
>     }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to