C# Class Castle.Facilities.IBatisNetIntegration.AutomaticSessionInterceptor

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

Public Methods

Method Description
AutomaticSessionInterceptor ( IKernel kernel ) : System
Intercept ( IInvocation invocation ) : void

Protected Methods

Method Description
ObtainSqlMapKeyFor ( MethodInfo info ) : String
ObtainSqlMapperFor ( String key ) : ISqlMapper

Private Methods

Method Description
EnlistSessionIfHasTransactionActive ( String key, ISqlMapper sqlMap ) : bool

Method Details

AutomaticSessionInterceptor() public method

public AutomaticSessionInterceptor ( IKernel kernel ) : System
kernel IKernel
return System

Intercept() public method

public Intercept ( IInvocation invocation ) : void
invocation IInvocation
return void

ObtainSqlMapKeyFor() protected method

protected ObtainSqlMapKeyFor ( MethodInfo info ) : String
info System.Reflection.MethodInfo
return String

ObtainSqlMapperFor() protected method

protected ObtainSqlMapperFor ( String key ) : ISqlMapper
key String
return ISqlMapper