59606162636465666768
} if (timeout.getValue() != null) { transaction.setTransactionTimeout(timeout.getValue()); } transaction.begin(); return Results.success("Resource Transaction started"); } }
6768697071727374757677
} if (timeout.getValue() != null) { transaction.setTransactionTimeout(timeout.getValue()); } transaction.begin(); return Results.success("Resource Transaction started"); } @Override public boolean isEnabled(ShellContext context)
5051525354555657585960
{ ResourceTransaction transaction = factory.getTransaction(); if (!transaction.isStarted()) { otherTransactionListener.disable(); transaction.begin(); otherTransactionListener.enable(); } } @Override