@@ -1525,7 +1525,7 @@ programming arrangements as the following listing shows:
1525
1525
1526
1526
Note that there are special considerations for the returned `Publisher` with regards to
1527
1527
Reactive Streams cancellation signals. See the <<tx-prog-operator-cancel>> section under
1528
- "Using the TransactionOperator " for more details.
1528
+ "Using the TransactionalOperator " for more details.
1529
1529
1530
1530
1531
1531
[[transaction-declarative-annotations-method-visibility]]
@@ -2479,32 +2479,32 @@ different settings (for example, a different isolation level), you need to creat
2479
2479
two distinct `TransactionTemplate` instances.
2480
2480
2481
2481
[[tx-prog-operator]]
2482
- ==== Using the `TransactionOperator `
2482
+ ==== Using the `TransactionalOperator `
2483
2483
2484
- The `TransactionOperator ` follows an operator design that is similar to other reactive
2484
+ The `TransactionalOperator ` follows an operator design that is similar to other reactive
2485
2485
operators. It uses a callback approach (to free application code from having to do the
2486
2486
boilerplate acquisition and release transactional resources) and results in code that is
2487
2487
intention driven, in that your code focuses solely on what you want to do.
2488
2488
2489
- NOTE: As the examples that follow show, using the `TransactionOperator ` absolutely
2489
+ NOTE: As the examples that follow show, using the `TransactionalOperator ` absolutely
2490
2490
couples you to Spring's transaction infrastructure and APIs. Whether or not programmatic
2491
2491
transaction management is suitable for your development needs is a decision that you have
2492
2492
to make yourself.
2493
2493
2494
2494
Application code that must run in a transactional context and that explicitly uses
2495
- the `TransactionOperator ` resembles the next example:
2495
+ the `TransactionalOperator ` resembles the next example:
2496
2496
2497
2497
[source,java,indent=0,subs="verbatim,quotes",role="primary"]
2498
2498
.Java
2499
2499
----
2500
2500
public class SimpleService implements Service {
2501
2501
2502
- // single TransactionOperator shared amongst all methods in this instance
2502
+ // single TransactionalOperator shared amongst all methods in this instance
2503
2503
private final TransactionalOperator transactionalOperator;
2504
2504
2505
2505
// use constructor-injection to supply the ReactiveTransactionManager
2506
2506
public SimpleService(ReactiveTransactionManager transactionManager) {
2507
- this.transactionOperator = TransactionalOperator.create(transactionManager);
2507
+ this.transactionalOperator = TransactionalOperator.create(transactionManager);
2508
2508
}
2509
2509
2510
2510
public Mono<Object> someServiceMethod() {
0 commit comments