Options
All
  • Public
  • Public/Protected
  • All
Menu

Application unit responsible for loading and creating database connections from config.

Hierarchy

Index

Constructors

constructor

Properties

Protected Readonly config

config: Config

Protected Readonly dbService

dbService: DatabaseService

Protected Readonly injector

injector: Container

Protected Readonly logging

logging: Logging

status

status: UnitStatus = ...

The current status of the unit.

Accessors

Private appClassApplication

Methods

Protected app

Protected container

down

  • down(): Promise<void>

getBoundMethod

  • getBoundMethod(methodName: string): (...args: any[]) => any
  • Get the method with the given name from this class, bound to this class.

    Parameters

    • methodName: string

    Returns (...args: any[]) => any

    function

      • (...args: any[]): any
      • Parameters

        • Rest ...args: any[]

        Returns any

Protected make

  • make<T>(target: any, ...parameters: any[]): T
  • Call the make() method on the global container.

    Type parameters

    • T

    Parameters

    • target: any
    • Rest ...parameters: any[]

    Returns T

up

  • up(): Promise<void>
  • Load the database.connections config and register Connection instances for each config. Automatically initializes the connections.

    Returns Promise<void>

Extollo Logo

extollo (v. latin) - to lift up, to elevate

Extollo is a free & libre application framework in TypeScript.