Package com.arjuna.ats.jts.common
Class InterceptorInfo
java.lang.Object
com.arjuna.ats.jts.common.InterceptorInfo
Runtime configuration information for the interceptors.
- Author:
- Kevin Conner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Get the flag indicating whether a transaction context should always be propagated.static boolean
Get the flag indicating whether a transaction context is required.
-
Constructor Details
-
InterceptorInfo
public InterceptorInfo()
-
-
Method Details
-
getNeedTranContext
public static boolean getNeedTranContext()Get the flag indicating whether a transaction context is required.- Returns:
- true if a context is required, false otherwise.
-
getAlwaysPropagate
public static boolean getAlwaysPropagate()Get the flag indicating whether a transaction context should always be propagated.- Returns:
- true if a context is alwats propagated, false if it is only sent to OTS transactional objects.
-