Summer.Batch.Core.Unity.StepScope.StepScopeLifetimeManager Class Reference

Implementation of LifetimeManager for step scope. It relies on StepSynchronizationManager to store and retrieve the instance. More...

Inheritance diagram for Summer.Batch.Core.Unity.StepScope.StepScopeLifetimeManager:

Public Member Functions

override object GetValue ()
 Retrieves the stored object if it exists. More...
 
override void SetValue (object newValue)
 Stores an object for the current step. More...
 
override void RemoveValue ()
 Removes the instance from the context. More...
 

Detailed Description

Implementation of LifetimeManager for step scope. It relies on StepSynchronizationManager to store and retrieve the instance.

Member Function Documentation

override object Summer.Batch.Core.Unity.StepScope.StepScopeLifetimeManager.GetValue ( )

Retrieves the stored object if it exists.

Returns
the required object or null if it not present for the current step
override void Summer.Batch.Core.Unity.StepScope.StepScopeLifetimeManager.RemoveValue ( )

Removes the instance from the context.

override void Summer.Batch.Core.Unity.StepScope.StepScopeLifetimeManager.SetValue ( object  newValue)

Stores an object for the current step.

Parameters
newValuethe object to store

The documentation for this class was generated from the following file:
  • Summer.Batch.Core/Core/Unity/StepScope/StepScopeLifetimeManager.cs