seata What is PROXYED_SET in GlobalTransactionScanner used for?

jtjikinw  于 22天前  发布在  其他
关注(0)|答案(3)|浏览(16)

PROXYED_SET appears in the GlobalTransactionScanner#wrapIfNecessary,what is it used for? The if branch in the following figure never seems to be accessed @slievrly

ldxq2e6h

ldxq2e6h1#

  1. Record the proxyed beans, which will be used later when check the bean's scope.
  2. The override strategy for beans with the same name was considered in the early stages.
oaxa6hgo

oaxa6hgo2#

Based on the modifications made later in the logic, it appears that this branch can indeed no longer be executed.

e5njpo68

e5njpo683#

Based on the modifications made later in the logic, it appears that this branch can indeed no longer be executed.

Thanks for the answer. Is it considered to remove PROXYED_SET related logic? Including the synchronized sync block

相关问题