/** * Get a {@code UserTransaction} object instance which can be used to control transactions on a specific node. * * @param targetNodeName the node name (ignored) * @return the {@code UserTransaction} instance * @throws IllegalStateException if the transaction context isn't set or cannot provide a {@code UserTransaction} instance */ @Deprecated @SuppressWarnings("unused") public static UserTransaction getUserTransaction(String targetNodeName) { return RemoteTransactionContext.getInstance().getUserTransaction(); }
/** * Get a {@code UserTransaction} object instance which can be used to control transactions on a specific node. * * @param targetNodeName the node name (ignored) * @return the {@code UserTransaction} instance * @throws IllegalStateException if the transaction context isn't set or cannot provide a {@code UserTransaction} instance */ @Deprecated @SuppressWarnings("unused") public static UserTransaction getUserTransaction(String targetNodeName) { return RemoteTransactionContext.getInstance().getUserTransaction(); }
/** * Get a {@code UserTransaction} object instance which can be used to control transactions on a specific node. * * @param targetNodeName the node name (ignored) * @return the {@code UserTransaction} instance * @throws IllegalStateException if the transaction context isn't set or cannot provide a {@code UserTransaction} instance */ @Deprecated @SuppressWarnings("unused") public static UserTransaction getUserTransaction(String targetNodeName) { return RemoteTransactionContext.getInstance().getUserTransaction(); }