Provides access to a central registry of IApplicationContexts.
For a list of all members of this type, see ContextRegistry Members .
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
A singleton implementation to access one or more application contexts. Application context instances are cached.
Note that the use of this class or similar is unnecessary except (sometimes) for a small amount of glue code. Excessive usage will lead to code that is more tightly coupled, and harder to modify or test. Consider refactoring your code to use standard Dependency Injection techniques or implement the interface IApplicationContextAware to obtain a reference to an application context.
Assembly: Spring.Core (in Spring.Core.dll)