}
@Override
public TransactionAttributeType getTransactionAttribute()
{
TransactionAttribute tx = (TransactionAttribute) getAdvisor().resolveAnnotation(TransactionAttribute.class);
TransactionAttributeType value = TransactionAttributeType.REQUIRED;
if (tx != null && tx.value() != null)
{
value = tx.value();
}
// Note that the container must start a new transaction if the REQUIRED (Required) transaction
// attribute is used. This guarantees, for example, that the transactional behavior of the PostConstruct
// method is the same regardless of whether it is initialized eagerly at container startup time or as a side