Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ContextRegistry Members

ContextRegistry overview

Public Static (Shared) Properties

SyncRoot Gets an object that should be used to synchronize access to ContextRegistry from the calling code.

Public Static (Shared) Methods

Clear Removes all registered IApplicationContexts from this registry.
GetContextOverloaded. Returns the root application context.
IsContextRegistered Allows to check, if a context is already registered
RegisterContext Registers an instance of an IApplicationContext.

Public Static (Shared) Events

Cleared This event is fired, if ContextRegistry.Clear() is called.
Clients may register to get informed

Public Instance Constructors

ContextRegistry Constructor Initializes a new instance of the ContextRegistry class.

Public Instance Methods

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.
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

ContextRegistry Class | Spring.Context.Support Namespace | IApplicationContext