C# Class Castle.Facilities.NHibernateIntegration.SessionStores.AbstractSessionStore

Inheritance: System.MarshalByRefObject, ISessionStore
Afficher le fichier Open project: mahara/Castle.Facilities.NHibernateIntegration

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Method Details

FindCompatibleSession() public méthode

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

FindCompatibleStatelessSession() public méthode

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

GetStackFor() protected abstract méthode

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

GetStatelessSessionStackFor() protected abstract méthode

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

IsCurrentActivityEmptyFor() public méthode

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

Remove() public méthode

Should remove the session from the store only.
public Remove ( SessionDelegate session ) : void
session SessionDelegate
Résultat void

Remove() public méthode

Should remove the stateless session from the store only.
public Remove ( StatelessSessionDelegate session ) : void
session StatelessSessionDelegate
Résultat void

Store() public méthode

Should store the specified session instance
public Store ( String alias, SessionDelegate session ) : void
alias String
session SessionDelegate
Résultat void

Store() public méthode

Should store the specified stateless session instance.
public Store ( string alias, StatelessSessionDelegate session ) : void
alias string
session StatelessSessionDelegate
Résultat void