Top Description Fields Methods
org.springframework.transaction.support

public Interface ResourceTransactionDefinition

extends TransactionDefinition
Imports
org.springframework.transaction.TransactionDefinition

Extended variant of TransactionDefinition, indicating a resource transaction and in particular whether the transactional resource is ready for local optimizations.
Author
Juergen Hoeller
Since
5.1
See Also
ResourceTransactionManager

Field Summary

Inherited from org.springframework.transaction.TransactionDefinition:
ISOLATION_DEFAULTISOLATION_READ_COMMITTEDISOLATION_READ_UNCOMMITTEDISOLATION_REPEATABLE_READISOLATION_SERIALIZABLEPROPAGATION_MANDATORYPROPAGATION_NESTEDPROPAGATION_NEVERPROPAGATION_NOT_SUPPORTEDPROPAGATION_REQUIREDPROPAGATION_REQUIRES_NEWPROPAGATION_SUPPORTSTIMEOUT_DEFAULT

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the resource is known to be entirely transaction-local, not affecting any operations outside the scope of the current transaction
isLocalResource
()

Determine whether the transactional resource is ready for local optimizations.

Inherited from org.springframework.transaction.TransactionDefinition:
getIsolationLevelgetNamegetPropagationBehaviorgetTimeoutisReadOnlywithDefaults

Method Detail

isLocalResourceback to summary
public boolean isLocalResource()

Determine whether the transactional resource is ready for local optimizations.

Returns:boolean

true if the resource is known to be entirely transaction-local, not affecting any operations outside the scope of the current transaction

See Also
isReadOnly()