jakartaee / jakartaee/platform

Allow non-components in deployments to access the TransactionSynchronizationRegistry

Open
#839 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
230
Forks
76
Avg merge
8d 5h
Merged PRs (30d)
1

Description

As per https://jakarta.ee/specifications/transactions/2.0/apidocs/jakarta/transaction/transactionsynchronizationregistry, applications can look up the TransactionSynchronizationRegistry via java:comp/TransactionSynchronizationRegistry unless the application code that needs that is not part of an application component (e.g. in which case no access to java:comp namespace).

This is tracker for introducing a solution. Do any Jakarta EE implementations have a consistent way for non-component code to get access to the TransactionSynchronizationRegistry?

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked TransactionSynchronizationRegistry API documentation and the issue's question about non-component access to the java:comp namespace. Compare how Jakarta EE implementations expose this registry, then document a consistent solution and its specification impact; no files or tests are identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.