Options
All
  • Public
  • Public/Protected
  • All
Menu

Class for represent a service core.

Hierarchy

  • ServiceCore

Index

Constructors

constructor

Properties

config

config: ConfigType

Service core configuration.

plugins

plugins: typeof ServicePlugin[] = []

serviceTypes

serviceTypes: typeof Service[] = []

Methods

deserializeServiceObject

getService

getServiceClassFromType

  • getServiceClassFromType(type: string): typeof Service | null
  • Returns the service class from its type.

    Parameters

    • type: string

      Service type name.

    Returns typeof Service | null

    The service class, or null if it doesn't exist.

Private refreshPlugins

  • refreshPlugins(): void
  • Refresh the plugins from the plugin names in the config.

    function

    refreshPlugins

    memberof

    ServiceCore

    throws

    {PluginNotFoundError}

    Returns void

Private refreshServiceTypes

  • refreshServiceTypes(): void

Generated using TypeDoc