C# 클래스 NRack.Base.AppServer

상속: IAppServer
파일 보기 프로젝트 열기: kerryjiang/NRack

공개 메소드들

메소드 설명
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