C# Класс NRack.Base.AppServer

Наследование: IAppServer
Показать файл Открыть проект

Открытые методы

Метод Описание
CanBeRecycled ( ) : bool
GetFilePath ( string relativeFilePath ) : string

Gets the physical file path by the relative file path, search both in the appserver's root and in the NRack root dir if the isolation level has been set other than 'None'.

GetMetadata ( ) : AppServerMetadata
Start ( ) : bool
Stop ( ) : void

Защищенные методы

Метод Описание
GetCompositionContainer ( IServerConfig config ) : System.ComponentModel.Composition.Hosting.CompositionContainer
OnPreStart ( ) : void
OnPreStop ( ) : void
OnStarted ( ) : void
OnStatusCollected ( StatusInfoCollection status ) : void

Called when [status collected].

OnStopped ( ) : void
RegisterCompositeTarget ( IList targets ) : void
Setup ( IServerConfig config, System.ComponentModel.Composition.Hosting.ExportProvider exportProvider ) : bool
UpdateStatus ( StatusInfoCollection status ) : void

Приватные методы

Метод Описание
Composite ( IServerConfig config ) : bool
IManagedApp ( IBootstrap bootstrap, IServerConfig config ) : bool
IManagedAppBase ( ) : StatusInfoCollection
IManagedAppBase ( ) : bool
IManagedAppBase ( ) : void

Описание методов

CanBeRecycled() публичный Метод

public CanBeRecycled ( ) : bool
Результат bool

GetCompositionContainer() защищенный Метод

protected GetCompositionContainer ( IServerConfig config ) : System.ComponentModel.Composition.Hosting.CompositionContainer
config IServerConfig
Результат System.ComponentModel.Composition.Hosting.CompositionContainer

GetFilePath() публичный Метод

Gets the physical file path by the relative file path, search both in the appserver's root and in the NRack root dir if the isolation level has been set other than 'None'.
public GetFilePath ( string relativeFilePath ) : string
relativeFilePath string The relative file path.
Результат string

GetMetadata() публичный Метод

public GetMetadata ( ) : AppServerMetadata
Результат AppServerMetadata

OnPreStart() защищенный Метод

protected OnPreStart ( ) : void
Результат void

OnPreStop() защищенный Метод

protected OnPreStop ( ) : void
Результат void

OnStarted() защищенный Метод

protected OnStarted ( ) : void
Результат void

OnStatusCollected() защищенный Метод

Called when [status collected].
protected OnStatusCollected ( StatusInfoCollection status ) : void
status StatusInfoCollection The app status.
Результат void

OnStopped() защищенный Метод

protected OnStopped ( ) : void
Результат void

RegisterCompositeTarget() защищенный Метод

protected RegisterCompositeTarget ( IList targets ) : void
targets IList
Результат void

Setup() защищенный Метод

protected Setup ( IServerConfig config, System.ComponentModel.Composition.Hosting.ExportProvider exportProvider ) : bool
config IServerConfig
exportProvider System.ComponentModel.Composition.Hosting.ExportProvider
Результат bool

Start() публичный абстрактный Метод

public abstract Start ( ) : bool
Результат bool

Stop() публичный абстрактный Метод

public abstract Stop ( ) : void
Результат void

UpdateStatus() защищенный Метод

protected UpdateStatus ( StatusInfoCollection status ) : void
status StatusInfoCollection
Результат void