Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractFallbackTransactionAttributeSource - Class in org.springframework.transaction.interceptor
-
Abstract implementation of
TransactionAttributeSourcethat caches attributes for methods and implements a fallback policy: 1. - AbstractFallbackTransactionAttributeSource() - Constructor for class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
- AbstractMessageEndpoint() - Constructor for class org.springframework.jca.endpoint.AbstractMessageEndpointFactory.AbstractMessageEndpoint
- AbstractMessageEndpointFactory - Class in org.springframework.jca.endpoint
-
Abstract base implementation of the JCA 1.7
MessageEndpointFactoryinterface, providing transaction management capabilities as well as ClassLoader exposure for endpoint invocations. - AbstractMessageEndpointFactory() - Constructor for class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
- AbstractMessageEndpointFactory.AbstractMessageEndpoint - Class in org.springframework.jca.endpoint
-
Inner class for actual endpoint implementations, based on template method to allow for any kind of concrete endpoint implementation.
- AbstractPlatformTransactionManager - Class in org.springframework.transaction.support
-
Abstract base class that implements Spring's standard transaction workflow, serving as basis for concrete platform transaction managers like
JtaTransactionManager. - AbstractPlatformTransactionManager() - Constructor for class org.springframework.transaction.support.AbstractPlatformTransactionManager
- AbstractPlatformTransactionManager.SuspendedResourcesHolder - Class in org.springframework.transaction.support
-
Holder for suspended resources.
- AbstractReactiveTransactionManager - Class in org.springframework.transaction.reactive
-
Abstract base class that implements Spring's standard reactive transaction workflow, serving as basis for concrete platform transaction managers.
- AbstractReactiveTransactionManager() - Constructor for class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
- AbstractReactiveTransactionManager.SuspendedResourcesHolder - Class in org.springframework.transaction.reactive
-
Holder for suspended resources.
- AbstractTransactionManagementConfiguration - Class in org.springframework.transaction.annotation
-
Abstract base
@Configurationclass providing common structure for enabling Spring's annotation-driven transaction management capability. - AbstractTransactionManagementConfiguration() - Constructor for class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
- AbstractTransactionStatus - Class in org.springframework.transaction.support
-
Abstract base implementation of the
TransactionStatusinterface. - AbstractTransactionStatus() - Constructor for class org.springframework.transaction.support.AbstractTransactionStatus
- addCallback(TransactionalApplicationListener.SynchronizationCallback) - Method in interface org.springframework.transaction.event.TransactionalApplicationListener
-
Add a callback to be invoked on processing within transaction synchronization, i.e.
- addCallback(TransactionalApplicationListener.SynchronizationCallback) - Method in class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
- addCallback(TransactionalApplicationListener.SynchronizationCallback) - Method in class org.springframework.transaction.event.TransactionalApplicationListenerMethodAdapter
- addDefaultRollbackRule(RollbackRuleAttribute) - Method in class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
-
Add a default rollback rule, to be applied to all rule-based transaction attributes returned by this source.
- addDelegate(PersistenceExceptionTranslator) - Method in class org.springframework.dao.support.ChainedPersistenceExceptionTranslator
-
Add a PersistenceExceptionTranslator to the chained delegate list.
- addListener(TransactionExecutionListener) - Method in interface org.springframework.transaction.ConfigurableTransactionManager
-
Conveniently register the given listener for begin/commit/rollback callbacks from this transaction manager.
- addTransactionalMethod(Class<?>, String, TransactionAttribute) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
-
Add an attribute for a transactional method.
- addTransactionalMethod(Method, TransactionAttribute) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
-
Add an attribute for a transactional method.
- addTransactionalMethod(String, TransactionAttribute) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
-
Add an attribute for a transactional method.
- addTransactionalMethod(String, TransactionAttribute) - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
-
Add an attribute for a transactional method.
- AFTER_COMMIT - Enum constant in enum class org.springframework.transaction.event.TransactionPhase
-
Handle the event after the commit has completed successfully.
- AFTER_COMPLETION - Enum constant in enum class org.springframework.transaction.event.TransactionPhase
-
Handle the event after the transaction has completed.
- AFTER_ROLLBACK - Enum constant in enum class org.springframework.transaction.event.TransactionPhase
-
Handle the event if the transaction has rolled back.
- afterBegin(TransactionExecution, Throwable) - Method in interface org.springframework.transaction.TransactionExecutionListener
-
Callback after the transaction begin step.
- afterCommit() - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
- afterCommit() - Method in interface org.springframework.transaction.reactive.TransactionSynchronization
-
Invoked after transaction commit.
- afterCommit() - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
- afterCommit() - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Invoked after transaction commit.
- afterCommit() - Method in class org.springframework.transaction.support.TransactionSynchronizationAdapter
-
Deprecated.
- afterCommit(TransactionExecution, Throwable) - Method in interface org.springframework.transaction.TransactionExecutionListener
-
Callback after the transaction commit step.
- afterCompletion(int) - Method in class org.springframework.transaction.jta.JtaAfterCompletionSynchronization
- afterCompletion(int) - Method in class org.springframework.transaction.jta.SpringJtaSynchronizationAdapter
-
JTA
afterCompletioncallback: invoked after commit/rollback. - afterCompletion(int) - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
- afterCompletion(int) - Method in interface org.springframework.transaction.reactive.TransactionSynchronization
-
Invoked after transaction commit/rollback.
- afterCompletion(int) - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
- afterCompletion(int) - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Invoked after transaction commit/rollback.
- afterCompletion(int) - Method in class org.springframework.transaction.support.TransactionSynchronizationAdapter
-
Deprecated.
- afterDelivery() - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory.AbstractMessageEndpoint
-
This
afterDeliveryimplementation resets the thread context ClassLoader and completes the transaction, if any. - afterPropertiesSet() - Method in class org.springframework.dao.support.DaoSupport
- afterPropertiesSet() - Method in class org.springframework.dao.support.PersistenceExceptionTranslationInterceptor
- afterPropertiesSet() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Prepares the message endpoint, and automatically activates it if the "autoStartup" flag is set to "true".
- afterPropertiesSet() - Method in class org.springframework.jca.support.LocalConnectionFactoryBean
- afterPropertiesSet() - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
-
Builds the BootstrapContext and starts the ResourceAdapter with it.
- afterPropertiesSet() - Method in class org.springframework.transaction.config.JtaTransactionManagerFactoryBean
-
Deprecated.
- afterPropertiesSet() - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
-
Eagerly initializes the specified
"methodMap", if any. - afterPropertiesSet() - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
- afterPropertiesSet() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Check that required properties were set.
- afterPropertiesSet() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Initialize the UserTransaction as well as the TransactionManager handle.
- afterPropertiesSet() - Method in class org.springframework.transaction.support.TransactionTemplate
- afterRollback(TransactionExecution, Throwable) - Method in interface org.springframework.transaction.TransactionExecutionListener
-
Callback after the transaction rollback step.
- ALL_EXCEPTIONS - Enum constant in enum class org.springframework.transaction.annotation.RollbackOn
-
The alternative mode: rollback on all exceptions, including any checked
Exception. - allowPublicMethodsOnly() - Method in class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
-
By default, only public methods can be made transactional.
- allowPublicMethodsOnly() - Method in class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
-
Should only public methods be allowed to have transactional semantics?
- annotationDrivenTransactionManager() - Method in interface org.springframework.transaction.annotation.TransactionManagementConfigurer
-
Return the default transaction manager bean to use for annotation-driven database transaction management, i.e.
- AnnotationTransactionAttributeSource - Class in org.springframework.transaction.annotation
-
Implementation of the
TransactionAttributeSourceinterface for working with transaction metadata from annotations. - AnnotationTransactionAttributeSource() - Constructor for class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
-
Create a default AnnotationTransactionAttributeSource, supporting public methods that carry the
Transactionalannotation or the EJB3TransactionAttributeannotation. - AnnotationTransactionAttributeSource(boolean) - Constructor for class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
-
Create a custom AnnotationTransactionAttributeSource, supporting public methods that carry the
Transactionalannotation or the EJB3TransactionAttributeannotation. - AnnotationTransactionAttributeSource(TransactionAnnotationParser) - Constructor for class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
-
Create a custom AnnotationTransactionAttributeSource.
- AnnotationTransactionAttributeSource(TransactionAnnotationParser...) - Constructor for class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
-
Create a custom AnnotationTransactionAttributeSource.
- applyIsolationLevel(JtaTransactionObject, int) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Apply the given transaction isolation level.
- applyTimeout(JtaTransactionObject, int) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Apply the given transaction timeout.
B
- BeanFactoryTransactionAttributeSourceAdvisor - Class in org.springframework.transaction.interceptor
-
Advisor driven by a
TransactionAttributeSource, used to include a transaction advice bean for methods that are transactional. - BeanFactoryTransactionAttributeSourceAdvisor() - Constructor for class org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor
- BEFORE_COMMIT - Enum constant in enum class org.springframework.transaction.event.TransactionPhase
-
Handle the event before transaction commit.
- beforeBegin(TransactionExecution) - Method in interface org.springframework.transaction.TransactionExecutionListener
-
Callback before the transaction begin step.
- beforeCommit(boolean) - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
- beforeCommit(boolean) - Method in interface org.springframework.transaction.reactive.TransactionSynchronization
-
Invoked before transaction commit (before "beforeCompletion").
- beforeCommit(boolean) - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
- beforeCommit(boolean) - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Invoked before transaction commit (before "beforeCompletion").
- beforeCommit(boolean) - Method in class org.springframework.transaction.support.TransactionSynchronizationAdapter
-
Deprecated.
- beforeCommit(TransactionExecution) - Method in interface org.springframework.transaction.TransactionExecutionListener
-
Callback before the transaction commit step.
- beforeCompletion() - Method in class org.springframework.transaction.jta.JtaAfterCompletionSynchronization
- beforeCompletion() - Method in class org.springframework.transaction.jta.SpringJtaSynchronizationAdapter
-
JTA
beforeCompletioncallback: just invoked before commit. - beforeCompletion() - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
- beforeCompletion() - Method in interface org.springframework.transaction.reactive.TransactionSynchronization
-
Invoked before transaction commit/rollback.
- beforeCompletion() - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
- beforeCompletion() - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Invoked before transaction commit/rollback.
- beforeCompletion() - Method in class org.springframework.transaction.support.TransactionSynchronizationAdapter
-
Deprecated.
- beforeDelivery(Method) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory.AbstractMessageEndpoint
-
This
beforeDeliveryimplementation starts a transaction, if necessary, and exposes the endpoint ClassLoader as current thread context ClassLoader. - beforeRollback(TransactionExecution) - Method in interface org.springframework.transaction.TransactionExecutionListener
-
Callback before the transaction rollback step.
- begin() - Method in class org.springframework.transaction.jta.UserTransactionAdapter
- bindResource(Object, Object) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Bind the given resource for the given key to the current context.
- bindResource(Object, Object) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Bind the given resource for the given key to the current thread.
- buildUserTransaction(TransactionManager) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Build a UserTransaction handle based on the given TransactionManager.
C
- CallbackPreferringPlatformTransactionManager - Interface in org.springframework.transaction.support
-
Extension of the
PlatformTransactionManagerinterface, exposing a method for executing a given callback within a transaction. - CannotAcquireLockException - Exception in org.springframework.dao
-
Exception thrown on failure to acquire a lock during an update, for example during a "select for update" statement.
- CannotAcquireLockException(String) - Constructor for exception org.springframework.dao.CannotAcquireLockException
-
Constructor for CannotAcquireLockException.
- CannotAcquireLockException(String, Throwable) - Constructor for exception org.springframework.dao.CannotAcquireLockException
-
Constructor for CannotAcquireLockException.
- CannotCreateTransactionException - Exception in org.springframework.transaction
-
Exception thrown when a transaction can't be created using an underlying transaction API such as JTA.
- CannotCreateTransactionException(String) - Constructor for exception org.springframework.transaction.CannotCreateTransactionException
-
Constructor for CannotCreateTransactionException.
- CannotCreateTransactionException(String, Throwable) - Constructor for exception org.springframework.transaction.CannotCreateTransactionException
-
Constructor for CannotCreateTransactionException.
- CannotSerializeTransactionException - Exception in org.springframework.dao
-
Deprecated.
- CannotSerializeTransactionException(String) - Constructor for exception org.springframework.dao.CannotSerializeTransactionException
-
Deprecated.Constructor for CannotSerializeTransactionException.
- CannotSerializeTransactionException(String, Throwable) - Constructor for exception org.springframework.dao.CannotSerializeTransactionException
-
Deprecated.Constructor for CannotSerializeTransactionException.
- ChainedPersistenceExceptionTranslator - Class in org.springframework.dao.support
-
Implementation of
PersistenceExceptionTranslatorthat supports chaining, allowing the addition of PersistenceExceptionTranslator instances in order. - ChainedPersistenceExceptionTranslator() - Constructor for class org.springframework.dao.support.ChainedPersistenceExceptionTranslator
- checkDaoConfig() - Method in class org.springframework.dao.support.DaoSupport
-
Abstract subclasses must override this to check their configuration.
- checkUserTransactionAndTransactionManager() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Check the UserTransaction as well as the TransactionManager handle, assuming standard JTA requirements.
- classes() - Element in annotation interface org.springframework.transaction.event.TransactionalEventListener
-
The event classes that this listener handles.
- CleanupFailureDataAccessException - Exception in org.springframework.dao
-
Deprecated.as of 6.0.3 since it is not in use within core JDBC/ORM support
- CleanupFailureDataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.CleanupFailureDataAccessException
-
Deprecated.Constructor for CleanupFailureDataAccessException.
- cleanupResource(H, K, boolean) - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
-
Perform a cleanup on the given resource (which is left bound to the thread).
- cleanupResource(O, K, boolean) - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
-
Perform a cleanup on the given resource (which is left bound to the thread).
- cleanupTransactionInfo(TransactionAspectSupport.TransactionInfo) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Reset the TransactionInfo ThreadLocal.
- clear() - Method in class org.springframework.transaction.reactive.TransactionContext
- clear() - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Clear the entire transaction synchronization state: registered synchronizations as well as the various transaction characteristics.
- clear() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Clear the transactional state of this resource holder.
- clear() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Clear the entire transaction synchronization state for the current thread: registered synchronizations as well as the various transaction characteristics.
- clearSynchronization() - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Deactivate transaction synchronization for the current context.
- clearSynchronization() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Deactivate transaction synchronization for the current thread.
- clearTransactionManagerCache() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Clear the transaction manager cache.
- commit() - Method in class org.springframework.transaction.jta.ManagedTransactionAdapter
- commit() - Method in class org.springframework.transaction.jta.UserTransactionAdapter
- commit(ReactiveTransaction) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
This implementation of commit handles participating in existing transactions and programmatic rollback requests.
- commit(ReactiveTransaction) - Method in interface org.springframework.transaction.ReactiveTransactionManager
-
Commit the given transaction, with regard to its status.
- commit(TransactionStatus) - Method in interface org.springframework.transaction.PlatformTransactionManager
-
Commit the given transaction, with regard to its status.
- commit(TransactionStatus) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
This implementation of commit handles participating in existing transactions and programmatic rollback requests.
- commitTransactionAfterReturning(TransactionAspectSupport.TransactionInfo) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Execute after successful completion of call, but not after an exception was handled.
- completeTransactionAfterThrowing(TransactionAspectSupport.TransactionInfo, Throwable) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Handle a throwable, completing the transaction.
- CompositeTransactionAttributeSource - Class in org.springframework.transaction.interceptor
-
Composite
TransactionAttributeSourceimplementation that iterates over a given array ofTransactionAttributeSourceinstances. - CompositeTransactionAttributeSource(TransactionAttributeSource...) - Constructor for class org.springframework.transaction.interceptor.CompositeTransactionAttributeSource
-
Create a new CompositeTransactionAttributeSource for the given sources.
- computeTransactionAttribute(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
-
Same signature as
AbstractFallbackTransactionAttributeSource.getTransactionAttribute(java.lang.reflect.Method, java.lang.Class<?>), but doesn't cache the result. - ConcurrencyFailureException - Exception in org.springframework.dao
-
Exception thrown on various data access concurrency failures.
- ConcurrencyFailureException(String) - Constructor for exception org.springframework.dao.ConcurrencyFailureException
-
Constructor for ConcurrencyFailureException.
- ConcurrencyFailureException(String, Throwable) - Constructor for exception org.springframework.dao.ConcurrencyFailureException
-
Constructor for ConcurrencyFailureException.
- condition() - Element in annotation interface org.springframework.transaction.event.TransactionalEventListener
-
Spring Expression Language (SpEL) attribute used for making the event handling conditional.
- ConfigurableTransactionManager - Interface in org.springframework.transaction
-
Common configuration interface for transaction manager implementations.
- contains(Class<?>) - Method in exception org.springframework.transaction.TransactionSystemException
- create(ReactiveTransactionManager) - Static method in interface org.springframework.transaction.reactive.TransactionalOperator
-
Create a new
TransactionalOperatorusingReactiveTransactionManager, using a default transaction. - create(ReactiveTransactionManager, TransactionDefinition) - Static method in interface org.springframework.transaction.reactive.TransactionalOperator
- createAndHoldSavepoint() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Create a savepoint and hold it for the transaction.
- createApplicationListener(String, Class<?>, Method) - Method in class org.springframework.transaction.annotation.RestrictedTransactionalEventListenerFactory
- createApplicationListener(String, Class<?>, Method) - Method in class org.springframework.transaction.event.TransactionalEventListenerFactory
- createEndpoint(XAResource) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
The standard JCA 1.5 version of
createEndpoint. - createEndpoint(XAResource) - Method in class org.springframework.jca.endpoint.GenericMessageEndpointFactory
-
Wrap each concrete endpoint instance with an AOP proxy, exposing the message listener's interfaces as well as the endpoint SPI through an AOP introduction.
- createEndpoint(XAResource, long) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
The alternative JCA 1.6 version of
createEndpoint. - createEndpointInternal() - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
Create the actual endpoint instance, as a subclass of the
AbstractMessageEndpointFactory.AbstractMessageEndpointinner class of this factory. - createEndpointInternal() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointFactory
-
Creates a concrete generic message endpoint, internal to this factory.
- createMainInterceptor() - Method in class org.springframework.transaction.interceptor.TransactionProxyFactoryBean
-
Creates an advisor for this FactoryBean's TransactionInterceptor.
- createSavepoint() - Method in interface org.springframework.transaction.SavepointManager
-
Create a new savepoint.
- createSavepoint() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
This implementation delegates to a SavepointManager for the underlying transaction, if possible.
- createTimer() - Method in class org.springframework.jca.support.SimpleBootstrapContext
- createTransaction(String, int) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- createTransaction(String, int) - Method in class org.springframework.transaction.jta.SimpleTransactionFactory
- createTransaction(String, int) - Method in interface org.springframework.transaction.jta.TransactionFactory
-
Create an active Transaction object based on the given name and timeout.
- createTransactionContext() - Static method in class org.springframework.transaction.reactive.TransactionContextManager
-
Create a
TransactionContextand register it in the subscriberContext. - createTransactionIfNecessary(PlatformTransactionManager, TransactionAttribute, String) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Create a transaction if necessary based on the given TransactionAttribute.
- currentContext() - Static method in class org.springframework.transaction.reactive.TransactionContextManager
-
Obtain the current
TransactionContextfrom the subscriber context or the transactional context holder. - currentTransactionInfo() - Static method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Subclasses can use this to return the current TransactionInfo.
- currentTransactionStatus() - Static method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Return the transaction status of the current method invocation.
D
- DaoSupport - Class in org.springframework.dao.support
-
Generic base class for DAOs, defining template methods for DAO initialization.
- DaoSupport() - Constructor for class org.springframework.dao.support.DaoSupport
- DataAccessException - Exception in org.springframework.dao
-
Root of the hierarchy of data access exceptions discussed in Expert One-On-One J2EE Design and Development.
- DataAccessException(String) - Constructor for exception org.springframework.dao.DataAccessException
-
Constructor for DataAccessException.
- DataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.DataAccessException
-
Constructor for DataAccessException.
- DataAccessResourceFailureException - Exception in org.springframework.dao
-
Data access exception thrown when a resource fails completely: for example, if we can't connect to a database using JDBC.
- DataAccessResourceFailureException(String) - Constructor for exception org.springframework.dao.DataAccessResourceFailureException
-
Constructor for DataAccessResourceFailureException.
- DataAccessResourceFailureException(String, Throwable) - Constructor for exception org.springframework.dao.DataAccessResourceFailureException
-
Constructor for DataAccessResourceFailureException.
- DataAccessUtils - Class in org.springframework.dao.support
-
Miscellaneous utility methods for DAO implementations.
- DataAccessUtils() - Constructor for class org.springframework.dao.support.DataAccessUtils
- DataIntegrityViolationException - Exception in org.springframework.dao
-
Exception thrown when an attempt to execute an SQL statement fails to map the given data, typically but no limited to an insert or update data results in violation of an integrity constraint.
- DataIntegrityViolationException(String) - Constructor for exception org.springframework.dao.DataIntegrityViolationException
-
Constructor for DataIntegrityViolationException.
- DataIntegrityViolationException(String, Throwable) - Constructor for exception org.springframework.dao.DataIntegrityViolationException
-
Constructor for DataIntegrityViolationException.
- DataRetrievalFailureException - Exception in org.springframework.dao
-
Exception thrown if certain expected data could not be retrieved, for example, when looking up specific data via a known identifier.
- DataRetrievalFailureException(String) - Constructor for exception org.springframework.dao.DataRetrievalFailureException
-
Constructor for DataRetrievalFailureException.
- DataRetrievalFailureException(String, Throwable) - Constructor for exception org.springframework.dao.DataRetrievalFailureException
-
Constructor for DataRetrievalFailureException.
- DeadlockLoserDataAccessException - Exception in org.springframework.dao
-
Deprecated.as of 6.0.3, in favor of
PessimisticLockingFailureException/CannotAcquireLockException - DeadlockLoserDataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.DeadlockLoserDataAccessException
-
Deprecated.Constructor for DeadlockLoserDataAccessException.
- DEFAULT - Enum constant in enum class org.springframework.transaction.annotation.Isolation
-
Use the default isolation level of the underlying data store.
- DEFAULT_TRANSACTION_SYNCHRONIZATION_REGISTRY_NAME - Static variable in class org.springframework.transaction.jta.JtaTransactionManager
-
Standard Jakarta EE JNDI location for the JTA TransactionSynchronizationRegistry.
- DEFAULT_USER_TRANSACTION_NAME - Static variable in class org.springframework.transaction.jta.JtaTransactionManager
-
Default JNDI location for the JTA UserTransaction.
- DefaultTransactionAttribute - Class in org.springframework.transaction.interceptor
-
Spring's common transaction attribute implementation.
- DefaultTransactionAttribute() - Constructor for class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Create a new
DefaultTransactionAttributewith default settings. - DefaultTransactionAttribute(int) - Constructor for class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Create a new
DefaultTransactionAttributewith the given propagation behavior. - DefaultTransactionAttribute(TransactionAttribute) - Constructor for class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Copy constructor.
- DefaultTransactionDefinition - Class in org.springframework.transaction.support
-
Default implementation of the
TransactionDefinitioninterface, offering bean-style configuration and sensible default values (PROPAGATION_REQUIRED, ISOLATION_DEFAULT, TIMEOUT_DEFAULT, readOnly=false). - DefaultTransactionDefinition() - Constructor for class org.springframework.transaction.support.DefaultTransactionDefinition
-
Create a new
DefaultTransactionDefinitionwith default settings. - DefaultTransactionDefinition(int) - Constructor for class org.springframework.transaction.support.DefaultTransactionDefinition
-
Create a new
DefaultTransactionDefinitionwith the given propagation behavior. - DefaultTransactionDefinition(TransactionDefinition) - Constructor for class org.springframework.transaction.support.DefaultTransactionDefinition
-
Copy constructor.
- DefaultTransactionStatus - Class in org.springframework.transaction.support
-
Default implementation of the
TransactionStatusinterface, used byAbstractPlatformTransactionManager. - DefaultTransactionStatus(Object, boolean, boolean, boolean, boolean, Object) - Constructor for class org.springframework.transaction.support.DefaultTransactionStatus
-
Deprecated, for removal: This API element is subject to removal in a future version.
- DefaultTransactionStatus(String, Object, boolean, boolean, boolean, boolean, boolean, Object) - Constructor for class org.springframework.transaction.support.DefaultTransactionStatus
-
Create a new
DefaultTransactionStatusinstance. - DelegatingTransactionAttribute - Class in org.springframework.transaction.interceptor
-
TransactionAttributeimplementation that delegates all calls to a given targetTransactionAttributeinstance. - DelegatingTransactionAttribute(TransactionAttribute) - Constructor for class org.springframework.transaction.interceptor.DelegatingTransactionAttribute
-
Create a DelegatingTransactionAttribute for the given target attribute.
- DelegatingTransactionDefinition - Class in org.springframework.transaction.support
-
TransactionDefinitionimplementation that delegates all calls to a given targetTransactionDefinitioninstance. - DelegatingTransactionDefinition(TransactionDefinition) - Constructor for class org.springframework.transaction.support.DelegatingTransactionDefinition
-
Create a DelegatingTransactionAttribute for the given target attribute.
- delistResource(XAResource, int) - Method in class org.springframework.transaction.jta.ManagedTransactionAdapter
- destroy() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Deactivates the message endpoint, preparing it for shutdown.
- destroy() - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
-
Stops the ResourceAdapter.
- detectPersistenceExceptionTranslators(ListableBeanFactory) - Method in class org.springframework.dao.support.PersistenceExceptionTranslationInterceptor
-
Detect all PersistenceExceptionTranslators in the given BeanFactory.
- determineTimeout(TransactionDefinition) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Determine the actual timeout to use for the given definition.
- determineTransactionAttribute(AnnotatedElement) - Method in class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
-
Determine the transaction attribute for the given method or class.
- determineTransactionManager(TransactionAttribute) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Deprecated.as of 6.2, in favor of
TransactionAspectSupport.determineTransactionManager(TransactionAttribute, Class) - determineTransactionManager(TransactionAttribute, Class<?>) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Determine the specific transaction manager to use for the given transaction.
- doBegin(Object, TransactionDefinition) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- doBegin(Object, TransactionDefinition) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Begin a new transaction with semantics according to the given transaction definition.
- doBegin(TransactionSynchronizationManager, Object, TransactionDefinition) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Begin a new transaction with semantics according to the given transaction definition.
- doCleanupAfterCompletion(Object) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- doCleanupAfterCompletion(Object) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Cleanup resources after transaction completion.
- doCleanupAfterCompletion(TransactionSynchronizationManager, Object) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Cleanup resources after transaction completion.
- doCommit(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Perform an actual commit of the given transaction.
- doCommit(DefaultTransactionStatus) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- doCommit(DefaultTransactionStatus) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Perform an actual commit of the given transaction.
- doGetJtaTransaction(UserTransaction) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Get a JTA transaction object for the given current UserTransaction.
- doGetTransaction() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
This implementation returns a JtaTransactionObject instance for the JTA UserTransaction.
- doGetTransaction() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return a transaction object for the current transaction state.
- doGetTransaction(TransactionSynchronizationManager) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Return a transaction object for the current transaction state.
- doInTransaction(ReactiveTransaction) - Method in interface org.springframework.transaction.reactive.TransactionCallback
-
Gets called by
TransactionalOperatorwithin a transactional context. - doInTransaction(TransactionStatus) - Method in interface org.springframework.transaction.support.TransactionCallback
-
Gets called by
TransactionTemplate.execute(org.springframework.transaction.support.TransactionCallback<T>)within a transactional context. - doInTransaction(TransactionStatus) - Method in class org.springframework.transaction.support.TransactionCallbackWithoutResult
- doInTransactionWithoutResult(TransactionStatus) - Method in class org.springframework.transaction.support.TransactionCallbackWithoutResult
-
Gets called by
TransactionTemplate.executewithin a transactional context. - doJtaBegin(JtaTransactionObject, TransactionDefinition) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Perform a JTA begin on the JTA UserTransaction or TransactionManager.
- doJtaResume(JtaTransactionObject, Object) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Perform a JTA resume on the JTA TransactionManager.
- doJtaSuspend(JtaTransactionObject) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Perform a JTA suspend on the JTA TransactionManager.
- doRegisterAfterCompletionWithJtaTransaction(JtaTransactionObject, List<TransactionSynchronization>) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Register a JTA synchronization on the JTA TransactionManager, for calling
afterCompletionon the given Spring TransactionSynchronizations. - doResume(Object, Object) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- doResume(Object, Object) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Resume the resources of the current transaction.
- doResume(TransactionSynchronizationManager, Object, Object) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Resume the resources of the current transaction.
- doRollback(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Perform an actual rollback of the given transaction.
- doRollback(DefaultTransactionStatus) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- doRollback(DefaultTransactionStatus) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Perform an actual rollback of the given transaction.
- doSetRollbackOnly(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Set the given transaction rollback-only.
- doSetRollbackOnly(DefaultTransactionStatus) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- doSetRollbackOnly(DefaultTransactionStatus) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Set the given transaction rollback-only.
- doSuspend(Object) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- doSuspend(Object) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Suspend the resources of the current transaction.
- doSuspend(TransactionSynchronizationManager, Object) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Suspend the resources of the current transaction.
- DuplicateKeyException - Exception in org.springframework.dao
-
Exception thrown when an attempt to insert or update data results in violation of a primary key or unique constraint.
- DuplicateKeyException(String) - Constructor for exception org.springframework.dao.DuplicateKeyException
-
Constructor for DuplicateKeyException.
- DuplicateKeyException(String, Throwable) - Constructor for exception org.springframework.dao.DuplicateKeyException
-
Constructor for DuplicateKeyException.
E
- Ejb3TransactionAnnotationParser - Class in org.springframework.transaction.annotation
-
Strategy implementation for parsing EJB3's
TransactionAttributeannotation. - Ejb3TransactionAnnotationParser() - Constructor for class org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser
- EmptyResultDataAccessException - Exception in org.springframework.dao
-
Data access exception thrown when a result was expected to have at least one row (or element) but zero rows (or elements) were actually returned.
- EmptyResultDataAccessException(int) - Constructor for exception org.springframework.dao.EmptyResultDataAccessException
-
Constructor for EmptyResultDataAccessException.
- EmptyResultDataAccessException(String, int) - Constructor for exception org.springframework.dao.EmptyResultDataAccessException
-
Constructor for EmptyResultDataAccessException.
- EmptyResultDataAccessException(String, int, Throwable) - Constructor for exception org.springframework.dao.EmptyResultDataAccessException
-
Constructor for EmptyResultDataAccessException.
- EnableTransactionManagement - Annotation Interface in org.springframework.transaction.annotation
-
Enables Spring's annotation-driven transaction management capability, similar to the support found in Spring's
<tx:*>XML namespace. - enableTx - Variable in class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
- enlistResource(XAResource) - Method in class org.springframework.transaction.jta.ManagedTransactionAdapter
- equals(Object) - Method in class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
- equals(Object) - Method in class org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser
- equals(Object) - Method in class org.springframework.transaction.annotation.JtaTransactionAnnotationParser
- equals(Object) - Method in class org.springframework.transaction.annotation.SpringTransactionAnnotationParser
- equals(Object) - Method in class org.springframework.transaction.interceptor.MatchAlwaysTransactionAttributeSource
- equals(Object) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
- equals(Object) - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
- equals(Object) - Method in class org.springframework.transaction.interceptor.RollbackRuleAttribute
- equals(Object) - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
This implementation compares the
toString()results. - equals(Object) - Method in class org.springframework.transaction.support.DelegatingTransactionDefinition
- equals(Object) - Method in class org.springframework.transaction.support.TransactionTemplate
- execute(TransactionCallback<T>) - Method in interface org.springframework.transaction.reactive.TransactionalOperator
-
Execute the action specified by the given callback object within a transaction.
- execute(TransactionCallback<T>) - Method in interface org.springframework.transaction.support.TransactionOperations
-
Execute the action specified by the given callback object within a transaction.
- execute(TransactionCallback<T>) - Method in class org.springframework.transaction.support.TransactionTemplate
- execute(TransactionDefinition, TransactionCallback<T>) - Method in interface org.springframework.transaction.support.CallbackPreferringPlatformTransactionManager
-
Execute the action specified by the given callback object within a transaction.
- executeWithoutResult(Consumer<TransactionStatus>) - Method in interface org.springframework.transaction.support.TransactionOperations
-
Execute the action specified by the given
Runnablewithin a transaction.
F
- FALLBACK_TRANSACTION_MANAGER_NAMES - Static variable in class org.springframework.transaction.jta.JtaTransactionManager
-
Fallback JNDI locations for the JTA TransactionManager.
- fallbackExecution() - Element in annotation interface org.springframework.transaction.event.TransactionalEventListener
-
Whether the event should be handled if no transaction is running.
- findTransactionAttribute(Class<?>) - Method in class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
- findTransactionAttribute(Class<?>) - Method in class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
-
Subclasses need to implement this to return the transaction attribute for the given class, if any.
- findTransactionAttribute(Method) - Method in class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
- findTransactionAttribute(Method) - Method in class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
-
Subclasses need to implement this to return the transaction attribute for the given method, if any.
- findTransactionManager(UserTransaction) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Find the JTA TransactionManager through autodetection: checking whether the UserTransaction object implements the TransactionManager, and checking the fallback JNDI locations.
- findTransactionSynchronizationRegistry(UserTransaction, TransactionManager) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Find the JTA 1.1 TransactionSynchronizationRegistry through autodetection: checking whether the UserTransaction object or TransactionManager object implements it, and checking Jakarta EE's standard JNDI location.
- findUserTransaction() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Find the JTA UserTransaction through a default JNDI lookup: "java:comp/UserTransaction".
- flush() - Method in class org.springframework.transaction.jta.JtaTransactionObject
-
This implementation triggers flush callbacks, assuming that they will flush all affected ORM sessions.
- flush() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
-
Delegate the flushing to the transaction object, provided that the latter implements the
SmartTransactionObjectinterface. - flush() - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
- flush() - Method in interface org.springframework.transaction.support.SmartTransactionObject
-
Flush the underlying sessions to the datastore, if applicable: for example, all affected Hibernate/JPA sessions.
- flush() - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Flush the underlying session to the datastore, if applicable: for example, a Hibernate/JPA session.
- flush() - Method in class org.springframework.transaction.support.TransactionSynchronizationAdapter
-
Deprecated.
- flush() - Method in interface org.springframework.transaction.TransactionStatus
-
Flush the underlying session to the datastore, if applicable: for example, all affected Hibernate/JPA sessions.
- flushResource(H) - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
-
Flush callback for the given resource holder.
- forCurrentTransaction() - Static method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Get the
TransactionSynchronizationManagerthat is associated with the current transaction context. - forPayload(Consumer<T>) - Static method in interface org.springframework.transaction.event.TransactionalApplicationListener
-
Create a new
TransactionalApplicationListenerfor the given payload consumer, to be applied in the default phaseTransactionPhase.AFTER_COMMIT. - forPayload(TransactionPhase, Consumer<T>) - Static method in interface org.springframework.transaction.event.TransactionalApplicationListener
-
Create a new
TransactionalApplicationListenerfor the given payload consumer.
G
- GenericMessageEndpointFactory - Class in org.springframework.jca.endpoint
-
Generic implementation of the JCA 1.7
MessageEndpointFactoryinterface, providing transaction management capabilities for any kind of message listener object (for example,jakarta.jms.MessageListenerobjects orMessageListenerobjects). - GenericMessageEndpointFactory() - Constructor for class org.springframework.jca.endpoint.GenericMessageEndpointFactory
- GenericMessageEndpointFactory.InternalResourceException - Exception in org.springframework.jca.endpoint
-
Internal exception thrown when a ResourceException has been encountered during the endpoint invocation.
- GenericMessageEndpointManager - Class in org.springframework.jca.endpoint
-
Generic bean that manages JCA 1.7 message endpoints within a Spring application context, activating and deactivating the endpoint as part of the application context's lifecycle.
- GenericMessageEndpointManager() - Constructor for class org.springframework.jca.endpoint.GenericMessageEndpointManager
- GenericReactiveTransaction - Class in org.springframework.transaction.reactive
-
Default implementation of the
ReactiveTransactioninterface, used byAbstractReactiveTransactionManager. - GenericReactiveTransaction(Object, boolean, boolean, boolean, boolean, Object) - Constructor for class org.springframework.transaction.reactive.GenericReactiveTransaction
-
Deprecated, for removal: This API element is subject to removal in a future version.
- GenericReactiveTransaction(String, Object, boolean, boolean, boolean, boolean, boolean, Object) - Constructor for class org.springframework.transaction.reactive.GenericReactiveTransaction
-
Create a new
DefaultReactiveTransactionStatusinstance. - get(String, ObjectFactory<?>) - Method in class org.springframework.transaction.support.SimpleTransactionScope
- getActivationName() - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
Implementation of the JCA 1.7
#getActivationName()method, returning the bean name as set on this MessageEndpointFactory. - getActivationSpec() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Return the JCA ActivationSpec to use for activating the endpoint.
- getActualSize() - Method in exception org.springframework.dao.IncorrectResultSizeDataAccessException
-
Return the actual result size (or -1 if unknown).
- getAdvice() - Method in class org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor
- getAdvice() - Method in class org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor
- getApplicationException() - Method in exception org.springframework.transaction.TransactionSystemException
-
Return the application exception that was thrown before this transaction exception, if any.
- getAttributeDescription() - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Return an identifying description for this transaction attribute.
- getBeanClass(Element) - Method in class org.springframework.transaction.config.JtaTransactionManagerBeanDefinitionParser
- getBeanFactory() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Return the BeanFactory to use for retrieving
TransactionManagerbeans. - getCacheKey(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
-
Determine a cache key for the given method and target class.
- getConversationId() - Method in class org.springframework.transaction.support.SimpleTransactionScope
- getCurrentTransactionIsolationLevel() - Method in class org.springframework.transaction.reactive.TransactionContext
- getCurrentTransactionIsolationLevel() - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Return the isolation level for the current transaction, if any.
- getCurrentTransactionIsolationLevel() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Return the isolation level for the current transaction, if any.
- getCurrentTransactionName() - Method in class org.springframework.transaction.reactive.TransactionContext
- getCurrentTransactionName() - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Return the name of the current transaction, or
nullif none set. - getCurrentTransactionName() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Return the name of the current transaction, or
nullif none set. - getDeadline() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Return the expiration deadline of this object.
- getDefaultTimeout() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return the default timeout that this transaction manager should apply if there is no timeout specified at the transaction level, in seconds.
- getDefinitionDescription() - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Return an identifying description for this transaction definition.
- getDelegates() - Method in class org.springframework.dao.support.ChainedPersistenceExceptionTranslator
-
Return all registered PersistenceExceptionTranslator delegates (as array).
- getDepth(Throwable) - Method in class org.springframework.transaction.interceptor.RollbackRuleAttribute
-
Return the depth of the superclass matching, with the following semantics.
- getDescriptor() - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Return a descriptor for this transaction attribute, or
nullif none. - getEndpointClass() - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
Implementation of the JCA 1.7
#getEndpointClass()method, returning null in order to indicate a synthetic endpoint type. - getEndpointClassLoader() - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory.AbstractMessageEndpoint
-
Template method for exposing the endpoint's ClassLoader (typically the ClassLoader that the message listener class has been loaded with).
- getExceptionName() - Method in class org.springframework.transaction.interceptor.RollbackRuleAttribute
-
Get the configured exception name pattern that this rule uses for matching.
- getExpectedSize() - Method in exception org.springframework.dao.IncorrectResultSizeDataAccessException
-
Return the expected result size.
- getIsolationLevel() - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
- getIsolationLevel() - Method in class org.springframework.transaction.support.DelegatingTransactionDefinition
- getIsolationLevel() - Method in interface org.springframework.transaction.TransactionDefinition
-
Return the isolation level.
- getJndiEnvironment() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Return the JNDI environment to use for JNDI lookups.
- getJndiTemplate() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Return the JndiTemplate used for JNDI lookups.
- getJoinpointIdentification() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
-
Return a String representation of this joinpoint (usually a Method call) for use in logging.
- getLabels() - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
- getLabels() - Method in class org.springframework.transaction.interceptor.DelegatingTransactionAttribute
- getLabels() - Method in interface org.springframework.transaction.interceptor.TransactionAttribute
-
Return labels associated with this transaction attribute.
- getListenerId() - Method in interface org.springframework.transaction.event.TransactionalApplicationListener
-
Return an identifier for the listener to be able to refer to it individually.
- getListenerId() - Method in class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
-
Return an id to identify the listener with.
- getMessageEndpointFactory() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Return the JCA MessageEndpointFactory to activate.
- getMessageListener() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointFactory
-
Return the message listener object for this endpoint.
- getName() - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
- getName() - Method in class org.springframework.transaction.support.DelegatingTransactionDefinition
- getName() - Method in interface org.springframework.transaction.TransactionDefinition
-
Return the name of this transaction.
- getObject() - Method in class org.springframework.jca.support.LocalConnectionFactoryBean
- getObject() - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
- getObject() - Method in class org.springframework.transaction.config.JtaTransactionManagerFactoryBean
-
Deprecated.
- getObjectType() - Method in class org.springframework.jca.support.LocalConnectionFactoryBean
- getObjectType() - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
- getObjectType() - Method in class org.springframework.transaction.config.JtaTransactionManagerFactoryBean
-
Deprecated.
- getOrCreateContext() - Static method in class org.springframework.transaction.reactive.TransactionContextManager
-
Return a
Functionto create or associate a newTransactionContext. - getOrCreateContextHolder() - Static method in class org.springframework.transaction.reactive.TransactionContextManager
-
Return a
Functionto create or associate a newTransactionContextHolder. - getOrder() - Method in interface org.springframework.transaction.event.TransactionalApplicationListener
-
Return the execution order within transaction synchronizations.
- getOrder() - Method in class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
-
Return the synchronization order for the listener.
- getOrder() - Method in class org.springframework.transaction.event.TransactionalEventListenerFactory
- getOrder() - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Return the execution order for this transaction synchronization.
- getOrder() - Method in class org.springframework.transaction.support.TransactionSynchronizationAdapter
-
Deprecated.
- getOriginalException() - Method in exception org.springframework.transaction.TransactionSystemException
-
Return the exception that was the first to be thrown within the failed transaction: i.e.
- getOutcomeState() - Method in exception org.springframework.transaction.HeuristicCompletionException
-
Return the outcome state of the transaction state, as one of the constants in this class.
- getParent() - Method in class org.springframework.transaction.reactive.TransactionContext
- getPhase() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Return the phase in which this endpoint manager will be started and stopped.
- getPointcut() - Method in class org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor
- getPointcut() - Method in class org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor
- getPointcut() - Method in class org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor
- getPropagationBehavior() - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
- getPropagationBehavior() - Method in class org.springframework.transaction.support.DelegatingTransactionDefinition
- getPropagationBehavior() - Method in interface org.springframework.transaction.TransactionDefinition
-
Return the propagation behavior.
- getQualifier() - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Return a qualifier value associated with this transaction attribute.
- getQualifier() - Method in class org.springframework.transaction.interceptor.DelegatingTransactionAttribute
- getQualifier() - Method in interface org.springframework.transaction.interceptor.TransactionAttribute
-
Return a qualifier value associated with this transaction attribute.
- getReactiveTransaction(TransactionDefinition) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
This implementation handles propagation behavior.
- getReactiveTransaction(TransactionDefinition) - Method in interface org.springframework.transaction.ReactiveTransactionManager
-
Emit a currently active reactive transaction or create a new one, according to the specified propagation behavior.
- getResource(Object) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Retrieve a resource for the given key that is bound to the current context.
- getResource(Object) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Retrieve a resource for the given key that is bound to the current thread.
- getResourceAdapter() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Return the JCA ResourceAdapter to manage endpoints for.
- getResourceFactory() - Method in interface org.springframework.transaction.support.ResourceTransactionManager
-
Return the resource factory that this transaction manager operates on, for example, a JDBC DataSource or a JMS ConnectionFactory.
- getResourceMap() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Return all resources that are bound to the current thread.
- getResources() - Method in class org.springframework.transaction.reactive.TransactionContext
- getRollbackRules() - Method in class org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
-
Return the list of
RollbackRuleAttributeobjects (nevernull). - getSavepoint() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Get the savepoint for this transaction, if any.
- getSavepointManager() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Return a SavepointManager for the underlying transaction, if possible.
- getSavepointManager() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
-
This implementation exposes the
SavepointManagerinterface of the underlying transaction object, if any. - getStateString(int) - Static method in exception org.springframework.transaction.HeuristicCompletionException
- getStatus() - Method in class org.springframework.transaction.jta.ManagedTransactionAdapter
- getStatus() - Method in class org.springframework.transaction.jta.UserTransactionAdapter
- getSuspendedResources() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
-
Return the holder for resources that have been suspended for this transaction, if any.
- getSuspendedResources() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
-
Return the holder for resources that have been suspended for this transaction, if any.
- getSynchronizations() - Method in class org.springframework.transaction.reactive.TransactionContext
- getSynchronizations() - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Return an unmodifiable snapshot list of all registered synchronizations for the current context.
- getSynchronizations() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Return an unmodifiable snapshot list of all registered synchronizations for the current thread.
- getTimeout() - Method in exception org.springframework.transaction.InvalidTimeoutException
-
Return the invalid timeout value.
- getTimeout() - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
- getTimeout() - Method in class org.springframework.transaction.support.DelegatingTransactionDefinition
- getTimeout() - Method in interface org.springframework.transaction.TransactionDefinition
-
Return the transaction timeout.
- getTimeoutString() - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Return the timeout to apply, if any, as a String value that resolves to a number of seconds.
- getTimeToLiveInMillis() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Return the time to live for this object in milliseconds.
- getTimeToLiveInSeconds() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Return the time to live for this object in seconds.
- getTransaction() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
-
Return the underlying transaction object.
- getTransaction() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
-
Return the underlying transaction object.
- getTransaction(TransactionDefinition) - Method in interface org.springframework.transaction.PlatformTransactionManager
-
Return a currently active transaction or create a new one, according to the specified propagation behavior.
- getTransaction(TransactionDefinition) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
This implementation handles propagation behavior.
- getTransactionAttribute() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
- getTransactionAttribute(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
- getTransactionAttribute(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.CompositeTransactionAttributeSource
- getTransactionAttribute(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.MatchAlwaysTransactionAttributeSource
- getTransactionAttribute(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
- getTransactionAttribute(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
- getTransactionAttribute(Method, Class<?>) - Method in interface org.springframework.transaction.interceptor.TransactionAttributeSource
-
Return the transaction attribute for the given method, or
nullif the method is non-transactional. - getTransactionAttributeSource() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Return the transaction attribute source.
- getTransactionAttributeSources() - Method in class org.springframework.transaction.interceptor.CompositeTransactionAttributeSource
-
Return the TransactionAttributeSource instances that this CompositeTransactionAttributeSource combines.
- getTransactionExecutionListeners() - Method in interface org.springframework.transaction.ConfigurableTransactionManager
-
Return the registered transaction execution listeners for this transaction manager.
- getTransactionExecutionListeners() - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
- getTransactionExecutionListeners() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
- getTransactionManager() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Return the default transaction manager, or
nullif unknown. - getTransactionManager() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
- getTransactionManager() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Return the JTA TransactionManager that this transaction manager uses, if any.
- getTransactionManager() - Method in class org.springframework.transaction.jta.ManagedTransactionAdapter
-
Return the JTA TransactionManager that this adapter delegates to.
- getTransactionManager() - Method in class org.springframework.transaction.jta.UserTransactionAdapter
-
Return the JTA TransactionManager that this adapter delegates to.
- getTransactionManager() - Method in class org.springframework.transaction.support.TransactionTemplate
-
Return the transaction management strategy to be used.
- getTransactionManagerBeanName() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Return the name of the default transaction manager bean.
- getTransactionName() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
- getTransactionName() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
- getTransactionName() - Method in interface org.springframework.transaction.TransactionExecution
-
Return the defined name of the transaction (possibly an empty String).
- getTransactionPhase() - Method in interface org.springframework.transaction.event.TransactionalApplicationListener
-
Return the
TransactionPhasein which the listener will be invoked. - getTransactionPhase() - Method in class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
-
Return the transaction phase to invoke the listener in.
- getTransactionPhase() - Method in class org.springframework.transaction.event.TransactionalApplicationListenerMethodAdapter
- getTransactionStatus() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
- getTransactionSynchronization() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return if this transaction manager should activate the thread-bound transaction synchronization support.
- getTransactionSynchronizationRegistry() - Method in class org.springframework.jca.support.SimpleBootstrapContext
- getTransactionSynchronizationRegistry() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Return the JTA 1.1 TransactionSynchronizationRegistry that this transaction manager uses, if any.
- getUserTransaction() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Return the JTA UserTransaction that this transaction manager uses.
- getUserTransaction() - Method in class org.springframework.transaction.jta.JtaTransactionObject
-
Return the JTA UserTransaction object for the current transaction.
- getWorkManager() - Method in class org.springframework.jca.support.SimpleBootstrapContext
- getXATerminator() - Method in class org.springframework.jca.support.SimpleBootstrapContext
H
- hasBeforeDeliveryBeenCalled() - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory.AbstractMessageEndpoint
-
Return whether the
beforeDelivery(java.lang.reflect.Method)method of this endpoint has already been called. - hashCode() - Method in class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
- hashCode() - Method in class org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser
- hashCode() - Method in class org.springframework.transaction.annotation.JtaTransactionAnnotationParser
- hashCode() - Method in class org.springframework.transaction.annotation.SpringTransactionAnnotationParser
- hashCode() - Method in class org.springframework.transaction.interceptor.MatchAlwaysTransactionAttributeSource
- hashCode() - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
- hashCode() - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
- hashCode() - Method in class org.springframework.transaction.interceptor.RollbackRuleAttribute
- hashCode() - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
This implementation returns
toString()'s hash code. - hashCode() - Method in class org.springframework.transaction.support.DelegatingTransactionDefinition
- hasResource(Object) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Check if there is a resource for the given key bound to the current context.
- hasResource(Object) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Check if there is a resource for the given key bound to the current thread.
- hasSavepoint() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
- hasSavepoint() - Method in interface org.springframework.transaction.TransactionStatus
-
Return whether this transaction internally carries a savepoint, that is, has been created as nested transaction based on a savepoint.
- hasTimeout() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Return whether this object has an associated timeout.
- hasTransaction() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
-
Return whether a transaction was created by this aspect, or whether we just have a placeholder to keep ThreadLocal stack integrity.
- hasTransaction() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
- hasTransaction() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
- hasTransaction() - Method in interface org.springframework.transaction.TransactionExecution
-
Return whether there is an actual transaction active: this is meant to cover a new transaction as well as participation in an existing transaction, only returning
falsewhen not running in an actual transaction at all. - hasTransactionAttribute(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
- hasTransactionAttribute(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.CompositeTransactionAttributeSource
- hasTransactionAttribute(Method, Class<?>) - Method in interface org.springframework.transaction.interceptor.TransactionAttributeSource
-
Determine whether there is a transaction attribute for the given method.
- HeuristicCompletionException - Exception in org.springframework.transaction
-
Exception that represents a transaction failure caused by a heuristic decision on the side of the transaction coordinator.
- HeuristicCompletionException(int, Throwable) - Constructor for exception org.springframework.transaction.HeuristicCompletionException
-
Constructor for HeuristicCompletionException.
I
- id() - Element in annotation interface org.springframework.transaction.event.TransactionalEventListener
-
An optional identifier for the listener, defaulting to the fully-qualified signature of the declaring method (for example, "mypackage.MyClass.myMethod()").
- IllegalTransactionStateException - Exception in org.springframework.transaction
-
Exception thrown when the existence or non-existence of a transaction amounts to an illegal state according to the transaction propagation behavior that applies.
- IllegalTransactionStateException(String) - Constructor for exception org.springframework.transaction.IllegalTransactionStateException
-
Constructor for IllegalTransactionStateException.
- IllegalTransactionStateException(String, Throwable) - Constructor for exception org.springframework.transaction.IllegalTransactionStateException
-
Constructor for IllegalTransactionStateException.
- IncorrectResultSizeDataAccessException - Exception in org.springframework.dao
-
Data access exception thrown when a result was not of the expected size, for example when expecting a single row but getting 0 or more than 1 rows.
- IncorrectResultSizeDataAccessException(int) - Constructor for exception org.springframework.dao.IncorrectResultSizeDataAccessException
-
Constructor for IncorrectResultSizeDataAccessException.
- IncorrectResultSizeDataAccessException(int, int) - Constructor for exception org.springframework.dao.IncorrectResultSizeDataAccessException
-
Constructor for IncorrectResultSizeDataAccessException.
- IncorrectResultSizeDataAccessException(String, int) - Constructor for exception org.springframework.dao.IncorrectResultSizeDataAccessException
-
Constructor for IncorrectResultSizeDataAccessException.
- IncorrectResultSizeDataAccessException(String, int, int) - Constructor for exception org.springframework.dao.IncorrectResultSizeDataAccessException
-
Constructor for IncorrectResultSizeDataAccessException.
- IncorrectResultSizeDataAccessException(String, int, int, Throwable) - Constructor for exception org.springframework.dao.IncorrectResultSizeDataAccessException
-
Constructor for IncorrectResultSizeDataAccessException.
- IncorrectResultSizeDataAccessException(String, int, Throwable) - Constructor for exception org.springframework.dao.IncorrectResultSizeDataAccessException
-
Constructor for IncorrectResultSizeDataAccessException.
- IncorrectUpdateSemanticsDataAccessException - Exception in org.springframework.dao
-
Data access exception thrown when something unintended appears to have happened with an update, but the transaction hasn't already been rolled back.
- IncorrectUpdateSemanticsDataAccessException(String) - Constructor for exception org.springframework.dao.IncorrectUpdateSemanticsDataAccessException
-
Constructor for IncorrectUpdateSemanticsDataAccessException.
- IncorrectUpdateSemanticsDataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.IncorrectUpdateSemanticsDataAccessException
-
Constructor for IncorrectUpdateSemanticsDataAccessException.
- init() - Method in class org.springframework.transaction.config.TxNamespaceHandler
- initApplicationException(Throwable) - Method in exception org.springframework.transaction.TransactionSystemException
-
Set an application exception that was thrown before this transaction exception, preserving the original exception despite the overriding TransactionSystemException.
- initDao() - Method in class org.springframework.dao.support.DaoSupport
-
Concrete subclasses can override this for custom initialization behavior.
- initMethodMap(Map<String, TransactionAttribute>) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
-
Initialize the specified
"methodMap", if any. - initSynchronization() - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Activate transaction synchronization for the current context.
- initSynchronization() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Activate transaction synchronization for the current thread.
- initTransactionSynchronizationRegistry() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Initialize the JTA 1.1 TransactionSynchronizationRegistry, if available.
- initUserTransactionAndTransactionManager() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Initialize the UserTransaction as well as the TransactionManager handle.
- InternalResourceException(ResourceException) - Constructor for exception org.springframework.jca.endpoint.GenericMessageEndpointFactory.InternalResourceException
- intResult(Collection<?>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a unique int result from the given Collection.
- InvalidDataAccessApiUsageException - Exception in org.springframework.dao
-
Exception thrown on incorrect usage of the API, such as failing to "compile" a query object that needed compilation before execution.
- InvalidDataAccessApiUsageException(String) - Constructor for exception org.springframework.dao.InvalidDataAccessApiUsageException
-
Constructor for InvalidDataAccessApiUsageException.
- InvalidDataAccessApiUsageException(String, Throwable) - Constructor for exception org.springframework.dao.InvalidDataAccessApiUsageException
-
Constructor for InvalidDataAccessApiUsageException.
- InvalidDataAccessResourceUsageException - Exception in org.springframework.dao
-
Root for exceptions thrown when we use a data access resource incorrectly.
- InvalidDataAccessResourceUsageException(String) - Constructor for exception org.springframework.dao.InvalidDataAccessResourceUsageException
-
Constructor for InvalidDataAccessResourceUsageException.
- InvalidDataAccessResourceUsageException(String, Throwable) - Constructor for exception org.springframework.dao.InvalidDataAccessResourceUsageException
-
Constructor for InvalidDataAccessResourceUsageException.
- InvalidIsolationLevelException - Exception in org.springframework.transaction
-
Exception that gets thrown when an invalid isolation level is specified, i.e.
- InvalidIsolationLevelException(String) - Constructor for exception org.springframework.transaction.InvalidIsolationLevelException
-
Constructor for InvalidIsolationLevelException.
- InvalidTimeoutException - Exception in org.springframework.transaction
-
Exception that gets thrown when an invalid timeout is specified, that is, the specified timeout valid is out of range or the transaction manager implementation doesn't support timeouts.
- InvalidTimeoutException(String, int) - Constructor for exception org.springframework.transaction.InvalidTimeoutException
-
Constructor for InvalidTimeoutException.
- invoke(MethodInvocation) - Method in class org.springframework.dao.support.PersistenceExceptionTranslationInterceptor
- invoke(MethodInvocation) - Method in class org.springframework.transaction.interceptor.TransactionInterceptor
- invokeAfterCommit(List<TransactionSynchronization>) - Static method in class org.springframework.transaction.support.TransactionSynchronizationUtils
-
Actually invoke the
afterCommitmethods of the given Spring TransactionSynchronization objects. - invokeAfterCompletion(List<TransactionSynchronization>, int) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Actually invoke the
afterCompletionmethods of the given Spring TransactionSynchronization objects. - invokeAfterCompletion(List<TransactionSynchronization>, int) - Static method in class org.springframework.transaction.support.TransactionSynchronizationUtils
-
Actually invoke the
afterCompletionmethods of the given Spring TransactionSynchronization objects. - invokeWithinTransaction(Method, Class<?>, TransactionAspectSupport.InvocationCallback) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
General delegate for around-advice-based subclasses, delegating to several other template methods on this class.
- isActualTransactionActive() - Method in class org.springframework.transaction.reactive.TransactionContext
- isActualTransactionActive() - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Return whether there currently is an actual transaction active.
- isActualTransactionActive() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Return whether there currently is an actual transaction active.
- isAutoStartup() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Return the value for the 'autoStartup' property.
- isCandidateClass(Class<?>) - Method in class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
- isCandidateClass(Class<?>) - Method in class org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser
- isCandidateClass(Class<?>) - Method in class org.springframework.transaction.annotation.JtaTransactionAnnotationParser
- isCandidateClass(Class<?>) - Method in class org.springframework.transaction.annotation.SpringTransactionAnnotationParser
- isCandidateClass(Class<?>) - Method in interface org.springframework.transaction.annotation.TransactionAnnotationParser
-
Determine whether the given class is a candidate for transaction attributes in the annotation format of this
TransactionAnnotationParser. - isCandidateClass(Class<?>) - Method in class org.springframework.transaction.interceptor.CompositeTransactionAttributeSource
- isCandidateClass(Class<?>) - Method in interface org.springframework.transaction.interceptor.TransactionAttributeSource
-
Determine whether the given class is a candidate for transaction attributes in the metadata format of this
TransactionAttributeSource. - isCompleted() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
- isCompleted() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
- isCompleted() - Method in interface org.springframework.transaction.TransactionExecution
-
Return whether this transaction is completed, that is, whether it has already been committed or rolled back.
- isContextSupported(Class<? extends WorkContext>) - Method in class org.springframework.jca.support.SimpleBootstrapContext
- isCurrentTransactionReadOnly() - Method in class org.springframework.transaction.reactive.TransactionContext
- isCurrentTransactionReadOnly() - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Return whether the current transaction is marked as read-only.
- isCurrentTransactionReadOnly() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Return whether the current transaction is marked as read-only.
- isDebug() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
-
Return whether the progress of this transaction is debugged.
- isDebug() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
-
Return whether the progress of this transaction is debugged.
- isDeliveryTransacted(Method) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
This implementation returns
trueif a transaction manager has been specified;falseotherwise. - isExistingTransaction(Object) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- isExistingTransaction(Object) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Check if the given transaction object indicates an existing transaction (that is, a transaction which has already started).
- isExistingTransaction(Object) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Check if the given transaction object indicates an existing transaction (that is, a transaction which has already started).
- isFailEarlyOnGlobalRollbackOnly() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return whether to fail early in case of the transaction being globally marked as rollback-only.
- isGlobalRollbackOnly() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Template method for determining the global rollback-only flag of the underlying transaction, if any.
- isGlobalRollbackOnly() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
-
Determine the rollback-only flag via checking the transaction object, provided that the latter implements the
SmartTransactionObjectinterface. - isGlobalRollbackOnParticipationFailure() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return whether to globally mark an existing transaction as rollback-only after a participating transaction failed.
- isLocalResource() - Method in interface org.springframework.transaction.support.ResourceTransactionDefinition
-
Determine whether the transactional resource is ready for local optimizations.
- isLocalRollbackOnly() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Determine the rollback-only flag via checking this TransactionStatus.
- isMatch(String, String) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
-
Return if the given method name matches the mapped name.
- isMatch(String, String) - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
-
Determine if the given method name matches the mapped name.
- isNested() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
- isNested() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
- isNested() - Method in interface org.springframework.transaction.TransactionExecution
-
Return if this transaction executes in a nested fashion within another.
- isNestedTransactionAllowed() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return whether nested transactions are allowed.
- isNewSynchronization() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
-
Return if a new transaction synchronization has been opened for this transaction.
- isNewSynchronization() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
-
Return if a new transaction synchronization has been opened for this transaction.
- isNewTransaction() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
- isNewTransaction() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
- isNewTransaction() - Method in class org.springframework.transaction.support.SimpleTransactionStatus
- isNewTransaction() - Method in interface org.springframework.transaction.TransactionExecution
-
Return whether the transaction manager considers the present transaction as new; otherwise participating in an existing transaction, or potentially not running in an actual transaction in the first place.
- isolation() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
The transaction isolation level.
- Isolation - Enum Class in org.springframework.transaction.annotation
-
Enumeration that represents transaction isolation levels for use with the
@Transactionalannotation, corresponding to theTransactionDefinitioninterface. - ISOLATION_DEFAULT - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Use the default isolation level of the underlying datastore.
- ISOLATION_READ_COMMITTED - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Indicates that dirty reads are prevented; non-repeatable reads and phantom reads can occur.
- ISOLATION_READ_UNCOMMITTED - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Indicates that dirty reads, non-repeatable reads, and phantom reads can occur.
- ISOLATION_REPEATABLE_READ - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Indicates that dirty reads and non-repeatable reads are prevented; phantom reads can occur.
- ISOLATION_SERIALIZABLE - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Indicates that dirty reads, non-repeatable reads, and phantom reads are prevented.
- isOpen() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Return whether there are still open references to this holder.
- isReadOnly() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
- isReadOnly() - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
- isReadOnly() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
- isReadOnly() - Method in class org.springframework.transaction.support.DelegatingTransactionDefinition
- isReadOnly() - Method in interface org.springframework.transaction.TransactionDefinition
-
Return whether to optimize as a read-only transaction.
- isReadOnly() - Method in interface org.springframework.transaction.TransactionExecution
-
Return if this transaction is defined as read-only transaction.
- isRollbackOnCommitFailure() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return whether
doRollbackshould be performed on failure of thedoCommitcall. - isRollbackOnly() - Method in class org.springframework.transaction.jta.JtaTransactionObject
-
This implementation checks the UserTransaction's rollback-only flag.
- isRollbackOnly() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
-
Determine the rollback-only flag via checking this ReactiveTransactionStatus.
- isRollbackOnly() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Determine the rollback-only flag via checking both the local rollback-only flag of this TransactionStatus and the global rollback-only flag of the underlying transaction, if any.
- isRollbackOnly() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Return whether the resource transaction is marked as rollback-only.
- isRollbackOnly() - Method in interface org.springframework.transaction.support.SmartTransactionObject
-
Return whether the transaction is internally marked as rollback-only.
- isRollbackOnly() - Method in interface org.springframework.transaction.TransactionExecution
-
Return whether the transaction has been marked as rollback-only (either by the application or by the transaction infrastructure).
- isRunning() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Return whether the configured message endpoint is currently active.
- isSingleton() - Method in class org.springframework.jca.support.LocalConnectionFactoryBean
- isSingleton() - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
- isSingleton() - Method in class org.springframework.transaction.config.JtaTransactionManagerFactoryBean
-
Deprecated.
- isSynchronizationActive() - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Return if transaction synchronization is active for the current context.
- isSynchronizationActive() - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Return if transaction synchronization is active for the current thread.
- isSynchronizedWithTransaction() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Return whether the resource is synchronized with a transaction.
- isTransactionSavepointManager() - Method in class org.springframework.transaction.support.DefaultTransactionStatus
-
Return whether the underlying transaction implements the
SavepointManagerinterface and therefore supports savepoints. - isValidateExistingTransaction() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return whether existing transactions should be validated before participating in them.
- isVoid() - Method in interface org.springframework.transaction.support.ResourceHolder
-
Determine whether this holder is considered as 'void', i.e.
- isVoid() - Method in class org.springframework.transaction.support.ResourceHolderSupport
J
- JTA_TRANSACTION_ASPECT_BEAN_NAME - Static variable in class org.springframework.transaction.config.TransactionManagementConfigUtils
-
The bean name of the internally managed JTA transaction aspect (used when mode == ASPECTJ).
- JTA_TRANSACTION_ASPECT_CLASS_NAME - Static variable in class org.springframework.transaction.config.TransactionManagementConfigUtils
-
The class name of the AspectJ transaction management aspect.
- JTA_TRANSACTION_ASPECT_CONFIGURATION_CLASS_NAME - Static variable in class org.springframework.transaction.config.TransactionManagementConfigUtils
-
The name of the AspectJ transaction management @
Configurationclass for JTA. - JtaAfterCompletionSynchronization - Class in org.springframework.transaction.jta
-
Adapter for a JTA Synchronization, invoking the
afterCommit/afterCompletioncallbacks of SpringTransactionSynchronizationobjects callbacks after the outer JTA transaction has completed. - JtaAfterCompletionSynchronization(List<TransactionSynchronization>) - Constructor for class org.springframework.transaction.jta.JtaAfterCompletionSynchronization
-
Create a new JtaAfterCompletionSynchronization for the given synchronization objects.
- JtaTransactionAnnotationParser - Class in org.springframework.transaction.annotation
-
Strategy implementation for parsing JTA 1.2's
Transactionalannotation. - JtaTransactionAnnotationParser() - Constructor for class org.springframework.transaction.annotation.JtaTransactionAnnotationParser
- JtaTransactionManager - Class in org.springframework.transaction.jta
-
PlatformTransactionManagerimplementation for JTA, delegating to a backend JTA provider. - JtaTransactionManager() - Constructor for class org.springframework.transaction.jta.JtaTransactionManager
-
Create a new JtaTransactionManager instance, to be configured as bean.
- JtaTransactionManager(TransactionManager) - Constructor for class org.springframework.transaction.jta.JtaTransactionManager
-
Create a new JtaTransactionManager instance.
- JtaTransactionManager(UserTransaction) - Constructor for class org.springframework.transaction.jta.JtaTransactionManager
-
Create a new JtaTransactionManager instance.
- JtaTransactionManager(UserTransaction, TransactionManager) - Constructor for class org.springframework.transaction.jta.JtaTransactionManager
-
Create a new JtaTransactionManager instance.
- JtaTransactionManagerBeanDefinitionParser - Class in org.springframework.transaction.config
-
Parser for the <tx:jta-transaction-manager/> XML configuration element.
- JtaTransactionManagerBeanDefinitionParser() - Constructor for class org.springframework.transaction.config.JtaTransactionManagerBeanDefinitionParser
- JtaTransactionManagerFactoryBean - Class in org.springframework.transaction.config
-
Deprecated.as of 6.0, in favor of a straight
JtaTransactionManagerdefinition - JtaTransactionManagerFactoryBean() - Constructor for class org.springframework.transaction.config.JtaTransactionManagerFactoryBean
-
Deprecated.
- JtaTransactionObject - Class in org.springframework.transaction.jta
-
JTA transaction object, representing a
UserTransaction. - JtaTransactionObject(UserTransaction) - Constructor for class org.springframework.transaction.jta.JtaTransactionObject
-
Create a new JtaTransactionObject for the given JTA UserTransaction.
L
- label() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
Defines zero (0) or more transaction labels.
- LocalConnectionFactoryBean - Class in org.springframework.jca.support
-
FactoryBeanthat creates a local JCA connection factory in "non-managed" mode (as defined by the Java Connector Architecture specification). - LocalConnectionFactoryBean() - Constructor for class org.springframework.jca.support.LocalConnectionFactoryBean
- logger - Variable in class org.springframework.dao.support.DaoSupport
-
Logger available to subclasses.
- logger - Variable in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
Logger available to subclasses.
- logger - Variable in class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
-
Logger available to subclasses.
- logger - Variable in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
-
Logger available to subclasses.
- logger - Static variable in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
-
Logger available to subclasses.
- logger - Variable in class org.springframework.transaction.interceptor.TransactionAspectSupport
- logger - Static variable in class org.springframework.transaction.jta.SpringJtaSynchronizationAdapter
- logger - Variable in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
- logger - Variable in class org.springframework.transaction.support.AbstractPlatformTransactionManager
- logger - Variable in class org.springframework.transaction.support.TransactionTemplate
-
Logger available to subclasses.
- longResult(Collection<?>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a unique long result from the given Collection.
- lookupTransactionManager(String) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Look up the JTA TransactionManager in JNDI via the configured name.
- lookupTransactionSynchronizationRegistry(String) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Look up the JTA 1.1 TransactionSynchronizationRegistry in JNDI via the configured name.
- lookupUserTransaction(String) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Look up the JTA UserTransaction in JNDI via the configured name.
M
- ManagedTransactionAdapter - Class in org.springframework.transaction.jta
-
Adapter for a managed JTA Transaction handle, taking a JTA
TransactionManagerreference and creating a JTATransactionhandle for it. - ManagedTransactionAdapter(TransactionManager) - Constructor for class org.springframework.transaction.jta.ManagedTransactionAdapter
-
Create a new ManagedTransactionAdapter for the given TransactionManager.
- MANDATORY - Enum constant in enum class org.springframework.transaction.annotation.Propagation
-
Support a current transaction, throw an exception if none exists.
- MatchAlwaysTransactionAttributeSource - Class in org.springframework.transaction.interceptor
-
Very simple implementation of TransactionAttributeSource which will always return the same TransactionAttribute for all methods fed to it.
- MatchAlwaysTransactionAttributeSource() - Constructor for class org.springframework.transaction.interceptor.MatchAlwaysTransactionAttributeSource
- methodIdentification(Method, Class<?>) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Convenience method to return a String representation of this Method for use in logging.
- MethodMapTransactionAttributeSource - Class in org.springframework.transaction.interceptor
-
Simple
TransactionAttributeSourceimplementation that allows attributes to be stored per method in aMap. - MethodMapTransactionAttributeSource() - Constructor for class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
- mode() - Element in annotation interface org.springframework.transaction.annotation.EnableTransactionManagement
-
Indicate how transactional advice should be applied.
N
- NameMatchTransactionAttributeSource - Class in org.springframework.transaction.interceptor
-
Simple
TransactionAttributeSourceimplementation that allows attributes to be matched by registered name. - NameMatchTransactionAttributeSource() - Constructor for class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
- NESTED - Enum constant in enum class org.springframework.transaction.annotation.Propagation
-
Execute within a nested transaction if a current transaction exists, behave like
REQUIREDotherwise. - NestedTransactionNotSupportedException - Exception in org.springframework.transaction
-
Exception thrown when attempting to work with a nested transaction but nested transactions are not supported by the underlying backend.
- NestedTransactionNotSupportedException(String) - Constructor for exception org.springframework.transaction.NestedTransactionNotSupportedException
-
Constructor for NestedTransactionNotSupportedException.
- NestedTransactionNotSupportedException(String, Throwable) - Constructor for exception org.springframework.transaction.NestedTransactionNotSupportedException
-
Constructor for NestedTransactionNotSupportedException.
- NEVER - Enum constant in enum class org.springframework.transaction.annotation.Propagation
-
Execute non-transactionally, throw an exception if a transaction exists.
- newTransactionStatus(TransactionStatus) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
- NonTransientDataAccessException - Exception in org.springframework.dao
-
Root of the hierarchy of data access exceptions that are considered non-transient - where a retry of the same operation would fail unless the cause of the Exception is corrected.
- NonTransientDataAccessException(String) - Constructor for exception org.springframework.dao.NonTransientDataAccessException
-
Constructor for NonTransientDataAccessException.
- NonTransientDataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.NonTransientDataAccessException
-
Constructor for NonTransientDataAccessException.
- NonTransientDataAccessResourceException - Exception in org.springframework.dao
-
Data access exception thrown when a resource fails completely and the failure is permanent.
- NonTransientDataAccessResourceException(String) - Constructor for exception org.springframework.dao.NonTransientDataAccessResourceException
-
Constructor for NonTransientDataAccessResourceException.
- NonTransientDataAccessResourceException(String, Throwable) - Constructor for exception org.springframework.dao.NonTransientDataAccessResourceException
-
Constructor for NonTransientDataAccessResourceException.
- noRollbackFor() - Element in annotation interface org.springframework.transaction.annotation.Transactional
- noRollbackForClassName() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
Defines zero (0) or more exception name patterns (for exceptions which must be a subclass of
Throwable) indicating which exception types must not cause a transaction rollback. - NoRollbackRuleAttribute - Class in org.springframework.transaction.interceptor
-
Tag subclass of
RollbackRuleAttributethat has the opposite behavior to theRollbackRuleAttributesuperclass. - NoRollbackRuleAttribute(Class<?>) - Constructor for class org.springframework.transaction.interceptor.NoRollbackRuleAttribute
-
Create a new instance of the
NoRollbackRuleAttributeclass for the givenexceptionType. - NoRollbackRuleAttribute(String) - Constructor for class org.springframework.transaction.interceptor.NoRollbackRuleAttribute
-
Create a new instance of the
NoRollbackRuleAttributeclass for the suppliedexceptionPattern. - NOT_SUPPORTED - Enum constant in enum class org.springframework.transaction.annotation.Propagation
-
Execute non-transactionally, suspend the current transaction if one exists.
- NoTransactionException - Exception in org.springframework.transaction
-
Exception thrown when an operation is attempted that relies on an existing transaction (such as setting rollback status) and there is no existing transaction.
- NoTransactionException(String) - Constructor for exception org.springframework.transaction.NoTransactionException
-
Constructor for NoTransactionException.
- NoTransactionException(String, Throwable) - Constructor for exception org.springframework.transaction.NoTransactionException
-
Constructor for NoTransactionException.
- nullableSingleResult(Collection<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a single result object from the given Collection.
O
- objectResult(Collection<?>, Class<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a unique result object from the given Collection.
- onApplicationEvent(E) - Method in class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
- onApplicationEvent(ApplicationEvent) - Method in class org.springframework.transaction.event.TransactionalApplicationListenerMethodAdapter
- onEndpointException(Throwable) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory.AbstractMessageEndpoint
-
Callback method for notifying the endpoint base class that the concrete endpoint invocation led to an exception.
- OptimisticLockingFailureException - Exception in org.springframework.dao
-
Exception thrown on an optimistic locking violation.
- OptimisticLockingFailureException(String) - Constructor for exception org.springframework.dao.OptimisticLockingFailureException
-
Constructor for OptimisticLockingFailureException.
- OptimisticLockingFailureException(String, Throwable) - Constructor for exception org.springframework.dao.OptimisticLockingFailureException
-
Constructor for OptimisticLockingFailureException.
- optionalResult(Collection<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a single result object from the given Collection.
- optionalResult(Iterator<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a single result object from the given Iterator.
- optionalResult(Stream<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a single result object from the given Stream.
- order() - Element in annotation interface org.springframework.transaction.annotation.EnableTransactionManagement
-
Indicate the ordering of the execution of the transaction advisor when multiple advices are applied at a specific joinpoint.
- org.springframework.dao - package org.springframework.dao
-
Exception hierarchy enabling sophisticated error handling independent of the data access approach in use.
- org.springframework.dao.annotation - package org.springframework.dao.annotation
-
Annotation support for DAOs.
- org.springframework.dao.support - package org.springframework.dao.support
-
Support classes for DAO implementations, providing miscellaneous utility methods.
- org.springframework.jca.endpoint - package org.springframework.jca.endpoint
-
This package provides a facility for generic JCA message endpoint management.
- org.springframework.jca.support - package org.springframework.jca.support
-
Provides generic support classes for JCA usage within Spring, mainly for local setup of a JCA ResourceAdapter and/or ConnectionFactory.
- org.springframework.transaction - package org.springframework.transaction
-
Spring's core transaction management APIs (independent of any specific transaction management system); an exception hierarchy for Spring's transaction infrastructure; and transaction manager, definition, and status interfaces.
- org.springframework.transaction.annotation - package org.springframework.transaction.annotation
-
Spring's support for annotation-based transaction demarcation.
- org.springframework.transaction.config - package org.springframework.transaction.config
-
Support package for declarative transaction configuration, with XML schema being the primary configuration format.
- org.springframework.transaction.event - package org.springframework.transaction.event
-
Spring's support for listening to transaction events.
- org.springframework.transaction.interceptor - package org.springframework.transaction.interceptor
-
AOP-based solution for declarative transaction demarcation.
- org.springframework.transaction.jta - package org.springframework.transaction.jta
-
Transaction SPI implementation for JTA.
- org.springframework.transaction.reactive - package org.springframework.transaction.reactive
-
Support classes for reactive transaction management.
- org.springframework.transaction.support - package org.springframework.transaction.support
-
Support classes for the org.springframework.transaction package.
P
- parseTransactionAnnotation(TransactionAttribute) - Method in class org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser
- parseTransactionAnnotation(Transactional) - Method in class org.springframework.transaction.annotation.JtaTransactionAnnotationParser
- parseTransactionAnnotation(AnnotatedElement) - Method in class org.springframework.transaction.annotation.Ejb3TransactionAnnotationParser
- parseTransactionAnnotation(AnnotatedElement) - Method in class org.springframework.transaction.annotation.JtaTransactionAnnotationParser
- parseTransactionAnnotation(AnnotatedElement) - Method in class org.springframework.transaction.annotation.SpringTransactionAnnotationParser
- parseTransactionAnnotation(AnnotatedElement) - Method in interface org.springframework.transaction.annotation.TransactionAnnotationParser
-
Parse the transaction attribute for the given method or class, based on an annotation type understood by this parser.
- parseTransactionAnnotation(AnnotationAttributes) - Method in class org.springframework.transaction.annotation.JtaTransactionAnnotationParser
- parseTransactionAnnotation(AnnotationAttributes) - Method in class org.springframework.transaction.annotation.SpringTransactionAnnotationParser
- parseTransactionAnnotation(Transactional) - Method in class org.springframework.transaction.annotation.SpringTransactionAnnotationParser
- PermissionDeniedDataAccessException - Exception in org.springframework.dao
-
Exception thrown when the underlying resource denied a permission to access a specific element, such as a specific database table.
- PermissionDeniedDataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.PermissionDeniedDataAccessException
-
Constructor for PermissionDeniedDataAccessException.
- PersistenceExceptionTranslationAdvisor - Class in org.springframework.dao.annotation
-
Spring AOP exception translation aspect for use at Repository or DAO layer level.
- PersistenceExceptionTranslationAdvisor(PersistenceExceptionTranslator, Class<? extends Annotation>) - Constructor for class org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor
-
Create a new PersistenceExceptionTranslationAdvisor.
- PersistenceExceptionTranslationInterceptor - Class in org.springframework.dao.support
-
AOP Alliance MethodInterceptor that provides persistence exception translation based on a given PersistenceExceptionTranslator.
- PersistenceExceptionTranslationInterceptor() - Constructor for class org.springframework.dao.support.PersistenceExceptionTranslationInterceptor
-
Create a new PersistenceExceptionTranslationInterceptor.
- PersistenceExceptionTranslationInterceptor(ListableBeanFactory) - Constructor for class org.springframework.dao.support.PersistenceExceptionTranslationInterceptor
-
Create a new PersistenceExceptionTranslationInterceptor, autodetecting PersistenceExceptionTranslators in the given BeanFactory.
- PersistenceExceptionTranslationInterceptor(PersistenceExceptionTranslator) - Constructor for class org.springframework.dao.support.PersistenceExceptionTranslationInterceptor
-
Create a new PersistenceExceptionTranslationInterceptor for the given PersistenceExceptionTranslator.
- PersistenceExceptionTranslationPostProcessor - Class in org.springframework.dao.annotation
-
Bean post-processor that automatically applies persistence exception translation to any bean marked with Spring's @
Repositoryannotation, adding a correspondingPersistenceExceptionTranslationAdvisorto the exposed proxy (either an existing AOP proxy or a newly generated proxy that implements all of the target's interfaces). - PersistenceExceptionTranslationPostProcessor() - Constructor for class org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor
- PersistenceExceptionTranslator - Interface in org.springframework.dao.support
-
Interface implemented by Spring integrations with data access technologies that throw runtime exceptions, such as JPA and Hibernate.
- PessimisticLockingFailureException - Exception in org.springframework.dao
-
Exception thrown on a pessimistic locking violation.
- PessimisticLockingFailureException(String) - Constructor for exception org.springframework.dao.PessimisticLockingFailureException
-
Constructor for PessimisticLockingFailureException.
- PessimisticLockingFailureException(String, Throwable) - Constructor for exception org.springframework.dao.PessimisticLockingFailureException
-
Constructor for PessimisticLockingFailureException.
- phase() - Element in annotation interface org.springframework.transaction.event.TransactionalEventListener
-
Phase to bind the handling of an event to.
- PlatformTransactionManager - Interface in org.springframework.transaction
-
This is the central interface in Spring's imperative transaction infrastructure.
- postProcessEvent(ApplicationEvent, Throwable) - Method in interface org.springframework.transaction.event.TransactionalApplicationListener.SynchronizationCallback
-
Called after a transactional event listener invocation.
- postProcessProxyFactory(ProxyFactory) - Method in class org.springframework.transaction.interceptor.TransactionProxyFactoryBean
-
As of 4.2, this method adds
TransactionalProxyto the set of proxy interfaces in order to avoid re-processing of transaction metadata. - PREFIX_COMMIT_RULE - Static variable in class org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
-
Prefix for commit-on-exception rules in description strings.
- PREFIX_ISOLATION - Static variable in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Prefix for the isolation constants defined in TransactionDefinition.
- PREFIX_PROPAGATION - Static variable in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Prefix for the propagation constants defined in TransactionDefinition.
- PREFIX_ROLLBACK_RULE - Static variable in class org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
-
Prefix for rollback-on-exception rules in description strings.
- PREFIX_TIMEOUT - Static variable in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Prefix for transaction timeout values in description strings.
- prepareForCommit(TransactionSynchronizationManager, GenericReactiveTransaction) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Make preparations for commit, to be performed before the
beforeCommitsynchronization callbacks occur. - prepareForCommit(DefaultTransactionStatus) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Make preparations for commit, to be performed before the
beforeCommitsynchronization callbacks occur. - prepareSynchronization(DefaultTransactionStatus, TransactionDefinition) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Initialize transaction synchronization as appropriate.
- prepareTransactionInfo(PlatformTransactionManager, TransactionAttribute, String, TransactionStatus) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Prepare a TransactionInfo for the given attribute and status object.
- preProcessEvent(ApplicationEvent) - Method in interface org.springframework.transaction.event.TransactionalApplicationListener.SynchronizationCallback
-
Called before transactional event listener invocation.
- proceedWithInvocation() - Method in interface org.springframework.transaction.interceptor.TransactionAspectSupport.InvocationCallback
- processEvent(E) - Method in interface org.springframework.transaction.event.TransactionalApplicationListener
-
Immediately process the given
ApplicationEvent. - processEvent(E) - Method in class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
- processResourceAfterCommit(H) - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
-
After-commit callback for the given resource holder.
- processResourceAfterCommit(O) - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
-
After-commit callback for the given resource holder.
- propagation() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
The transaction propagation type.
- Propagation - Enum Class in org.springframework.transaction.annotation
-
Enumeration that represents transaction propagation behaviors for use with the
Transactionalannotation, corresponding to theTransactionDefinitioninterface. - PROPAGATION_MANDATORY - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Support a current transaction; throw an exception if no current transaction exists.
- PROPAGATION_NESTED - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Execute within a nested transaction if a current transaction exists, behaving like
TransactionDefinition.PROPAGATION_REQUIREDotherwise. - PROPAGATION_NEVER - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Do not support a current transaction; throw an exception if a current transaction exists.
- PROPAGATION_NOT_SUPPORTED - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Do not support a current transaction; rather always execute non-transactionally.
- PROPAGATION_REQUIRED - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Support a current transaction; create a new one if none exists.
- PROPAGATION_REQUIRES_NEW - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Create a new transaction, suspending the current transaction if one exists.
- PROPAGATION_SUPPORTS - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Support a current transaction; execute non-transactionally if none exists.
- proxyTargetClass() - Element in annotation interface org.springframework.transaction.annotation.EnableTransactionManagement
-
Indicate whether subclass-based (CGLIB) proxies are to be created (
true) as opposed to standard Java interface-based proxies (false). - ProxyTransactionManagementConfiguration - Class in org.springframework.transaction.annotation
-
@Configurationclass that registers the Spring infrastructure beans necessary to enable proxy-based annotation-driven transaction management. - ProxyTransactionManagementConfiguration() - Constructor for class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
- publishEvent(Object) - Method in class org.springframework.transaction.reactive.TransactionalEventPublisher
-
Publish an event created for the given payload.
- publishEvent(Function<TransactionContext, ApplicationEvent>) - Method in class org.springframework.transaction.reactive.TransactionalEventPublisher
-
Publish an event created through the given function which maps the transaction source object (the
TransactionContext) to the event instance.
Q
- QueryTimeoutException - Exception in org.springframework.dao
-
Exception to be thrown on a query timeout.
- QueryTimeoutException(String) - Constructor for exception org.springframework.dao.QueryTimeoutException
-
Constructor for QueryTimeoutException.
- QueryTimeoutException(String, Throwable) - Constructor for exception org.springframework.dao.QueryTimeoutException
-
Constructor for QueryTimeoutException.
R
- ReactiveResourceSynchronization<O,
K> - Class in org.springframework.transaction.reactive -
TransactionSynchronizationimplementation that manages a resource object bound throughTransactionSynchronizationManager. - ReactiveResourceSynchronization(O, K, TransactionSynchronizationManager) - Constructor for class org.springframework.transaction.reactive.ReactiveResourceSynchronization
-
Create a new ReactiveResourceSynchronization for the given holder.
- ReactiveTransaction - Interface in org.springframework.transaction
-
Representation of an ongoing
ReactiveTransactionManagertransaction. - ReactiveTransactionManager - Interface in org.springframework.transaction
-
This is the central interface in Spring's reactive transaction infrastructure.
- READ_COMMITTED - Enum constant in enum class org.springframework.transaction.annotation.Isolation
-
A constant indicating that dirty reads are prevented; non-repeatable reads and phantom reads can occur.
- READ_ONLY_MARKER - Static variable in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Marker for read-only transactions in description strings.
- READ_UNCOMMITTED - Enum constant in enum class org.springframework.transaction.annotation.Isolation
-
A constant indicating that dirty reads, non-repeatable reads, and phantom reads can occur.
- readOnly() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
A boolean flag that can be set to
trueif the transaction is effectively read-only, allowing for corresponding optimizations at runtime. - RecoverableDataAccessException - Exception in org.springframework.dao
-
Data access exception thrown when a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch.
- RecoverableDataAccessException(String) - Constructor for exception org.springframework.dao.RecoverableDataAccessException
-
Constructor for RecoverableDataAccessException.
- RecoverableDataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.RecoverableDataAccessException
-
Constructor for RecoverableDataAccessException.
- registerAfterCompletionWithExistingTransaction(Object, List<TransactionSynchronization>) - Method in class org.springframework.transaction.jta.JtaTransactionManager
- registerAfterCompletionWithExistingTransaction(Object, List<TransactionSynchronization>) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Register the given list of transaction synchronizations with the existing transaction.
- registerAfterCompletionWithExistingTransaction(TransactionSynchronizationManager, Object, List<TransactionSynchronization>) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
Register the given list of transaction synchronizations with the existing transaction.
- registerDestructionCallback(String, Runnable) - Method in class org.springframework.transaction.support.SimpleTransactionScope
- registerSynchronization(Synchronization) - Method in class org.springframework.transaction.jta.ManagedTransactionAdapter
- registerSynchronization(TransactionSynchronization) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Register a new transaction synchronization for the current context.
- registerSynchronization(TransactionSynchronization) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Register a new transaction synchronization for the current thread.
- release() - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory.AbstractMessageEndpoint
- released() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Decrease the reference count by one because the holder has been released (i.e.
- releaseHeldSavepoint() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Release the savepoint that is held for the transaction.
- releaseResource(H, K) - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
-
Release the given resource (after it has been unbound from the thread).
- releaseResource(O, K) - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
-
Release the given resource (after it has been unbound from the thread).
- releaseSavepoint(Object) - Method in interface org.springframework.transaction.SavepointManager
-
Explicitly release the given savepoint.
- releaseSavepoint(Object) - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
This implementation delegates to a SavepointManager for the underlying transaction, if possible.
- remove(String) - Method in class org.springframework.transaction.support.SimpleTransactionScope
- REPEATABLE_READ - Enum constant in enum class org.springframework.transaction.annotation.Isolation
-
A constant indicating that dirty reads and non-repeatable reads are prevented; phantom reads can occur.
- requested() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Increase the reference count by one because the holder has been requested (i.e.
- REQUIRED - Enum constant in enum class org.springframework.transaction.annotation.Propagation
-
Support a current transaction, create a new one if none exists.
- requiredSingleResult(Collection<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a single result object from the given Collection.
- requiredUniqueResult(Collection<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a unique result object from the given Collection.
- REQUIRES_NEW - Enum constant in enum class org.springframework.transaction.annotation.Propagation
-
Create a new transaction, and suspend the current transaction if one exists.
- reset() - Method in interface org.springframework.transaction.support.ResourceHolder
-
Reset the transactional state of this holder.
- reset() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Reset this resource holder - transactional state as well as reference count.
- resetRollbackOnly() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Reset the rollback-only status for this resource transaction.
- resolveAttributeStrings(StringValueResolver) - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Resolve attribute values that are defined as resolvable Strings:
DefaultTransactionAttribute.setTimeoutString(java.lang.String),DefaultTransactionAttribute.setQualifier(java.lang.String),DefaultTransactionAttribute.setLabels(java.util.Collection<java.lang.String>). - resolveContextualObject(String) - Method in class org.springframework.transaction.support.SimpleTransactionScope
- resolveId(Element, AbstractBeanDefinition, ParserContext) - Method in class org.springframework.transaction.config.JtaTransactionManagerBeanDefinitionParser
- ResourceAdapterFactoryBean - Class in org.springframework.jca.support
-
FactoryBeanthat bootstraps the specified JCA 1.7ResourceAdapter, starting it with a localBootstrapContextand exposing it for bean references. - ResourceAdapterFactoryBean() - Constructor for class org.springframework.jca.support.ResourceAdapterFactoryBean
- ResourceHolder - Interface in org.springframework.transaction.support
-
Generic interface to be implemented by resource holders.
- ResourceHolderSupport - Class in org.springframework.transaction.support
-
Convenient base class for resource holders.
- ResourceHolderSupport() - Constructor for class org.springframework.transaction.support.ResourceHolderSupport
- ResourceHolderSynchronization<H extends ResourceHolder,
K> - Class in org.springframework.transaction.support -
TransactionSynchronizationimplementation that manages aResourceHolderbound throughTransactionSynchronizationManager. - ResourceHolderSynchronization(H, K) - Constructor for class org.springframework.transaction.support.ResourceHolderSynchronization
-
Create a new ResourceHolderSynchronization for the given holder.
- ResourceTransactionDefinition - Interface in org.springframework.transaction.support
-
Extended variant of
TransactionDefinition, indicating a resource transaction and in particular whether the transactional resource is ready for local optimizations. - ResourceTransactionManager - Interface in org.springframework.transaction.support
-
Extension of the
PlatformTransactionManagerinterface, indicating a native resource transaction manager, operating on a single target resource. - RestrictedTransactionalEventListenerFactory - Class in org.springframework.transaction.annotation
-
Extension of
TransactionalEventListenerFactory, detecting invalid transaction configuration for transactional event listeners:Transactionalonly supported withPropagation.REQUIRES_NEWandPropagation.NOT_SUPPORTED. - RestrictedTransactionalEventListenerFactory() - Constructor for class org.springframework.transaction.annotation.RestrictedTransactionalEventListenerFactory
- resume() - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
- resume() - Method in interface org.springframework.transaction.reactive.TransactionSynchronization
-
Resume this synchronization.
- resume() - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
- resume() - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Resume this synchronization.
- resume() - Method in class org.springframework.transaction.support.TransactionSynchronizationAdapter
-
Deprecated.
- resume(Object, AbstractPlatformTransactionManager.SuspendedResourcesHolder) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Resume the given transaction.
- retrieveTransactionManager() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Allows subclasses to retrieve the JTA TransactionManager in a vendor-specific manner.
- retrieveTransactionSynchronizationRegistry() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Allows subclasses to retrieve the JTA 1.1 TransactionSynchronizationRegistry in a vendor-specific manner.
- retrieveUserTransaction() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Allows subclasses to retrieve the JTA UserTransaction in a vendor-specific manner.
- rollback() - Method in class org.springframework.transaction.jta.ManagedTransactionAdapter
- rollback() - Method in class org.springframework.transaction.jta.UserTransactionAdapter
- rollback(ReactiveTransaction) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
-
This implementation of rollback handles participating in existing transactions.
- rollback(ReactiveTransaction) - Method in interface org.springframework.transaction.ReactiveTransactionManager
-
Perform a rollback of the given transaction.
- rollback(TransactionStatus) - Method in interface org.springframework.transaction.PlatformTransactionManager
-
Perform a rollback of the given transaction.
- rollback(TransactionStatus) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
This implementation of rollback handles participating in existing transactions.
- ROLLBACK_ON_ALL_EXCEPTIONS - Static variable in class org.springframework.transaction.interceptor.RollbackRuleAttribute
-
The rollback rule for all
Exceptions, including checked exceptions. - ROLLBACK_ON_RUNTIME_EXCEPTIONS - Static variable in class org.springframework.transaction.interceptor.RollbackRuleAttribute
-
The rollback rule for
RuntimeExceptions. - rollbackFor() - Element in annotation interface org.springframework.transaction.annotation.Transactional
- rollbackForClassName() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
Defines zero (0) or more exception name patterns (for exceptions which must be a subclass of
Throwable), indicating which exception types must cause a transaction rollback. - rollbackOn() - Element in annotation interface org.springframework.transaction.annotation.EnableTransactionManagement
-
Indicate the rollback behavior for rule-based transactions without custom rollback rules: default is rollback on unchecked exception, this can be switched to rollback on any exception (including checked).
- rollbackOn(Throwable) - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
The default behavior is as with EJB: rollback on unchecked exception (
RuntimeException), assuming an unexpected outcome outside any business rules. - rollbackOn(Throwable) - Method in class org.springframework.transaction.interceptor.DelegatingTransactionAttribute
- rollbackOn(Throwable) - Method in class org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
-
Winning rule is the shallowest rule (that is, the closest in the inheritance hierarchy to the exception).
- rollbackOn(Throwable) - Method in interface org.springframework.transaction.interceptor.TransactionAttribute
-
Should we roll back on the given exception?
- RollbackOn - Enum Class in org.springframework.transaction.annotation
-
An enum for global rollback-on behavior.
- RollbackRuleAttribute - Class in org.springframework.transaction.interceptor
-
Rule determining whether a given exception should cause a rollback.
- RollbackRuleAttribute(Class<?>) - Constructor for class org.springframework.transaction.interceptor.RollbackRuleAttribute
-
Create a new instance of the
RollbackRuleAttributeclass for the givenexceptionType. - RollbackRuleAttribute(String) - Constructor for class org.springframework.transaction.interceptor.RollbackRuleAttribute
-
Create a new instance of the
RollbackRuleAttributeclass for the givenexceptionPattern. - rollbackToHeldSavepoint() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Roll back to the savepoint that is held for the transaction and release the savepoint right afterwards.
- rollbackToSavepoint(Object) - Method in interface org.springframework.transaction.SavepointManager
-
Roll back to the given savepoint.
- rollbackToSavepoint(Object) - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
This implementation delegates to a SavepointManager for the underlying transaction, if possible.
- RuleBasedTransactionAttribute - Class in org.springframework.transaction.interceptor
-
TransactionAttribute implementation that works out whether a given exception should cause transaction rollback by applying a number of rollback rules, both positive and negative.
- RuleBasedTransactionAttribute() - Constructor for class org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
-
Create a new RuleBasedTransactionAttribute, with default settings.
- RuleBasedTransactionAttribute(int, List<RollbackRuleAttribute>) - Constructor for class org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
-
Create a new DefaultTransactionAttribute with the given propagation behavior.
- RuleBasedTransactionAttribute(RuleBasedTransactionAttribute) - Constructor for class org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
-
Copy constructor.
- RUNTIME_EXCEPTIONS - Enum constant in enum class org.springframework.transaction.annotation.RollbackOn
-
The default rollback-on behavior: rollback on
RuntimeExceptionsas well asErrors.
S
- sameResourceFactory(ResourceTransactionManager, Object) - Static method in class org.springframework.transaction.support.TransactionSynchronizationUtils
-
Check whether the given resource transaction manager refers to the given (underlying) resource factory.
- savepoint(Object) - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Invoked on creation of a new savepoint, either when a nested transaction is started against an existing transaction or on a programmatic savepoint via
TransactionStatus. - SavepointManager - Interface in org.springframework.transaction
-
Interface that specifies an API to programmatically manage transaction savepoints in a generic fashion.
- savepointRollback(Object) - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Invoked in case of a rollback to the previously created savepoint.
- selectImports(AdviceMode) - Method in class org.springframework.transaction.annotation.TransactionManagementConfigurationSelector
-
Returns
ProxyTransactionManagementConfigurationorAspectJ(Jta)TransactionManagementConfigurationforPROXYandASPECTJvalues ofEnableTransactionManagement.mode(), respectively. - SERIALIZABLE - Enum constant in enum class org.springframework.transaction.annotation.Isolation
-
A constant indicating that dirty reads, non-repeatable reads, and phantom reads are prevented.
- setActivationSpec(ActivationSpec) - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Set the JCA ActivationSpec to use for activating the endpoint.
- setActualTransactionActive(boolean) - Method in class org.springframework.transaction.reactive.TransactionContext
- setActualTransactionActive(boolean) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Expose whether there currently is an actual transaction active.
- setActualTransactionActive(boolean) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Expose whether there currently is an actual transaction active.
- setAllowCustomIsolationLevels(boolean) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set whether to allow custom isolation levels to be specified.
- setAlwaysTranslate(boolean) - Method in class org.springframework.dao.support.PersistenceExceptionTranslationInterceptor
-
Specify whether to always translate the exception ("true"), or whether throw the raw exception when declared, i.e.
- setAsText(String) - Method in class org.springframework.transaction.interceptor.TransactionAttributeEditor
-
Format is PROPAGATION_NAME,ISOLATION_NAME,readOnly,timeout_NNNN,+Exception1,-Exception2.
- setAsText(String) - Method in class org.springframework.transaction.interceptor.TransactionAttributeSourceEditor
- setAutodetectTransactionManager(boolean) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set whether to autodetect a JTA UserTransaction object that implements the JTA TransactionManager interface too (i.e.
- setAutodetectTransactionSynchronizationRegistry(boolean) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set whether to autodetect a JTA 1.1 TransactionSynchronizationRegistry object at its default JDNI location ("java:comp/TransactionSynchronizationRegistry") if the UserTransaction has also been obtained from JNDI, and also whether to fall back to checking whether the JTA UserTransaction/TransactionManager object implements the JTA TransactionSynchronizationRegistry interface too.
- setAutodetectUserTransaction(boolean) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set whether to autodetect the JTA UserTransaction at its default JNDI location "java:comp/UserTransaction", as specified by Jakarta EE.
- setAutoStartup(boolean) - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Set whether to auto-start the endpoint activation after this endpoint manager has been initialized and the context has been refreshed.
- setBeanClassLoader(ClassLoader) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
- setBeanFactory(BeanFactory) - Method in class org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor
- setBeanFactory(BeanFactory) - Method in class org.springframework.dao.support.PersistenceExceptionTranslationInterceptor
- setBeanFactory(BeanFactory) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Set the BeanFactory to use for retrieving
TransactionManagerbeans. - setBeanFactory(BeanFactory) - Method in class org.springframework.transaction.interceptor.TransactionProxyFactoryBean
-
This callback is optional: If running in a BeanFactory and no transaction manager has been set explicitly, a single matching bean of type
PlatformTransactionManagerwill be fetched from the BeanFactory. - setBeanName(String) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
Set the name of this message endpoint.
- setBootstrapContext(BootstrapContext) - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
-
Specify the JCA BootstrapContext to use for starting the ResourceAdapter.
- setCacheUserTransaction(boolean) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set whether to cache the JTA UserTransaction object fetched from JNDI.
- setClassFilter(ClassFilter) - Method in class org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor
-
Set the
ClassFilterto use for this pointcut. - setClassFilter(ClassFilter) - Method in class org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor
-
Set the
ClassFilterto use for this pointcut. - setCompleted() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
-
Mark this transaction as completed, that is, committed or rolled back.
- setCompleted() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Mark this transaction as completed, that is, committed or rolled back.
- setConnectionManager(ConnectionManager) - Method in class org.springframework.jca.support.LocalConnectionFactoryBean
-
Set the JCA ConnectionManager that should be used to create the desired connection factory.
- setCurrentTransactionIsolationLevel(Integer) - Method in class org.springframework.transaction.reactive.TransactionContext
- setCurrentTransactionIsolationLevel(Integer) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Expose an isolation level for the current transaction.
- setCurrentTransactionIsolationLevel(Integer) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Expose an isolation level for the current transaction.
- setCurrentTransactionName(String) - Method in class org.springframework.transaction.reactive.TransactionContext
- setCurrentTransactionName(String) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Expose the name of the current transaction, if any.
- setCurrentTransactionName(String) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Expose the name of the current transaction, if any.
- setCurrentTransactionReadOnly(boolean) - Method in class org.springframework.transaction.reactive.TransactionContext
- setCurrentTransactionReadOnly(boolean) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Expose a read-only flag for the current transaction.
- setCurrentTransactionReadOnly(boolean) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Expose a read-only flag for the current transaction.
- setDefaultTimeout(int) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Specify the default timeout that this transaction manager should apply if there is no timeout specified at the transaction level, in seconds.
- setDescriptor(String) - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Set a descriptor for this transaction attribute, for example, indicating where the attribute is applying.
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.transaction.interceptor.AbstractFallbackTransactionAttributeSource
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
- setEmbeddedValueResolver(StringValueResolver) - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
- setFailEarlyOnGlobalRollbackOnly(boolean) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Set whether to fail early in case of the transaction being globally marked as rollback-only.
- setGlobalRollbackOnParticipationFailure(boolean) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Set whether to globally mark an existing transaction as rollback-only after a participating transaction failed.
- setImportMetadata(AnnotationMetadata) - Method in class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
- setIsolationLevel(int) - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Set the isolation level.
- setIsolationLevelName(String) - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Set the isolation level by the name of the corresponding constant in
TransactionDefinition— for example,"ISOLATION_DEFAULT". - setJndiEnvironment(Properties) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set the JNDI environment to use for JNDI lookups.
- setJndiTemplate(JndiTemplate) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set the JndiTemplate to use for JNDI lookups.
- setLabels(Collection<String>) - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Associate one or more labels with this transaction attribute.
- setListenerId(String) - Method in class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
-
Specify an id to identify the listener with.
- setManagedConnectionFactory(ManagedConnectionFactory) - Method in class org.springframework.jca.support.LocalConnectionFactoryBean
-
Set the JCA ManagerConnectionFactory that should be used to create the desired connection factory.
- setMessageEndpointFactory(MessageEndpointFactory) - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Set the JCA MessageEndpointFactory to activate, pointing to a MessageListener object that the endpoints will delegate to.
- setMessageListener(Object) - Method in class org.springframework.jca.endpoint.GenericMessageEndpointFactory
-
Specify the message listener object that the endpoint should expose (for example, a
jakarta.jms.MessageListenerobjects orMessageListenerimplementation). - setMethodMap(Map<String, TransactionAttribute>) - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
-
Set a name/attribute map, consisting of "
<fully-qualified class name>.<method-name>" method names (for example, "com.mycompany.mycode.MyClass.myMethod") andTransactionAttributeinstances (or Strings to be converted toTransactionAttributeinstances). - setName(String) - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Set the name of this transaction.
- setNameMap(Map<String, TransactionAttribute>) - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
-
Set a name/attribute map, consisting of method names (for example, "myMethod") and
TransactionAttributeinstances. - setNestedTransactionAllowed(boolean) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Set whether nested transactions are allowed.
- setOrder(int) - Method in class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
-
Specify the synchronization order for the listener.
- setOrder(int) - Method in class org.springframework.transaction.event.TransactionalEventListenerFactory
- setPersistenceExceptionTranslator(PersistenceExceptionTranslator) - Method in class org.springframework.dao.support.PersistenceExceptionTranslationInterceptor
-
Specify the PersistenceExceptionTranslator to use.
- setPhase(int) - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Specify the phase in which this endpoint manager should be started and stopped.
- setPointcut(Pointcut) - Method in class org.springframework.transaction.interceptor.TransactionProxyFactoryBean
-
Set a pointcut, i.e a bean that can cause conditional invocation of the TransactionInterceptor depending on method and attributes passed.
- setPropagationBehavior(int) - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Set the propagation behavior.
- setPropagationBehaviorName(String) - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Set the propagation behavior by the name of the corresponding constant in
TransactionDefinition— for example,"PROPAGATION_REQUIRED". - setProperties(Properties) - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
-
Parse the given properties into a name/attribute map.
- setPublicMethodsOnly(boolean) - Method in class org.springframework.transaction.annotation.AnnotationTransactionAttributeSource
-
Set whether transactional methods are expected to be public.
- setQualifier(String) - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Associate a qualifier value with this transaction attribute.
- setReadOnly(boolean) - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Set whether to optimize as read-only transaction.
- setRepositoryAnnotationType(Class<? extends Annotation>) - Method in class org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor
-
Set the 'repository' annotation type.
- setResourceAdapter(ResourceAdapter) - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Set the JCA ResourceAdapter to manage endpoints for.
- setResourceAdapter(ResourceAdapter) - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
-
Specify the target JCA ResourceAdapter, passed in as configured instance which hasn't been started yet.
- setResourceAdapterClass(Class<? extends ResourceAdapter>) - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
-
Specify the target JCA ResourceAdapter as class, to be instantiated with its default configuration.
- setRollbackOnCommitFailure(boolean) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Set whether
doRollbackshould be performed on failure of thedoCommitcall. - setRollbackOnly() - Method in class org.springframework.transaction.jta.ManagedTransactionAdapter
- setRollbackOnly() - Method in class org.springframework.transaction.jta.UserTransactionAdapter
- setRollbackOnly() - Method in class org.springframework.transaction.reactive.GenericReactiveTransaction
- setRollbackOnly() - Method in class org.springframework.transaction.support.AbstractTransactionStatus
- setRollbackOnly() - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Mark the resource transaction as rollback-only.
- setRollbackOnly() - Method in interface org.springframework.transaction.TransactionExecution
-
Set the transaction rollback-only.
- setRollbackRules(List<RollbackRuleAttribute>) - Method in class org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
-
Set the list of
RollbackRuleAttributeobjects (and/orNoRollbackRuleAttributeobjects) to apply. - setSavepoint(Object) - Method in class org.springframework.transaction.support.AbstractTransactionStatus
-
Set a savepoint for this transaction.
- setSynchronizations(Set<TransactionSynchronization>) - Method in class org.springframework.transaction.reactive.TransactionContext
- setSynchronizedWithTransaction(boolean) - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Mark the resource as synchronized with a transaction.
- setTimeout(int) - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Set the timeout to apply, as number of seconds.
- setTimeoutInMillis(long) - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Set the timeout for this object in milliseconds.
- setTimeoutInSeconds(int) - Method in class org.springframework.transaction.support.ResourceHolderSupport
-
Set the timeout for this object in seconds.
- setTimeoutString(String) - Method in class org.springframework.transaction.interceptor.DefaultTransactionAttribute
-
Set the timeout to apply, if any, as a String value that resolves to a number of seconds.
- setTransactionAttribute(TransactionAttribute) - Method in class org.springframework.transaction.interceptor.MatchAlwaysTransactionAttributeSource
-
Allows a transaction attribute to be specified, using the String form, for example, "PROPAGATION_REQUIRED".
- setTransactionAttributes(Properties) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Set properties with method names as keys and transaction attribute descriptors (parsed via TransactionAttributeEditor) as values: for example, key = "myMethod", value = "PROPAGATION_REQUIRED,readOnly".
- setTransactionAttributes(Properties) - Method in class org.springframework.transaction.interceptor.TransactionProxyFactoryBean
-
Set properties with method names as keys and transaction attribute descriptors (parsed via TransactionAttributeEditor) as values: for example, key = "myMethod", value = "PROPAGATION_REQUIRED,readOnly".
- setTransactionAttributeSource(TransactionAttributeSource) - Method in class org.springframework.transaction.interceptor.BeanFactoryTransactionAttributeSourceAdvisor
-
Set the transaction attribute source which is used to find transaction attributes.
- setTransactionAttributeSource(TransactionAttributeSource) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Set the transaction attribute source which is used to find transaction attributes.
- setTransactionAttributeSource(TransactionAttributeSource) - Method in class org.springframework.transaction.interceptor.TransactionProxyFactoryBean
-
Set the transaction attribute source which is used to find transaction attributes.
- setTransactionAttributeSources(TransactionAttributeSource...) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Set multiple transaction attribute sources which are used to find transaction attributes.
- setTransactionExecutionListeners(Collection<TransactionExecutionListener>) - Method in interface org.springframework.transaction.ConfigurableTransactionManager
-
Set the transaction execution listeners for begin/commit/rollback callbacks from this transaction manager.
- setTransactionExecutionListeners(Collection<TransactionExecutionListener>) - Method in class org.springframework.transaction.reactive.AbstractReactiveTransactionManager
- setTransactionExecutionListeners(Collection<TransactionExecutionListener>) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
- setTransactionFactory(TransactionFactory) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
Set the Spring TransactionFactory to use for wrapping endpoint invocations, enlisting the endpoint resource in each such transaction.
- setTransactionInterceptor(TransactionInterceptor) - Method in class org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor
-
Set the transaction interceptor to use for this advisor.
- setTransactionManager(TransactionManager) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set the JTA TransactionManager to use as direct reference.
- setTransactionManager(Object) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
Set the XA transaction manager to use for wrapping endpoint invocations, enlisting the endpoint resource in each such transaction.
- setTransactionManager(PlatformTransactionManager) - Method in class org.springframework.transaction.interceptor.TransactionProxyFactoryBean
-
Set the default transaction manager.
- setTransactionManager(PlatformTransactionManager) - Method in class org.springframework.transaction.support.TransactionTemplate
-
Set the transaction management strategy to be used.
- setTransactionManager(TransactionManager) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Specify the default transaction manager to use to drive transactions.
- setTransactionManagerBeanName(String) - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport
-
Specify the name of the default transaction manager bean.
- setTransactionManagerName(String) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set the JNDI name of the JTA TransactionManager.
- setTransactionName(String) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
Specify the name of the transaction, if any.
- setTransactionPhase(TransactionPhase) - Method in class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
-
Specify the transaction phase to invoke the listener in.
- setTransactionSynchronization(int) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Set when this transaction manager should activate the thread-bound transaction synchronization support.
- setTransactionSynchronizationName(String) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Set the transaction synchronization by the name of the corresponding constant in this class — for example,
"SYNCHRONIZATION_ALWAYS". - setTransactionSynchronizationRegistry(TransactionSynchronizationRegistry) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set the JTA 1.1 TransactionSynchronizationRegistry to use as direct reference.
- setTransactionSynchronizationRegistryName(String) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set the JNDI name of the JTA 1.1 TransactionSynchronizationRegistry.
- setTransactionTimeout(int) - Method in class org.springframework.jca.endpoint.AbstractMessageEndpointFactory
-
Specify the transaction timeout, if any.
- setTransactionTimeout(int) - Method in class org.springframework.transaction.jta.UserTransactionAdapter
- setUserTransaction(UserTransaction) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set the JTA UserTransaction to use as direct reference.
- setUserTransactionName(String) - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
Set the JNDI name of the JTA UserTransaction.
- setValidateExistingTransaction(boolean) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Set whether existing transactions should be validated before participating in them.
- setWorkManager(WorkManager) - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
-
Specify the JCA WorkManager to use for bootstrapping the ResourceAdapter.
- setXaTerminator(XATerminator) - Method in class org.springframework.jca.support.ResourceAdapterFactoryBean
-
Specify the JCA XATerminator to use for bootstrapping the ResourceAdapter.
- shouldCommitOnGlobalRollbackOnly() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
This implementation returns "true": a JTA commit will properly handle transactions that have been marked rollback-only at a global level.
- shouldCommitOnGlobalRollbackOnly() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return whether to call
doCommiton a transaction that has been marked as rollback-only in a global fashion. - shouldReleaseAfterCompletion(H) - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
-
Return whether this holder's resource should be released after transaction completion (
true). - shouldReleaseAfterCompletion(O) - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
-
Return whether this holder's resource should be released after transaction completion (
true). - shouldReleaseBeforeCompletion() - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
-
Return whether this holder's resource should be released before transaction completion (
true) or rather after transaction completion (false). - shouldReleaseBeforeCompletion() - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
-
Return whether this holder's resource should be released before transaction completion (
true) or rather after transaction completion (false). - shouldUnbindAtCompletion() - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
-
Return whether this holder should be unbound at completion (or should rather be left bound to the thread after the transaction).
- shouldUnbindAtCompletion() - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
-
Return whether this holder should be unbound at completion (or should rather be left bound to the thread after the transaction).
- SimpleBootstrapContext - Class in org.springframework.jca.support
-
Simple implementation of the JCA 1.7
BootstrapContextinterface, used for bootstrapping a JCA ResourceAdapter in a local environment. - SimpleBootstrapContext(WorkManager) - Constructor for class org.springframework.jca.support.SimpleBootstrapContext
-
Create a new SimpleBootstrapContext for the given WorkManager, with no XATerminator available.
- SimpleBootstrapContext(WorkManager, XATerminator) - Constructor for class org.springframework.jca.support.SimpleBootstrapContext
-
Create a new SimpleBootstrapContext for the given WorkManager and XATerminator.
- SimpleBootstrapContext(WorkManager, XATerminator, TransactionSynchronizationRegistry) - Constructor for class org.springframework.jca.support.SimpleBootstrapContext
-
Create a new SimpleBootstrapContext for the given WorkManager, XATerminator and TransactionSynchronizationRegistry.
- SimpleTransactionFactory - Class in org.springframework.transaction.jta
-
Default implementation of the
TransactionFactorystrategy interface, simply wrapping a standard JTATransactionManager. - SimpleTransactionFactory(TransactionManager) - Constructor for class org.springframework.transaction.jta.SimpleTransactionFactory
-
Create a new SimpleTransactionFactory for the given TransactionManager.
- SimpleTransactionScope - Class in org.springframework.transaction.support
-
A simple transaction-backed
Scopeimplementation, delegating toTransactionSynchronizationManager's resource binding mechanism. - SimpleTransactionScope() - Constructor for class org.springframework.transaction.support.SimpleTransactionScope
- SimpleTransactionStatus - Class in org.springframework.transaction.support
-
A simple
TransactionStatusimplementation. - SimpleTransactionStatus() - Constructor for class org.springframework.transaction.support.SimpleTransactionStatus
-
Create a new
SimpleTransactionStatusinstance, indicating a new transaction. - SimpleTransactionStatus(boolean) - Constructor for class org.springframework.transaction.support.SimpleTransactionStatus
-
Create a new
SimpleTransactionStatusinstance. - singleResult(Collection<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a single result object from the given Collection.
- singleResult(Iterator<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a single result object from the given Iterator.
- singleResult(Stream<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a single result object from the given Stream.
- SmartTransactionObject - Interface in org.springframework.transaction.support
-
Interface to be implemented by transaction objects that are able to return an internal rollback-only marker, typically from another transaction that has participated and marked it as rollback-only.
- SpringJtaSynchronizationAdapter - Class in org.springframework.transaction.jta
-
Adapter that implements the JTA
Synchronizationinterface delegating to an underlying SpringTransactionSynchronization. - SpringJtaSynchronizationAdapter(TransactionSynchronization) - Constructor for class org.springframework.transaction.jta.SpringJtaSynchronizationAdapter
-
Create a new SpringJtaSynchronizationAdapter for the given Spring TransactionSynchronization and JTA TransactionManager.
- SpringJtaSynchronizationAdapter(TransactionSynchronization, TransactionManager) - Constructor for class org.springframework.transaction.jta.SpringJtaSynchronizationAdapter
-
Deprecated.as of 6.0.12 since JTA 1.1+ requires implicit rollback-only setting in case of an exception thrown in
beforeCompletion, so the regularSpringJtaSynchronizationAdapter(TransactionSynchronization)constructor is sufficient for all scenarios - SpringJtaSynchronizationAdapter(TransactionSynchronization, UserTransaction) - Constructor for class org.springframework.transaction.jta.SpringJtaSynchronizationAdapter
-
Deprecated.as of 6.0.12 since JTA 1.1+ requires implicit rollback-only setting in case of an exception thrown in
beforeCompletion, so the regularSpringJtaSynchronizationAdapter(TransactionSynchronization)constructor is sufficient for all scenarios - SpringTransactionAnnotationParser - Class in org.springframework.transaction.annotation
-
Strategy implementation for parsing Spring's
Transactionalannotation. - SpringTransactionAnnotationParser() - Constructor for class org.springframework.transaction.annotation.SpringTransactionAnnotationParser
- start() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Activates the configured message endpoint.
- STATE_COMMITTED - Static variable in exception org.springframework.transaction.HeuristicCompletionException
-
Committed outcome state.
- STATE_MIXED - Static variable in exception org.springframework.transaction.HeuristicCompletionException
-
Mixed outcome state.
- STATE_ROLLED_BACK - Static variable in exception org.springframework.transaction.HeuristicCompletionException
-
Rolledback outcome state.
- STATE_UNKNOWN - Static variable in exception org.springframework.transaction.HeuristicCompletionException
-
Unknown outcome state.
- STATUS_COMMITTED - Static variable in interface org.springframework.transaction.reactive.TransactionSynchronization
-
Completion status in case of proper commit.
- STATUS_COMMITTED - Static variable in interface org.springframework.transaction.support.TransactionSynchronization
-
Completion status in case of proper commit.
- STATUS_ROLLED_BACK - Static variable in interface org.springframework.transaction.reactive.TransactionSynchronization
-
Completion status in case of proper rollback.
- STATUS_ROLLED_BACK - Static variable in interface org.springframework.transaction.support.TransactionSynchronization
-
Completion status in case of proper rollback.
- STATUS_UNKNOWN - Static variable in interface org.springframework.transaction.reactive.TransactionSynchronization
-
Completion status in case of heuristic mixed completion or system errors.
- STATUS_UNKNOWN - Static variable in interface org.springframework.transaction.support.TransactionSynchronization
-
Completion status in case of heuristic mixed completion or system errors.
- stop() - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
-
Deactivates the configured message endpoint.
- stop(Runnable) - Method in class org.springframework.jca.endpoint.GenericMessageEndpointManager
- SUPPORTS - Enum constant in enum class org.springframework.transaction.annotation.Propagation
-
Support a current transaction, execute non-transactionally if none exists.
- supportsAsyncExecution() - Method in interface org.springframework.transaction.event.TransactionalApplicationListener
-
Transaction-synchronized listeners do not support asynchronous execution, only their target listener (
TransactionalApplicationListener.processEvent(E)) potentially does. - supportsMethod(Method) - Method in class org.springframework.transaction.event.TransactionalEventListenerFactory
- supportsResourceAdapterManagedTransactions() - Method in class org.springframework.transaction.jta.JtaTransactionManager
- supportsResourceAdapterManagedTransactions() - Method in class org.springframework.transaction.jta.SimpleTransactionFactory
- supportsResourceAdapterManagedTransactions() - Method in interface org.springframework.transaction.jta.TransactionFactory
-
Determine whether the underlying transaction manager supports XA transactions managed by a resource adapter (i.e.
- suspend() - Method in class org.springframework.transaction.reactive.ReactiveResourceSynchronization
- suspend() - Method in interface org.springframework.transaction.reactive.TransactionSynchronization
-
Suspend this synchronization.
- suspend() - Method in class org.springframework.transaction.support.ResourceHolderSynchronization
- suspend() - Method in interface org.springframework.transaction.support.TransactionSynchronization
-
Suspend this synchronization.
- suspend() - Method in class org.springframework.transaction.support.TransactionSynchronizationAdapter
-
Deprecated.
- suspend(Object) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Suspend the given transaction.
- SYNCHRONIZATION_ALWAYS - Static variable in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Always activate transaction synchronization, even for "empty" transactions that result from PROPAGATION_SUPPORTS with no existing backend transaction.
- SYNCHRONIZATION_NEVER - Static variable in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Never active transaction synchronization, not even for actual transactions.
- SYNCHRONIZATION_ON_ACTUAL_TRANSACTION - Static variable in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Activate transaction synchronization only for actual transactions, that is, not for empty ones that result from PROPAGATION_SUPPORTS with no existing backend transaction.
T
- timeout() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
The timeout for this transaction (in seconds).
- TIMEOUT_DEFAULT - Static variable in interface org.springframework.transaction.TransactionDefinition
-
Use the default timeout of the underlying transaction system, or none if timeouts are not supported.
- timeoutString() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
The timeout for this transaction (in seconds).
- toString() - Method in class org.springframework.transaction.interceptor.MatchAlwaysTransactionAttributeSource
- toString() - Method in class org.springframework.transaction.interceptor.MethodMapTransactionAttributeSource
- toString() - Method in class org.springframework.transaction.interceptor.NameMatchTransactionAttributeSource
- toString() - Method in class org.springframework.transaction.interceptor.NoRollbackRuleAttribute
- toString() - Method in class org.springframework.transaction.interceptor.RollbackRuleAttribute
- toString() - Method in class org.springframework.transaction.interceptor.RuleBasedTransactionAttribute
- toString() - Method in class org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
- toString() - Method in class org.springframework.transaction.support.DefaultTransactionDefinition
-
Return an identifying description for this transaction definition.
- toString() - Method in class org.springframework.transaction.support.DelegatingTransactionDefinition
- TRANSACTION_ADVISOR_BEAN_NAME - Static variable in class org.springframework.transaction.config.TransactionManagementConfigUtils
-
The bean name of the internally managed transaction advisor (used when mode == PROXY).
- TRANSACTION_ASPECT_BEAN_NAME - Static variable in class org.springframework.transaction.config.TransactionManagementConfigUtils
-
The bean name of the internally managed transaction aspect (used when mode == ASPECTJ).
- TRANSACTION_ASPECT_CLASS_NAME - Static variable in class org.springframework.transaction.config.TransactionManagementConfigUtils
-
The class name of the AspectJ transaction management aspect.
- TRANSACTION_ASPECT_CONFIGURATION_CLASS_NAME - Static variable in class org.springframework.transaction.config.TransactionManagementConfigUtils
-
The name of the AspectJ transaction management @
Configurationclass. - transactionAdvisor(TransactionAttributeSource, TransactionInterceptor) - Method in class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
- transactional(Flux<T>) - Method in interface org.springframework.transaction.reactive.TransactionalOperator
-
Wrap the functional sequence specified by the given Flux within a transaction.
- transactional(Mono<T>) - Method in interface org.springframework.transaction.reactive.TransactionalOperator
-
Wrap the functional sequence specified by the given Mono within a transaction.
- Transactional - Annotation Interface in org.springframework.transaction.annotation
-
Describes a transaction attribute on an individual method or on a class.
- TRANSACTIONAL_EVENT_LISTENER_FACTORY_BEAN_NAME - Static variable in class org.springframework.transaction.config.TransactionManagementConfigUtils
-
The bean name of the internally managed TransactionalEventListenerFactory.
- TransactionalApplicationListener<E extends org.springframework.context.ApplicationEvent> - Interface in org.springframework.transaction.event
-
An
ApplicationListenerthat is invoked according to aTransactionPhase. - TransactionalApplicationListener.SynchronizationCallback - Interface in org.springframework.transaction.event
-
Callback to be invoked on synchronization-driven event processing, wrapping the target listener invocation (
TransactionalApplicationListener.processEvent(E)). - TransactionalApplicationListenerAdapter<E extends org.springframework.context.ApplicationEvent> - Class in org.springframework.transaction.event
-
TransactionalApplicationListeneradapter that delegates the processing of an event to a targetApplicationListenerinstance. - TransactionalApplicationListenerAdapter(ApplicationListener<E>) - Constructor for class org.springframework.transaction.event.TransactionalApplicationListenerAdapter
-
Construct a new TransactionalApplicationListenerAdapter.
- TransactionalApplicationListenerMethodAdapter - Class in org.springframework.transaction.event
-
GenericApplicationListeneradapter that delegates the processing of an event to aTransactionalEventListenerannotated method. - TransactionalApplicationListenerMethodAdapter(String, Class<?>, Method) - Constructor for class org.springframework.transaction.event.TransactionalApplicationListenerMethodAdapter
-
Construct a new TransactionalApplicationListenerMethodAdapter.
- TransactionalEventListener - Annotation Interface in org.springframework.transaction.event
-
An
EventListenerthat is invoked according to aTransactionPhase. - transactionalEventListenerFactory() - Static method in class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
- TransactionalEventListenerFactory - Class in org.springframework.transaction.event
-
EventListenerFactoryimplementation that handlesTransactionalEventListenerannotated methods. - TransactionalEventListenerFactory() - Constructor for class org.springframework.transaction.event.TransactionalEventListenerFactory
- TransactionalEventPublisher - Class in org.springframework.transaction.reactive
-
A delegate for publishing transactional events in a reactive setup.
- TransactionalEventPublisher(ApplicationEventPublisher) - Constructor for class org.springframework.transaction.reactive.TransactionalEventPublisher
-
Create a new delegate for publishing transactional events in a reactive setup.
- TransactionalOperator - Interface in org.springframework.transaction.reactive
-
Operator class that simplifies programmatic transaction demarcation and transaction exception handling.
- TransactionalProxy - Interface in org.springframework.transaction.interceptor
-
A marker interface for manually created transactional proxies.
- TransactionAnnotationParser - Interface in org.springframework.transaction.annotation
-
Strategy interface for parsing known transaction annotation types.
- TransactionAspectSupport - Class in org.springframework.transaction.interceptor
-
Base class for transactional aspects, such as the
TransactionInterceptoror an AspectJ aspect. - TransactionAspectSupport() - Constructor for class org.springframework.transaction.interceptor.TransactionAspectSupport
- TransactionAspectSupport.InvocationCallback - Interface in org.springframework.transaction.interceptor
-
Simple callback interface for proceeding with the target invocation.
- TransactionAspectSupport.TransactionInfo - Class in org.springframework.transaction.interceptor
-
Opaque object used to hold transaction information.
- TransactionAttribute - Interface in org.springframework.transaction.interceptor
-
This interface adds a
rollbackOnspecification toTransactionDefinition. - TransactionAttributeEditor - Class in org.springframework.transaction.interceptor
-
PropertyEditor for
TransactionAttributeobjects. - TransactionAttributeEditor() - Constructor for class org.springframework.transaction.interceptor.TransactionAttributeEditor
- transactionAttributeSource() - Method in class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
- TransactionAttributeSource - Interface in org.springframework.transaction.interceptor
-
Strategy interface used by
TransactionInterceptorfor metadata retrieval. - TransactionAttributeSourceAdvisor - Class in org.springframework.transaction.interceptor
-
Advisor driven by a
TransactionAttributeSource, used to include aTransactionInterceptoronly for methods that are transactional. - TransactionAttributeSourceAdvisor() - Constructor for class org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor
-
Create a new TransactionAttributeSourceAdvisor.
- TransactionAttributeSourceAdvisor(TransactionInterceptor) - Constructor for class org.springframework.transaction.interceptor.TransactionAttributeSourceAdvisor
-
Create a new TransactionAttributeSourceAdvisor.
- TransactionAttributeSourceEditor - Class in org.springframework.transaction.interceptor
-
Property editor that converts a String into a
TransactionAttributeSource. - TransactionAttributeSourceEditor() - Constructor for class org.springframework.transaction.interceptor.TransactionAttributeSourceEditor
- TransactionCallback<T> - Interface in org.springframework.transaction.reactive
-
Callback interface for reactive transactional code.
- TransactionCallback<T> - Interface in org.springframework.transaction.support
-
Callback interface for transactional code.
- TransactionCallbackWithoutResult - Class in org.springframework.transaction.support
-
Simple convenience class for TransactionCallback implementation.
- TransactionCallbackWithoutResult() - Constructor for class org.springframework.transaction.support.TransactionCallbackWithoutResult
- TransactionContext - Class in org.springframework.transaction.reactive
-
Mutable transaction context that encapsulates transactional synchronizations and resources in the scope of a single transaction.
- TransactionContextManager - Class in org.springframework.transaction.reactive
-
Delegate to register and obtain transactional contexts.
- TransactionDefinition - Interface in org.springframework.transaction
-
Interface that defines Spring-compliant transaction properties.
- TransactionException - Exception in org.springframework.transaction
-
Superclass for all transaction exceptions.
- TransactionException(String) - Constructor for exception org.springframework.transaction.TransactionException
-
Constructor for TransactionException.
- TransactionException(String, Throwable) - Constructor for exception org.springframework.transaction.TransactionException
-
Constructor for TransactionException.
- TransactionExecution - Interface in org.springframework.transaction
-
Common representation of the current state of a transaction.
- TransactionExecutionListener - Interface in org.springframework.transaction
-
Callback interface for stateless listening to transaction creation/completion steps in a transaction manager.
- TransactionFactory - Interface in org.springframework.transaction.jta
-
Strategy interface for creating JTA
Transactionobjects based on specified transactional characteristics. - TransactionInfo(PlatformTransactionManager, TransactionAttribute, String) - Constructor for class org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
- transactionInterceptor(TransactionAttributeSource) - Method in class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration
- TransactionInterceptor - Class in org.springframework.transaction.interceptor
-
AOP Alliance MethodInterceptor for declarative transaction management using the common Spring transaction infrastructure (
PlatformTransactionManager/ReactiveTransactionManager). - TransactionInterceptor() - Constructor for class org.springframework.transaction.interceptor.TransactionInterceptor
-
Create a new TransactionInterceptor.
- TransactionInterceptor(PlatformTransactionManager, Properties) - Constructor for class org.springframework.transaction.interceptor.TransactionInterceptor
-
Deprecated.as of 5.2.5, in favor of
TransactionAspectSupport.setTransactionAttributes(Properties) - TransactionInterceptor(PlatformTransactionManager, TransactionAttributeSource) - Constructor for class org.springframework.transaction.interceptor.TransactionInterceptor
-
Deprecated.as of 5.2.5, in favor of
TransactionInterceptor(TransactionManager, TransactionAttributeSource) - TransactionInterceptor(TransactionManager, TransactionAttributeSource) - Constructor for class org.springframework.transaction.interceptor.TransactionInterceptor
-
Create a new TransactionInterceptor.
- TransactionManagementConfigurationSelector - Class in org.springframework.transaction.annotation
-
Selects which implementation of
AbstractTransactionManagementConfigurationshould be used based on the value ofEnableTransactionManagement.mode()on the importing@Configurationclass. - TransactionManagementConfigurationSelector() - Constructor for class org.springframework.transaction.annotation.TransactionManagementConfigurationSelector
- TransactionManagementConfigurer - Interface in org.springframework.transaction.annotation
-
Interface to be implemented by @
Configurationclasses annotated with @EnableTransactionManagementthat wish to (or need to) explicitly specify the defaultPlatformTransactionManagerbean (orReactiveTransactionManagerbean) to be used for annotation-driven transaction management, as opposed to the default approach of a by-type lookup. - TransactionManagementConfigUtils - Class in org.springframework.transaction.config
-
Configuration constants for internal sharing across subpackages.
- TransactionManagementConfigUtils() - Constructor for class org.springframework.transaction.config.TransactionManagementConfigUtils
- transactionManager() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
A qualifier value for the specified transaction.
- TransactionManager - Interface in org.springframework.transaction
-
Marker interface for Spring transaction manager implementations, either traditional or reactive.
- TransactionOperations - Interface in org.springframework.transaction.support
-
Interface specifying basic transaction execution operations.
- TransactionPhase - Enum Class in org.springframework.transaction.event
-
The phase in which a transactional event listener applies.
- TransactionProxyFactoryBean - Class in org.springframework.transaction.interceptor
-
Proxy factory bean for simplified declarative transaction handling.
- TransactionProxyFactoryBean() - Constructor for class org.springframework.transaction.interceptor.TransactionProxyFactoryBean
- TransactionStatus - Interface in org.springframework.transaction
-
Representation of an ongoing
PlatformTransactionManagertransaction. - TransactionSuspensionNotSupportedException - Exception in org.springframework.transaction
-
Exception thrown when attempting to suspend an existing transaction but transaction suspension is not supported by the underlying backend.
- TransactionSuspensionNotSupportedException(String) - Constructor for exception org.springframework.transaction.TransactionSuspensionNotSupportedException
-
Constructor for TransactionSuspensionNotSupportedException.
- TransactionSuspensionNotSupportedException(String, Throwable) - Constructor for exception org.springframework.transaction.TransactionSuspensionNotSupportedException
-
Constructor for TransactionSuspensionNotSupportedException.
- TransactionSynchronization - Interface in org.springframework.transaction.reactive
-
Interface for reactive transaction synchronization callbacks.
- TransactionSynchronization - Interface in org.springframework.transaction.support
-
Interface for transaction synchronization callbacks.
- TransactionSynchronizationAdapter - Class in org.springframework.transaction.support
-
Deprecated.as of 5.3, in favor of the default methods on the
TransactionSynchronizationinterface - TransactionSynchronizationAdapter() - Constructor for class org.springframework.transaction.support.TransactionSynchronizationAdapter
-
Deprecated.
- TransactionSynchronizationManager - Class in org.springframework.transaction.reactive
-
Central delegate that manages resources and transaction synchronizations per subscriber context.
- TransactionSynchronizationManager - Class in org.springframework.transaction.support
-
Central delegate that manages resources and transaction synchronizations per thread.
- TransactionSynchronizationManager() - Constructor for class org.springframework.transaction.support.TransactionSynchronizationManager
- TransactionSynchronizationManager(TransactionContext) - Constructor for class org.springframework.transaction.reactive.TransactionSynchronizationManager
- TransactionSynchronizationUtils - Class in org.springframework.transaction.support
-
Utility methods for triggering specific
TransactionSynchronizationcallback methods on all currently registered synchronizations. - TransactionSynchronizationUtils() - Constructor for class org.springframework.transaction.support.TransactionSynchronizationUtils
- TransactionSystemException - Exception in org.springframework.transaction
-
Exception thrown when a general transaction system error is encountered, like on commit or rollback.
- TransactionSystemException(String) - Constructor for exception org.springframework.transaction.TransactionSystemException
-
Constructor for TransactionSystemException.
- TransactionSystemException(String, Throwable) - Constructor for exception org.springframework.transaction.TransactionSystemException
-
Constructor for TransactionSystemException.
- TransactionTemplate - Class in org.springframework.transaction.support
-
Template class that simplifies programmatic transaction demarcation and transaction exception handling.
- TransactionTemplate() - Constructor for class org.springframework.transaction.support.TransactionTemplate
-
Construct a new TransactionTemplate for bean usage.
- TransactionTemplate(PlatformTransactionManager) - Constructor for class org.springframework.transaction.support.TransactionTemplate
-
Construct a new TransactionTemplate using the given transaction manager.
- TransactionTemplate(PlatformTransactionManager, TransactionDefinition) - Constructor for class org.springframework.transaction.support.TransactionTemplate
-
Construct a new TransactionTemplate using the given transaction manager, taking its default settings from the given transaction definition.
- TransactionTimedOutException - Exception in org.springframework.transaction
-
Exception to be thrown when a transaction has timed out.
- TransactionTimedOutException(String) - Constructor for exception org.springframework.transaction.TransactionTimedOutException
-
Constructor for TransactionTimedOutException.
- TransactionTimedOutException(String, Throwable) - Constructor for exception org.springframework.transaction.TransactionTimedOutException
-
Constructor for TransactionTimedOutException.
- TransactionUsageException - Exception in org.springframework.transaction
-
Superclass for exceptions caused by inappropriate usage of a Spring transaction API.
- TransactionUsageException(String) - Constructor for exception org.springframework.transaction.TransactionUsageException
-
Constructor for TransactionUsageException.
- TransactionUsageException(String, Throwable) - Constructor for exception org.springframework.transaction.TransactionUsageException
-
Constructor for TransactionUsageException.
- TransientDataAccessException - Exception in org.springframework.dao
-
Root of the hierarchy of data access exceptions that are considered transient - where a previously failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality.
- TransientDataAccessException(String) - Constructor for exception org.springframework.dao.TransientDataAccessException
-
Constructor for TransientDataAccessException.
- TransientDataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.TransientDataAccessException
-
Constructor for TransientDataAccessException.
- TransientDataAccessResourceException - Exception in org.springframework.dao
-
Data access exception thrown when a resource fails temporarily and the operation can be retried.
- TransientDataAccessResourceException(String) - Constructor for exception org.springframework.dao.TransientDataAccessResourceException
-
Constructor for TransientDataAccessResourceException.
- TransientDataAccessResourceException(String, Throwable) - Constructor for exception org.springframework.dao.TransientDataAccessResourceException
-
Constructor for TransientDataAccessResourceException.
- translateExceptionIfPossible(RuntimeException) - Method in class org.springframework.dao.support.ChainedPersistenceExceptionTranslator
- translateExceptionIfPossible(RuntimeException) - Method in interface org.springframework.dao.support.PersistenceExceptionTranslator
-
Translate the given runtime exception thrown by a persistence framework to a corresponding exception from Spring's generic
DataAccessExceptionhierarchy, if possible. - translateIfNecessary(RuntimeException, PersistenceExceptionTranslator) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a translated exception if this is appropriate, otherwise return the given exception as-is.
- triggerAfterCommit() - Static method in class org.springframework.transaction.support.TransactionSynchronizationUtils
-
Trigger
afterCommitcallbacks on all currently registered synchronizations. - triggerAfterCompletion(int) - Static method in class org.springframework.transaction.support.TransactionSynchronizationUtils
-
Trigger
afterCompletioncallbacks on all currently registered synchronizations. - triggerBeforeCommit(boolean) - Static method in class org.springframework.transaction.support.TransactionSynchronizationUtils
-
Trigger
beforeCommitcallbacks on all currently registered synchronizations. - triggerBeforeCommit(DefaultTransactionStatus) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Trigger
beforeCommitcallbacks. - triggerBeforeCompletion() - Static method in class org.springframework.transaction.support.TransactionSynchronizationUtils
-
Trigger
beforeCompletioncallbacks on all currently registered synchronizations. - triggerBeforeCompletion(DefaultTransactionStatus) - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Trigger
beforeCompletioncallbacks. - triggerFlush() - Static method in class org.springframework.transaction.support.TransactionSynchronizationUtils
-
Trigger
flushcallbacks on all currently registered synchronizations. - txManager - Variable in class org.springframework.transaction.annotation.AbstractTransactionManagementConfiguration
-
Default transaction manager, as configured through a
TransactionManagementConfigurer. - TxNamespaceHandler - Class in org.springframework.transaction.config
-
NamespaceHandlerallowing for the configuration of declarative transaction management using either XML or using annotations. - TxNamespaceHandler() - Constructor for class org.springframework.transaction.config.TxNamespaceHandler
- TypeMismatchDataAccessException - Exception in org.springframework.dao
-
Exception thrown on mismatch between Java type and database type: for example on an attempt to set an object of the wrong type in an RDBMS column.
- TypeMismatchDataAccessException(String) - Constructor for exception org.springframework.dao.TypeMismatchDataAccessException
-
Constructor for TypeMismatchDataAccessException.
- TypeMismatchDataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.TypeMismatchDataAccessException
-
Constructor for TypeMismatchDataAccessException.
U
- unbindResource(Object) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Unbind a resource for the given key from the current context.
- unbindResource(Object) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Unbind a resource for the given key from the current thread.
- unbindResourceIfPossible(Object) - Method in class org.springframework.transaction.reactive.TransactionSynchronizationManager
-
Unbind a resource for the given key from the current context.
- unbindResourceIfPossible(Object) - Static method in class org.springframework.transaction.support.TransactionSynchronizationManager
-
Unbind a resource for the given key from the current thread.
- unbound() - Method in interface org.springframework.transaction.support.ResourceHolder
-
Notify this holder that it has been unbound from transaction synchronization.
- unbound() - Method in class org.springframework.transaction.support.ResourceHolderSupport
- UncategorizedDataAccessException - Exception in org.springframework.dao
-
Normal superclass when we can't distinguish anything more specific than "something went wrong with the underlying resource": for example, an SQLException from JDBC we can't pinpoint more precisely.
- UncategorizedDataAccessException(String, Throwable) - Constructor for exception org.springframework.dao.UncategorizedDataAccessException
-
Constructor for UncategorizedDataAccessException.
- UnexpectedRollbackException - Exception in org.springframework.transaction
-
Thrown when an attempt to commit a transaction resulted in an unexpected rollback.
- UnexpectedRollbackException(String) - Constructor for exception org.springframework.transaction.UnexpectedRollbackException
-
Constructor for UnexpectedRollbackException.
- UnexpectedRollbackException(String, Throwable) - Constructor for exception org.springframework.transaction.UnexpectedRollbackException
-
Constructor for UnexpectedRollbackException.
- uniqueResult(Collection<T>) - Static method in class org.springframework.dao.support.DataAccessUtils
-
Return a unique result object from the given Collection.
- unwrapResourceIfNecessary(Object) - Static method in class org.springframework.transaction.support.TransactionSynchronizationUtils
-
Unwrap the given resource handle if necessary; otherwise return the given handle as-is.
- UserTransactionAdapter - Class in org.springframework.transaction.jta
-
Adapter for a JTA UserTransaction handle, taking a JTA
TransactionManagerreference and creating a JTAUserTransactionhandle for it. - UserTransactionAdapter(TransactionManager) - Constructor for class org.springframework.transaction.jta.UserTransactionAdapter
-
Create a new UserTransactionAdapter for the given TransactionManager.
- useSavepointForNestedTransaction() - Method in class org.springframework.transaction.jta.JtaTransactionManager
-
This implementation returns false to cause a further invocation of doBegin despite an already existing transaction.
- useSavepointForNestedTransaction() - Method in class org.springframework.transaction.support.AbstractPlatformTransactionManager
-
Return whether to use a savepoint for a nested transaction.
V
- value() - Method in enum class org.springframework.transaction.annotation.Isolation
- value() - Method in enum class org.springframework.transaction.annotation.Propagation
- value() - Element in annotation interface org.springframework.transaction.annotation.Transactional
-
Alias for
Transactional.transactionManager(). - value() - Element in annotation interface org.springframework.transaction.event.TransactionalEventListener
-
Alias for
TransactionalEventListener.classes(). - valueOf(String) - Static method in enum class org.springframework.transaction.annotation.Isolation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.transaction.annotation.Propagation
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.transaction.annotation.RollbackOn
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.springframework.transaction.event.TransactionPhase
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.springframework.transaction.annotation.Isolation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.transaction.annotation.Propagation
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.transaction.annotation.RollbackOn
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.springframework.transaction.event.TransactionPhase
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- wasDataUpdated() - Method in exception org.springframework.dao.IncorrectUpdateSemanticsDataAccessException
-
Return whether data was updated.
- withDefaults() - Static method in interface org.springframework.transaction.TransactionDefinition
-
Return an unmodifiable
TransactionDefinitionwith defaults. - withoutTransaction() - Static method in interface org.springframework.transaction.support.TransactionOperations
-
Return an implementation of the
TransactionOperationsinterface which executes a givenTransactionCallbackwithout an actual transaction.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
PessimisticLockingFailureException/CannotAcquireLockException