Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractListenerContainer Members

AbstractListenerContainer overview

Public Instance Properties

Active Gets a value indicating whether this Container is active, that is, whether it has been set up but not shut down yet.
AutoStartup Sets a value indicating whether to automatically start the container after initialization. Default is "true"; set this to "false" to allow for manual startup though the Start method.
ObjectName Return the object name that this listener container has been assigned in its containing object factory, if any.
Running Gets a value indicating whether this Container is running, that is whether it has been started and not stopped yet.

Public Instance Methods

AfterPropertiesSet Delegates to ValidateConfiguration and Initialize
Dispose Calls Shutdown when the application context destroys the container instance.
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.
GetType (inherited from Object)Gets the Type of the current instance.
Initialize Initializes this container. Calls the abstract method DoInitialize to initialize the listening infrastructure (i.e. subclasses will typically resolve a MessageQueue instance from a MessageQueueObjectName) and then calls the abstract method DoStart if the property AutoStartup is set to true,
Shutdown Sets the container state to inactive and not running, calls template method DoShutdown
Start Starts this container.
Stop Stops this instance.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Constructors

AbstractListenerContainer Constructor Initializes a new instance of the AbstractListenerContainer class.

Protected Instance Methods

DoInitialize Subclasses need to implement this method for their specific listener management process.
DoShutdown Subclasses need to implement this method for their specific listener management process.
DoStart Sets the state to running, can be overridden in subclasses.
DoStop Template method suitable for overriding that stops the container.
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.
RunningAllowed Check whether this container's listeners are generally allowed to run.
ValidateConfiguration Validates the configuration of this container The default implementation is empty. To be overridden in subclasses.

See Also

AbstractListenerContainer Class | Spring.Messaging.Listener Namespace