From bbb57b90669e20e8358598ea278e2cf1d84ef1f8 Mon Sep 17 00:00:00 2001 From: markpollack Date: Tue, 3 Nov 2009 22:51:15 +0000 Subject: [PATCH] clean up class comments --- .../AbstractAdvisorAutoProxyCreator.cs | 6 +++--- .../IInstantiationAwareObjectPostProcessor.cs | 21 ++++++++++++------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/Spring/Spring.Aop/Aop/Framework/AutoProxy/AbstractAdvisorAutoProxyCreator.cs b/src/Spring/Spring.Aop/Aop/Framework/AutoProxy/AbstractAdvisorAutoProxyCreator.cs index 66b8a6cd..e1f63434 100644 --- a/src/Spring/Spring.Aop/Aop/Framework/AutoProxy/AbstractAdvisorAutoProxyCreator.cs +++ b/src/Spring/Spring.Aop/Aop/Framework/AutoProxy/AbstractAdvisorAutoProxyCreator.cs @@ -39,10 +39,10 @@ namespace Spring.Aop.Framework.AutoProxy /// any particular aspects, such as pooling aspects. /// /// - ///

Subclasses must implement the abstract findCandidateAdvisors() method + ///

Subclasses must implement the abstract FindCandidateAdvisors() method /// to return a list of Advisors applying to any object. Subclasses can also - /// override the inherited shouldSkip() method to exclude certain objects - /// from autoproxying, but they must be careful to invoke the shouldSkip() + /// override the inherited ShouldSkip() method to exclude certain objects + /// from autoproxying, but they must be careful to invoke the ShouldSkip() /// method of this class, which tries to avoid circular reference problems /// and infinite loops.

///

Advisors or advices requiring ordering should implement the Ordered interface. diff --git a/src/Spring/Spring.Core/Objects/Factory/Config/IInstantiationAwareObjectPostProcessor.cs b/src/Spring/Spring.Core/Objects/Factory/Config/IInstantiationAwareObjectPostProcessor.cs index b661cbc1..f86a157e 100644 --- a/src/Spring/Spring.Core/Objects/Factory/Config/IInstantiationAwareObjectPostProcessor.cs +++ b/src/Spring/Spring.Core/Objects/Factory/Config/IInstantiationAwareObjectPostProcessor.cs @@ -27,15 +27,22 @@ namespace Spring.Objects.Factory.Config { ///

/// Subinterface of /// - /// that adds a before-instantiation callback. + /// that adds a before-instantiation callback and a callback after instantiation but before + /// explicit properties are set or autowiring occurs. /// /// - ///

- /// Typical use cases might include being used to suppress the default - /// instantiation of specific target objects, perhaps in favour of creating - /// proxies with special Spring.Aop.ITargetSources (pooling targets, - /// lazily initializing targets, etc). - ///

+ /// + /// Typically used to suppress default instantiation for specific target objects, + /// for example to create proxies with special Spring.Aop.ITargetSources (pooling targets, + /// lazily initializing targets, etc), or to implement additional injection strategies such as field + /// injection. + /// + /// + /// NOTE: This interface is a special purpose interface, mainly for internal use within the framework. + /// It is recommended to implement the plain interface as far as + /// possible, or to derive from in order to be shielded + /// from extension to this interface. + /// ///
/// Juergen Hoeller /// Rick Evans (.NET)