Summer.Batch.Core.Unity.UnityLoader Class Reference

Class that registers job artifacts in a unity container. It will load a default configuration for the main job architecture, then parse a job xml file if supplied. More...

Inheritance diagram for Summer.Batch.Core.Unity.UnityLoader:
Summer.Batch.Extra.ContextManagerUnityLoader

Public Member Functions

void Load (IUnityContainer unityContainer)
 Loads the XML job specification (if available) and registers all the required artifacts to the Unity container. More...
 
virtual void LoadArtifacts (IUnityContainer unityContainer)
 Loads the batch various artifacts (readers, writrs, processors, tasklets...) More...
 

Protected Member Functions

virtual void LoadConfiguration (IUnityContainer unityContainer)
 Loads the main job configuration. More...
 

Properties

XmlJob Job [get, set]
 The XML job specification to load the artifacts for. More...
 
virtual bool PersistenceSupport [get]
 Whether to support job restartability or not More...
 

Detailed Description

Class that registers job artifacts in a unity container. It will load a default configuration for the main job architecture, then parse a job xml file if supplied.

Users should extend this class and override:

Member Function Documentation

void Summer.Batch.Core.Unity.UnityLoader.Load ( IUnityContainer  unityContainer)

Loads the XML job specification (if available) and registers all the required artifacts to the Unity container.

Parameters
unityContainerThe container to register to.
virtual void Summer.Batch.Core.Unity.UnityLoader.LoadArtifacts ( IUnityContainer  unityContainer)
virtual

Loads the batch various artifacts (readers, writrs, processors, tasklets...)

Parameters
unityContainerThe container to register to.
virtual void Summer.Batch.Core.Unity.UnityLoader.LoadConfiguration ( IUnityContainer  unityContainer)
protectedvirtual

Loads the main job configuration.

Parameters
unityContainerThe container to register to.

Reimplemented in Summer.Batch.Extra.ContextManagerUnityLoader.

Property Documentation

XmlJob Summer.Batch.Core.Unity.UnityLoader.Job
getset

The XML job specification to load the artifacts for.

virtual bool Summer.Batch.Core.Unity.UnityLoader.PersistenceSupport
getprotected

Whether to support job restartability or not


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