C# Класс Spring.Objects.Factory.Config.SharedStateAwareProcessor

Configure all ISharedStateAware objects, delegating concrete handling to the list of SharedStateFactories.
Наследование: IObjectPostProcessor, IOrdered
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
PostProcessAfterInitialization ( object instance, string name ) : object

A NoOp for this processor

PostProcessBeforeInitialization ( object instance, string name ) : object

Iterates over configured list of ISharedStateFactorys until the first provider is found that
a) true == provider.CanProvideState( instance, name )
b) null != provider.GetSharedState( instance, name )

SharedStateAwareProcessor ( ) : System

Creates a new empty instance.

SharedStateAwareProcessor ( ISharedStateFactory sharedStateFactories, int order ) : System

Creates a new preconfigured instance.

Описание методов

PostProcessAfterInitialization() публичный Метод

A NoOp for this processor
public PostProcessAfterInitialization ( object instance, string name ) : object
instance object /// The new object instance. ///
name string /// The name of the object. ///
Результат object

PostProcessBeforeInitialization() публичный Метод

Iterates over configured list of ISharedStateFactorys until the first provider is found that
a) true == provider.CanProvideState( instance, name )
b) null != provider.GetSharedState( instance, name )
public PostProcessBeforeInitialization ( object instance, string name ) : object
instance object
name string
Результат object

SharedStateAwareProcessor() публичный Метод

Creates a new empty instance.
public SharedStateAwareProcessor ( ) : System
Результат System

SharedStateAwareProcessor() публичный Метод

Creates a new preconfigured instance.
public SharedStateAwareProcessor ( ISharedStateFactory sharedStateFactories, int order ) : System
sharedStateFactories ISharedStateFactory
order int priority value affecting order of invocation of this processor. See interface.
Результат System