Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

AbstractAutowireCapableObjectFactory.DependencyCheck Method

Perform a dependency check that all properties exposed have been set, if desired.

[Visual Basic]
Protected Sub DependencyCheck( _
   ByVal name As String, _
   ByVal definition As IConfigurableObjectDefinition, _
   ByVal wrapper As IObjectWrapper, _
   ByVal properties As IPropertyValues _
)
[C#]
protected void DependencyCheck(
   string name,
   IConfigurableObjectDefinition definition,
   IObjectWrapper wrapper,
   IPropertyValues properties
);

Parameters

name
The name of the object.
definition
The definition of the named object.
wrapper
The IObjectWrapper wrapping the target object.
properties
The property values to be checked.

Remarks

Dependency checks can be objects (collaborating objects), simple (primitives and String), or all (both).

Exceptions

Exception Type Condition
UnsatisfiedDependencyException If all of the checked dependencies were not satisfied.

See Also

AbstractAutowireCapableObjectFactory Class | Spring.Objects.Factory.Support Namespace