Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractListenerContainer.RunningAllowed Property

Gets a value indicating whether this container's listeners are generally allowed to run.

[Visual Basic]
Protected Overridable ReadOnly Property RunningAllowed() As Boolean
   Protected Get
   End Get
End Property
protected virtual bool RunningAllowed { protected get; }

Property Value

true if running allowed; otherwise, false.


>This implementation always returns

; the default 'running' state is purely determined by Start/Stop.

Subclasses may override this method to check against temporary conditions that prevent listeners from actually running. In other words, they may apply further restrictions to the 'running' state, returning

if such a restriction prevents listeners from running.

See Also

AbstractListenerContainer Class | Spring.Messaging.Ems.Listener Namespace