C# Class NRack.Base.AppServer

Inheritance: IAppServer
Afficher le fichier Open project: kerryjiang/NRack

Méthodes publiques

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

Méthodes protégées

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

Private Methods

Méthode Description
Composite ( IServerConfig config ) : bool
IManagedApp ( IBootstrap bootstrap, IServerConfig config ) : bool
IManagedAppBase ( ) : StatusInfoCollection
IManagedAppBase ( ) : bool
IManagedAppBase ( ) : void

Method Details

CanBeRecycled() public méthode

public CanBeRecycled ( ) : bool
Résultat bool

GetCompositionContainer() protected méthode

protected GetCompositionContainer ( IServerConfig config ) : System.ComponentModel.Composition.Hosting.CompositionContainer
config IServerConfig
Résultat System.ComponentModel.Composition.Hosting.CompositionContainer

GetFilePath() public méthode

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.
Résultat string

GetMetadata() public méthode

public GetMetadata ( ) : AppServerMetadata
Résultat AppServerMetadata

OnPreStart() protected méthode

protected OnPreStart ( ) : void
Résultat void

OnPreStop() protected méthode

protected OnPreStop ( ) : void
Résultat void

OnStarted() protected méthode

protected OnStarted ( ) : void
Résultat void

OnStatusCollected() protected méthode

Called when [status collected].
protected OnStatusCollected ( StatusInfoCollection status ) : void
status StatusInfoCollection The app status.
Résultat void

OnStopped() protected méthode

protected OnStopped ( ) : void
Résultat void

RegisterCompositeTarget() protected méthode

protected RegisterCompositeTarget ( IList targets ) : void
targets IList
Résultat void

Setup() protected méthode

protected Setup ( IServerConfig config, System.ComponentModel.Composition.Hosting.ExportProvider exportProvider ) : bool
config IServerConfig
exportProvider System.ComponentModel.Composition.Hosting.ExportProvider
Résultat bool

Start() public abstract méthode

public abstract Start ( ) : bool
Résultat bool

Stop() public abstract méthode

public abstract Stop ( ) : void
Résultat void

UpdateStatus() protected méthode

protected UpdateStatus ( StatusInfoCollection status ) : void
status StatusInfoCollection
Résultat void