C# 클래스 Castle.Facilities.NHibernateIntegration.SessionStores.AbstractSessionStore

상속: System.MarshalByRefObject, ISessionStore
파일 보기 프로젝트 열기: mahara/Castle.Facilities.NHibernateIntegration

공개 메소드들

메소드 설명
FindCompatibleSession ( String alias ) : SessionDelegate

Should return a previously stored session for the given alias if available, otherwise null.

FindCompatibleStatelessSession ( string alias ) : StatelessSessionDelegate

Should return a previously stored stateless session for the given alias if available, otherwise null.

IsCurrentActivityEmptyFor ( String alias ) : bool

Returns true if the current activity (which is an execution activity context) has no sessions available

Remove ( SessionDelegate session ) : void

Should remove the session from the store only.

Remove ( StatelessSessionDelegate session ) : void

Should remove the stateless session from the store only.

Store ( String alias, SessionDelegate session ) : void

Should store the specified session instance

Store ( string alias, StatelessSessionDelegate session ) : void

Should store the specified stateless session instance.

보호된 메소드들

메소드 설명
GetStackFor ( String alias ) : Stack

Gets the stack of SessionDelegate objects for the specified alias.

GetStatelessSessionStackFor ( String alias ) : Stack

Gets the stack of StatelessSessionDelegate objects for the specified alias.

메소드 상세

FindCompatibleSession() 공개 메소드

Should return a previously stored session for the given alias if available, otherwise null.
public FindCompatibleSession ( String alias ) : SessionDelegate
alias String
리턴 SessionDelegate

FindCompatibleStatelessSession() 공개 메소드

Should return a previously stored stateless session for the given alias if available, otherwise null.
public FindCompatibleStatelessSession ( string alias ) : StatelessSessionDelegate
alias string
리턴 StatelessSessionDelegate

GetStackFor() 보호된 추상적인 메소드

Gets the stack of SessionDelegate objects for the specified alias.
protected abstract GetStackFor ( String alias ) : Stack
alias String The alias.
리턴 System.Collections.Stack

GetStatelessSessionStackFor() 보호된 추상적인 메소드

Gets the stack of StatelessSessionDelegate objects for the specified alias.
protected abstract GetStatelessSessionStackFor ( String alias ) : Stack
alias String The alias.
리턴 System.Collections.Stack

IsCurrentActivityEmptyFor() 공개 메소드

Returns true if the current activity (which is an execution activity context) has no sessions available
public IsCurrentActivityEmptyFor ( String alias ) : bool
alias String
리턴 bool

Remove() 공개 메소드

Should remove the session from the store only.
public Remove ( SessionDelegate session ) : void
session SessionDelegate
리턴 void

Remove() 공개 메소드

Should remove the stateless session from the store only.
public Remove ( StatelessSessionDelegate session ) : void
session StatelessSessionDelegate
리턴 void

Store() 공개 메소드

Should store the specified session instance
public Store ( String alias, SessionDelegate session ) : void
alias String
session SessionDelegate
리턴 void

Store() 공개 메소드

Should store the specified stateless session instance.
public Store ( string alias, StatelessSessionDelegate session ) : void
alias string
session StatelessSessionDelegate
리턴 void