Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NestFactoryStatic

publicapi

Hierarchy

  • NestFactoryStatic

Index

Constructors

constructor

  • Returns NestFactoryStatic

Methods

applyLogger

  • applyLogger(options: any): void
  • Parameters

    • options: any

    Returns void

create

  • create(module: any, serverOrOptions: any, options: any): Promise<any>
  • Parameters

    • module: any
    • serverOrOptions: any
    • options: any

    Returns Promise<any>

createAdapterProxy

  • createAdapterProxy(app: any, adapter: any): any
  • Parameters

    • app: any
    • adapter: any

    Returns any

createApplicationContext

  • createApplicationContext(module: any, options: any): Promise<any>
  • Creates an instance of NestApplicationContext.

    Parameters

    • module: any

      Entry (root) application module class

    • options: any

      Optional Nest application configuration

    Returns Promise<any>

    A promise that, when resolved, contains a reference to the NestApplicationContext instance.

createExceptionProxy

  • createExceptionProxy(): (Anonymous function)
  • Returns (Anonymous function)

createExceptionZone

  • createExceptionZone(receiver: any, prop: any): (Anonymous function)
  • Parameters

    • receiver: any
    • prop: any

    Returns (Anonymous function)

createHttpAdapter

  • createHttpAdapter(httpServer: any): any
  • Parameters

    • httpServer: any

    Returns any

createMicroservice

  • createMicroservice(module: any, options: any): Promise<any>
  • Creates an instance of NestMicroservice.

    Parameters

    • module: any

      Entry (root) application module class

    • options: any

      Optional microservice configuration

    Returns Promise<any>

    A promise that, when resolved, contains a reference to the NestMicroservice instance.

createNestInstance

  • createNestInstance(instance: any): any
  • Parameters

    • instance: any

    Returns any

createProxy

  • createProxy(target: any): any
  • Parameters

    • target: any

    Returns any

handleInitializationError

  • handleInitializationError(err: any): void
  • Parameters

    • err: any

    Returns void

initialize

  • initialize(module: any, container: any, config?: ApplicationConfig, httpServer?: any): Promise<void>
  • Parameters

    • module: any
    • container: any
    • Default value config: ApplicationConfig = new application_config_1.ApplicationConfig()
    • Default value httpServer: any = null

    Returns Promise<void>

isHttpServer

  • isHttpServer(serverOrOptions: any): boolean
  • Parameters

    • serverOrOptions: any

    Returns boolean

setAbortOnError

  • setAbortOnError(serverOrOptions: any, options: any): void
  • Parameters

    • serverOrOptions: any
    • options: any

    Returns void

Generated using TypeDoc