Skip to content

Commit 2c39a85

Browse files
committed
add some @links in the javadoc
1 parent 23d784f commit 2c39a85

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/synchronization/SynchronizationCallbackCoordinator.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,20 @@
77
import jakarta.transaction.Synchronization;
88

99
/**
10-
* Manages funneling JTA Synchronization callbacks back into the Hibernate transaction engine.
10+
* Funnels JTA {@link Synchronization} callbacks back into the Hibernate transaction engine.
1111
*
1212
* @author Steve Ebersole
1313
*/
1414
public interface SynchronizationCallbackCoordinator extends Synchronization {
1515
/**
16-
* Called by the TransactionCoordinator when it registers the Synchronization with the JTA system
16+
* Called by the JTA {@link org.hibernate.resource.transaction.spi.TransactionCoordinator}
17+
* when it registers the {@code Synchronization} with the JTA system.
1718
*/
1819
void synchronizationRegistered();
1920

2021
/**
21-
* Called by the TransactionCoordinator to allow the SynchronizationCallbackCoordinator to process any
22-
* after-completion handling that it may have delayed due to thread affinity
22+
* Called by the session to allow this {@link SynchronizationCallbackCoordinator} to
23+
* process any after completion handling that it has delayed due to thread affinity.
2324
*/
2425
void processAnyDelayedAfterCompletion();
2526
}

hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/synchronization/SynchronizationCallbackCoordinatorTrackingImpl.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
import static org.hibernate.resource.transaction.backend.jta.internal.JtaLogging.JTA_LOGGER;
1212

1313
/**
14-
* Extension of SynchronizationCallbackCoordinatorNonTrackingImpl that adds checking of whether a rollback comes from
15-
* a thread other than the application thread (thread used to register the Synchronization)
14+
* Extension of {@link SynchronizationCallbackCoordinatorNonTrackingImpl} that adds
15+
* checking of whether a rollback comes from a thread other than the application
16+
* thread (thread used to register the {@code Synchronization})
1617
*
1718
* @author Steve Ebersole
1819
* @author Brett Meyer

hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/TransactionCoordinatorBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public interface TransactionCoordinatorBuilder extends Service {
2525
interface Options {
2626
/**
2727
* Indicates whether an active transaction should be automatically joined. Only relevant
28-
* for JTA-based TransactionCoordinator instances.
28+
* for JTA-based {@link TransactionCoordinator} instances.
2929
*
3030
* @return {@code true} indicates the active transaction should be auto joined; {@code false}
3131
* indicates it should not (until {@link TransactionCoordinator#explicitJoin} is called).

0 commit comments

Comments
 (0)