Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsResourceHolder Members

NmsResourceHolder overview

Public Instance Constructors

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

Public Instance Properties

Deadline (inherited from ResourceHolderSupport) Return the expiration deadline of this object.
Frozen Gets a value indicating whether this NmsResourceHolder is frozen, namely that additional resources can be registered with the holder. If using any of the constructors with a Session, the holder will be set to the frozen state.
HasTimeout (inherited from ResourceHolderSupport) Return whether this object has an associated timeout.
IsOpen (inherited from ResourceHolderSupport) Return wheterh there are still open references to this holder
RollbackOnly (inherited from ResourceHolderSupport) Get or set whether the resource is synchronized with a transaction.
SynchronizedWithTransaction (inherited from ResourceHolderSupport) Mark the resource as synchronized with a transaction.
TimeoutInMillis (inherited from ResourceHolderSupport) Sets the timeout for this object in milliseconds.
TimeoutInSeconds (inherited from ResourceHolderSupport) Sets the timeout for this object in seconds.
TimeToLiveInMilliseconds (inherited from ResourceHolderSupport) Return the time to live for this object in milliseconds.
TimeToLiveInSeconds (inherited from ResourceHolderSupport) Return the time to live for this object in seconds.

Public Instance Methods

AddConnection Adds the connection to the list of resources managed by this holder.
AddSessionOverloaded. Adds the session to the list of resources managed by this holder.
Clear (inherited from ResourceHolderSupport) Clear the transaction state of this resource holder.
CloseAll Closes all sessions then stops and closes all connections, in that order.
CommitAll Commits all sessions.
ContainsSession Determines whether the holder contains the specified session.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetConnectionOverloaded. Gets the connection managed by this resource holder
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.
GetSessionOverloaded. Gets the first session manged by this holder or null if not available.
GetType (inherited from Object)Gets the Type of the current instance.
Released (inherited from ResourceHolderSupport) Decrease the reference count by one because the holder has been released.
Requested (inherited from ResourceHolderSupport) Increase the reference count by one because the holder has been requested.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

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.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

NmsResourceHolder Class | Spring.Messaging.Nms.Connections Namespace