open class SimpleTransactionScope : Scope
A simple transaction-backed Scope implementation, delegating to TransactionSynchronizationManager's resource binding mechanism.
NOTE: Like org.springframework.context.support.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 org.springframework.beans.factory.config.ConfigurableBeanFactory#registerScope or through a org.springframework.beans.factory.config.CustomScopeConfigurer bean.
Author
Juergen Hoeller
Since
4.2
See Also
org.springframework.context.support.SimpleThreadScopeorg.springframework.beans.factory.config.ConfigurableBeanFactory#registerScopeorg.springframework.beans.factory.config.CustomScopeConfigurer
SimpleTransactionScope()
A simple transaction-backed Scope implementation, delegating to TransactionSynchronizationManager's resource binding mechanism. NOTE: Like org.springframework.context.support.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 |
open fun get(name: String, objectFactory: ObjectFactory<*>): Any |
|
open fun getConversationId(): String |
|
open fun registerDestructionCallback(name: String, callback: Runnable): Unit |
|
open fun remove(name: String): Any |
|
open fun resolveContextualObject(key: String): Any |