C# Class Castle.Facilities.AutomaticTransactionManagement.TransactionInterceptor

Inheritance: IInterceptor, IOnBehalfAware
Show file Open project: nats/castle-1.0.3-mono

Public Methods

Method Description
Intercept ( IInvocation invocation ) : void

Intercepts the specified invocation and creates a transaction if necessary.

SetInterceptedComponentModel ( ComponentModel target ) : void

Sets the intercepted component's ComponentModel.

TransactionInterceptor ( IKernel kernel, TransactionMetaInfoStore infoStore ) : System

Initializes a new instance of the TransactionInterceptor class.

Method Details

Intercept() public method

Intercepts the specified invocation and creates a transaction if necessary.
public Intercept ( IInvocation invocation ) : void
invocation IInvocation The invocation.
return void

SetInterceptedComponentModel() public method

Sets the intercepted component's ComponentModel.
public SetInterceptedComponentModel ( ComponentModel target ) : void
target Castle.Core.ComponentModel The target's ComponentModel
return void

TransactionInterceptor() public method

Initializes a new instance of the TransactionInterceptor class.
public TransactionInterceptor ( IKernel kernel, TransactionMetaInfoStore infoStore ) : System
kernel IKernel The kernel.
infoStore TransactionMetaInfoStore The info store.
return System