C# Class Castle.Facilities.Synchronize.SynchronizeComponentInspector

Obtain synchronization configuration based on the component configuration check for the attributes if not available.
Inheritance: Castle.MicroKernel.ModelBuilder.Inspectors.MethodMetaInspector
Show file Open project: castleproject/Windsor

Public Methods

Method Description
ProcessModel ( IKernel kernel, ComponentModel model ) : void

Checks for synchronization configuration information or attributes and applies them if valid.

SynchronizeComponentInspector ( SynchronizeMetaInfoStore metaStore ) : System

Initializes a new instance of the SynchronizeComponentInspector class.

Protected Methods

Method Description
ObtainNodeName ( ) : String

Obtains the name of the node.

ProcessMeta ( ComponentModel model, IList methods, MethodMetaModel metaModel ) : void

Processes the meta information available on the component configuration.

Private Methods

Method Description
ApplySynchronization ( ComponentModel model, IKernel kernel ) : void

Applies the synchronization support to the model.

CheckFromAttributes ( ComponentModel model ) : void

Obtains synchronization information from the attributes.

CheckFromConfiguration ( ComponentModel model ) : bool

Obtains synchronization information from the configuration.

HasImplicitSynchronization ( ComponentModel model ) : bool

Determines whether the model has implicit synchronization.

ValidateSynchronization ( ComponentModel model ) : bool

Validates the synchronization to be applied.

Method Details

ObtainNodeName() protected method

Obtains the name of the node.
protected ObtainNodeName ( ) : String
return String

ProcessMeta() protected method

Processes the meta information available on the component configuration.
protected ProcessMeta ( ComponentModel model, IList methods, MethodMetaModel metaModel ) : void
model Castle.Core.ComponentModel The model.
methods IList The methods.
metaModel Castle.Core.MethodMetaModel The meta model.
return void

ProcessModel() public method

Checks for synchronization configuration information or attributes and applies them if valid.
public ProcessModel ( IKernel kernel, ComponentModel model ) : void
kernel IKernel The kernel.
model Castle.Core.ComponentModel The model.
return void

SynchronizeComponentInspector() public method

Initializes a new instance of the SynchronizeComponentInspector class.
public SynchronizeComponentInspector ( SynchronizeMetaInfoStore metaStore ) : System
metaStore SynchronizeMetaInfoStore
return System