Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ILifecycle Interface

Interface defining methods for start/stop lifecycle control. The typical use case for this is to control asynchronous processing.

For a list of all members of this type, see ILifecycle Members .

Spring.Context.ILifecycle
   Spring.Context.IConfigurableApplicationContext

[Visual Basic]
Public Interface ILifecycle
[C#]
public interface ILifecycle

Types that implement ILifecycle

Type Description
AbstractApplicationContext Partial implementation of the IApplicationContext interface.
AbstractXmlApplicationContext Convenient abstract superclass for IApplicationContext implementations that draw their configuration from XML documents containing object definitions as understood by an XmlObjectDefinitionReader.
GenericApplicationContext Generic ApplicationContext implementation that holds a single internal DefaultListableObjectFactory instance and does not assume a specific object definition format.
StaticApplicationContext IApplicationContext that allows concrete registration of objects and messages in code, rather than from external configuration sources.
WebApplicationContext Web application context, taking the context definition files from the file system or from URLs. Treats resource paths as web resources, when using IApplicationContext.GetResource. Resource paths are considered relative to the virtual directory. Note: In case of multiple config locations, later object definitions will override ones defined in earlier loaded files. This can be leveraged to deliberately override certain object definitions via an extra XML file.
XmlApplicationContext An IApplicationContext implementation that reads context definitions from XML based resources.
AbstractListenerContainer Common base class for all containers which need to implement listening based on a Connection (either shared or freshly obtained for each attempt). Inherits basic Connection and Session configuration handling from the EmsAccessor base class.
AbstractMessageListenerContainer Abstract base class for message listener containers. Can either host a standard EMS MessageListener or a Spring-specific ISessionAwareMessageListener
SimpleMessageListenerContainer Message listener container that uses the plain EMS client API's MessageConsumer.Listener method to create concurrent MessageConsumers for the specified listeners.
AbstractListenerContainer Common base class for all containers which need to implement listening based on a Connection (either shared or freshly obtained for each attempt). Inherits basic Connection and Session configuration handling from the NmsAccessor base class.
AbstractMessageListenerContainer Abstract base class for message listener containers. Can either host a standard NMS MessageListener or a Spring-specific ISessionAwareMessageListener
SimpleMessageListenerContainer Message listener container that uses the plain NMS client API's MessageConsumer.Listener method to create concurrent MessageConsumers for the specified listeners.

Remarks

Can be implemented by both components (typically a Spring object defined in a spring IObjectFactory and containers (typically a spring IApplicationContext. Containers will propagate start/stop signals to all components that apply.

Requirements

Namespace: Spring.Context

Assembly: Spring.Core (in Spring.Core.dll)

See Also

ILifecycle Members | Spring.Context Namespace