Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTransactionManager Members

NmsTransactionManager overview

Public Instance Constructors

NmsTransactionManager Overloaded. Initializes a new instance of the NmsTransactionManager class.

Public Instance Properties

ConnectionFactory Gets or sets the connection factory that this instance should manage transaction. for.
DefaultTimeout (inherited from AbstractPlatformTransactionManager) Gets or sets the default timeout that this transaction manager should apply if there is no timeout specified at the transaction level, in seconds.
FailEarlyOnGlobalRollbackOnly (inherited from AbstractPlatformTransactionManager) Gets or sets a value indicating whether to fail early in case of the transaction being globally marked as rollback-only.
NestedTransactionsAllowed (inherited from AbstractPlatformTransactionManager) Sets and gets whether nested transactions are allowed. Default is false.
ResourceFactory Gets the resource factory that this transaction manager operates on, In tihs case the ConnectionFactory
RollbackOnCommitFailure (inherited from AbstractPlatformTransactionManager) Sets and gets a flag that determines whether or not the DoRollback method must be invoked if a call to the DoCommit method fails. Default is false.
TransactionSynchronization (inherited from AbstractPlatformTransactionManager) Sets and gets when this transaction manager should activate the thread-bound transaction synchronization support. Default is "always".

Public Instance Methods

AfterPropertiesSet Make sure the ConnectionFactory has been set.
Commit (inherited from AbstractPlatformTransactionManager) This implementation of commit handles participating in existing transactions and programmatic rollback requests.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetTransaction (inherited from AbstractPlatformTransactionManager) Return a currently active transaction or create a new one.
GetType (inherited from Object)Gets the Type of the current instance.
Rollback (inherited from AbstractPlatformTransactionManager) Roll back the given transaction, with regard to its status.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Fields

log (inherited from AbstractPlatformTransactionManager)Missing <summary> documentation for F:Spring.Transaction.Support.AbstractPlatformTransactionManager.log

Protected Instance Properties

ShouldCommitOnGlobalRollbackOnly (inherited from AbstractPlatformTransactionManager)Missing <summary> documentation for P:Spring.Transaction.Support.AbstractPlatformTransactionManager.ShouldCommitOnGlobalRollbackOnly

Protected Instance Methods

CreateConnection Creates the connection via thie manager's ConnectionFactory.
CreateSession Creates the session for the given Connection
DetermineTimeout (inherited from AbstractPlatformTransactionManager) Determines the timeout to use for the given definition. Will fall back to this manager's default timeout if the transaction definition doesn't specify a non-default value.
DoBegin Begin a new transaction with the given transaction definition.
DoCleanupAfterCompletion Cleanup resources after transaction completion.
DoCommit Perform an actual commit on the given transaction.
DoGetTransaction Get the MessageTransactionObject.
DoResume Resume the resources of the current transaction.
DoRollback Perform an actual rollback on the given transaction.
DoSetRollbackOnly Set the given transaction rollback-only. Only called on rollback if the current transaction takes part in an existing one.
DoSuspend Suspend the resources of the current transaction.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
IsExistingTransaction Check if the given transaction object indicates an existing transaction (that is, a transaction which has already started).
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
RegisterAfterCompletionWithExistingTransaction (inherited from AbstractPlatformTransactionManager) Register the given list of transaction synchronizations with the existing transaction.
UseSavepointForNestedTransaction (inherited from AbstractPlatformTransactionManager) Return whether to use a savepoint for a nested transaction. Default is true, which causes delegation to DefaultTransactionStatus for holding a savepoint.

See Also

NmsTransactionManager Class | Spring.Messaging.Nms.Connections Namespace