Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectPostProcessor Interface

Allows for custom modification of new object instances, e.g. checking for marker interfaces or wrapping them with proxies.

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

Spring.Objects.Factory.Config.IObjectPostProcessor
   Spring.Objects.Factory.Config.IDestructionAwareObjectPostProcessor
   Spring.Objects.Factory.Config.IInstantiationAwareObjectPostProcessor
   Spring.Objects.Factory.Config.SmartInstantiationAwareObjectPostProcessor

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

Types that implement IObjectPostProcessor

Type Description
AdvisorAdapterRegistrationManager IObjectPostProcessor implementation that registers instances of any non-default IAdvisorAdapter instances with the GlobalAdvisorAdapterRegistry singleton.
AbstractAdvisorAutoProxyCreator Abstract IObjectPostProcessor implementation that creates AOP proxies. This class is completely generic; it contains no special code to handle any particular aspects, such as pooling aspects.
AbstractAutoProxyCreator ObjectPostProcessor implementation that wraps a group of objects with AOP proxies that delegate to the given interceptors before invoking the object itself.
AbstractFilteringAutoProxyCreator The base class for AutoProxyCreator implementations that mark objects eligible for proxying based on arbitrary criteria.
AttributeAutoProxyCreator An AutoProxyCreator, that identifies objects to be proxied by checking Attributes defined on their type.
DefaultAdvisorAutoProxyCreator ObjectPostProcessor implementation that creates AOP proxies based on all candidate Advisors in the current IObjectFactory. This class is completely generic; it contains no special code to handle any particular aspects, such as pooling aspects.
InfrastructureAdvisorAutoProxyCreator A special version of an APC that explicitely cares for infrastructure (=internal) advisors only
ObjectNameAutoProxyCreator AutoProxyCreator that identifies objects to proxy via a list of names.
PointcutFilteringAutoProxyCreator This AutoProxyCreator only proxies objects matching the specified IPointcut.
TypeNameAutoProxyCreator AutoProxyCreator, that identifies objects to proxy by matching their FullName against a list of patterns.
ApplicationContextAwareProcessor IObjectPostProcessor implementation that passes the application context to object that implement the IApplicationContextAware, IMessageSourceAware, and IResourceLoaderAware interfaces.
PersistenceExceptionTranslationPostProcessor Object post-processor that automatically applies persistence exception translation to any bean that carries the RepositoryAttribute attribute, adding a corresponding PersistenceExceptionTranslationAdvisor to the exposed proxy (either an existing AOP proxy or a newly generated proxy that implements all of the target's interfaces).
RequiredAttributeObjectPostProcessor A IObjectPostProcessor implementation that enforces required properties to have been configured. Required properties are detected through an attribute, by default, Spring's RequiredAttribute attribute.
InstantiationAwareObjectPostProcessorAdapter Adapter that implements all methods on SmartInstantiationAwareObjectPostProcessor as no-ops, which will not change normal processing of each object instantiated by the container. Subclasses may override merely those methods that they are actually interested in.
SharedStateAwareProcessor Configure all ISharedStateAware objects, delegating concrete handling to the list of SharedStateFactories.

Remarks

Application contexts can auto-detect IObjectPostProcessor objects in their object definitions and apply them before any other objects get created. Plain object factories allow for programmatic registration of post-processors.

Typically, post-processors that populate objects via marker interfaces or the like will implement PostProcessBeforeInitialization, and post-processors that wrap objects with proxies will normally implement PostProcessAfterInitialization.

Requirements

Namespace: Spring.Objects.Factory.Config

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

See Also

IObjectPostProcessor Members | Spring.Objects.Factory.Config Namespace