if (javaClass != null
&& SessionSynchronization.class.isAssignableFrom(javaClass)) {
_isSessionSynchronization = true;
}
TransactionAttribute xaAttr;
xaAttr = apiMethod.getAnnotation(TransactionAttribute.class);
if (xaAttr == null) {
xaAttr = apiClass.getAnnotation(TransactionAttribute.class);
}
if (xaAttr == null && implMethod != null) {
xaAttr = implMethod.getAnnotation(TransactionAttribute.class);
}
if (xaAttr == null && beanClass != null) {
xaAttr = beanClass.getAnnotation(TransactionAttribute.class);
}
if (xaAttr != null)
_transactionType = xaAttr.value();
}