Class SimpleTransactionScope
java.lang.Object
org.springframework.transaction.support.SimpleTransactionScope
- All Implemented Interfaces:
org.springframework.beans.factory.config.Scope
public class SimpleTransactionScope
extends Object
implements org.springframework.beans.factory.config.Scope
A simple transaction-backed
Scope implementation, delegating to
TransactionSynchronizationManager's resource binding mechanism.
NOTE: Like SimpleThreadScope,
this transaction scope is not registered by default in common contexts. Instead,
you need to explicitly assign it to a scope key in your setup, either through
ConfigurableBeanFactory.registerScope(String, Scope)
or through a CustomScopeConfigurer bean.
- Since:
- 4.2
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Details
-
SimpleTransactionScope
public SimpleTransactionScope()
-
-
Method Details
-
get
-
remove
-
registerDestructionCallback
-
getConversationId
-