org.apache.tuscany.sca.policy.transaction
Class TransactionReferencePolicyProvider

java.lang.Object
  extended by org.apache.tuscany.sca.policy.transaction.TransactionReferencePolicyProvider
All Implemented Interfaces:
PolicyProvider

public class TransactionReferencePolicyProvider
extends java.lang.Object
implements PolicyProvider


Constructor Summary
TransactionReferencePolicyProvider(TransactionManagerHelper helper, PolicySetAttachPoint attachPoint)
           
 
Method Summary
 Interceptor createInterceptor(Operation operation)
          Create an interceptor for a given operation
 java.lang.String getPhase()
          Get the phase that the interceptor should be added
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionReferencePolicyProvider

public TransactionReferencePolicyProvider(TransactionManagerHelper helper,
                                          PolicySetAttachPoint attachPoint)
Method Detail

createInterceptor

public Interceptor createInterceptor(Operation operation)
Description copied from interface: PolicyProvider
Create an interceptor for a given operation

Specified by:
createInterceptor in interface PolicyProvider
Returns:
An interceptor that realize the policySet

getPhase

public java.lang.String getPhase()
Description copied from interface: PolicyProvider
Get the phase that the interceptor should be added

Specified by:
getPhase in interface PolicyProvider
Returns:
The phase that this interceptor belongs to