Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMethodReplacer Interface

Permits the (re)implementation of an arbitrary method on a Spring.NET IoC container managed object.

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

[Visual Basic]
Public Interface IMethodReplacer
[C#]
public interface IMethodReplacer

Types that implement IMethodReplacer

Type Description
AbstractMethodReplacer An IMethodReplacer implementation that provides some convenience support for derived classes.
DelegatingMethodReplacer An IMethodReplacer implementation that delegates to an IMethodReplacer that is obtained as the result of a lookup in an associated IoC container.
LookupMethodReplacer An IMethodReplacer implementation that simply returns the result of a lookup in an associated IoC container.

Remarks

Encapsulates the notion of the Method-Injection form of Dependency Injection.

Methods that are dependency injected with implementations of this interface may be (but need not be) , in which case the container will create a concrete subclass of the class prior to instantiation.

Do not use this mechanism as a means of AOP. See the reference manual for examples of appropriate usages of this interface.

Requirements

Namespace: Spring.Objects.Factory.Support

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

See Also

IMethodReplacer Members | Spring.Objects.Factory.Support Namespace