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