C# Class Spring.Objects.Factory.Config.SharedStateAwareProcessor

Configure all ISharedStateAware objects, delegating concrete handling to the list of SharedStateFactories.
Inheritance: IObjectPostProcessor, IOrdered
Datei anzeigen Open project: spring-projects/spring-net Class Usage Examples

Public Methods

Method Description
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.

Method Details

PostProcessAfterInitialization() public method

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. ///
return object

PostProcessBeforeInitialization() public method

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
return object

SharedStateAwareProcessor() public method

Creates a new empty instance.
public SharedStateAwareProcessor ( ) : System
return System

SharedStateAwareProcessor() public method

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.
return System