C# Class Summer.Batch.Core.Unity.StepScope.StepScopeLifetimeManager

Implementation of LifetimeManager for step scope. It relies on StepSynchronizationManager to store and retrieve the instance.
Inheritance: Microsoft.Practices.Unity.LifetimeManager
Show file Open project: SummerBatch/SummerBatch Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
GetValue ( ) : object

Retrieves the stored object if it exists.

RemoveValue ( ) : void

Removes the instance from the context.

SetValue ( object newValue ) : void

Stores an object for the current step.

Method Details

GetValue() public method

Retrieves the stored object if it exists.
public GetValue ( ) : object
return object

RemoveValue() public method

Removes the instance from the context.
public RemoveValue ( ) : void
return void

SetValue() public method

Stores an object for the current step.
public SetValue ( object newValue ) : void
newValue object the object to store
return void