Prevalence Facility
The Prevalence Facility manages the prevalence of an object model.
| Facility Summary | |||||||||||
|
| ||||||||||
Introduction
Provides an integration with Bamboo.Prevalence by exposing the prevalence system and prevalence engine as components, thus allowing others components to auto-wire with them.
Quick start
Just install the facility and add the proper configuration.
Configuration Schema
<configuration> <facilities> <facility id="prevalence"> <engines> <engine id="prevalence engine id" autoVersionMigration="prevalence autoMigration of scheme feature" storageDir="the directory to store the data" systemId="prevalence system id" systemType="Type of prevalence system, the root of your object model" snapshotIntervalInHours="not required. the timespan between the snapshots" cleanupPolicyComponent="not required. the default is CleanUpAllFilesPolicy.Default" /> </engines> </facility> </facilities> </configuration>
Sample Configuration
<facilities> <facility id="prevalence"> <engines> <engine id="prevalenceengine" autoVersionMigration="true" storageDir="../../storage" systemId="pestcontrolModel" systemType="Castle.Applications.PestControl.Model.PestControlModel, Castle.Applications.PestControl" /> </engines> </facility> </facilities>
Required Assemblies
- Castle.Facilities.Prevalence