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

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

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat object

PostProcessBeforeInitialization() public méthode

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
Résultat object

SharedStateAwareProcessor() public méthode

Creates a new empty instance.
public SharedStateAwareProcessor ( ) : System
Résultat System

SharedStateAwareProcessor() public méthode

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.
Résultat System