Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

GenericObjectDefinition Class

GenericObjectDefinition is a one-stop shop for standard object definition purposes. Like any object definition, it allows for specifying a class plus optionally constructor argument values and property values. Additionally, deriving from a parent bean definition can be flexibly configured through the "parentName" property.

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

System.Object
   AbstractObjectDefinition
      GenericObjectDefinition

[Visual Basic]
<Serializable> _
Public Class GenericObjectDefinition
    Inherits AbstractObjectDefinition
[C#]
[Serializable]
public class GenericObjectDefinition : AbstractObjectDefinition

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.

Remarks

In general, use this GenericObjectDefinition class for the purpose of registering user-visible object definitions (which a post-processor might operate on, potentially even reconfiguring the parent name). Use RootObjectDefinition/ChildObjectDefinition where parent/child relationships happen to be pre-determined.

Requirements

Namespace: Spring.Objects.Factory.Support

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

See Also

GenericObjectDefinition Members | Spring.Objects.Factory.Support Namespace | RootObjectDefinition | ChildObjectDefinition