Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ObjectDefinitionHolder Class

Holder for an IObjectDefinition with name and aliases.

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


[Visual Basic]
<Serializable> _
Public Class ObjectDefinitionHolder
public class ObjectDefinitionHolder

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.


Recognized by AbstractAutowireCapableObjectFactory for inner object definitions. Registered by ObjectsNamespaceParser, which also uses it as general holder for a parsed object definition.

Can also be used for programmatic registration of inner object definitions. If you don't care about the functionality offered by the IObjectNameAware interface and the like, registering RootObjectDefinition or ChildObjectDefinition is good enough.


Namespace: Spring.Objects.Factory.Config

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

See Also

ObjectDefinitionHolder Members | Spring.Objects.Factory.Config Namespace