API Docs for:
Show:

dbconn_plugins_manager Class

Module: dbconn

Exports all plugins methods.

Methods

setAllPluginsDbconnMain

(
  • comp
)
private

Call setCompDbconnMain function for all REST plugins.

Parameters:

  • comp Object

    The component.

setAllPluginsUtil

(
  • comp
)
private

Call setCompUtil function for all REST plugins.

Parameters:

  • comp Object

    The util object.

setAllRestPluginsLogger

(
  • log
)
private

Call setLogger function for all REST plugins.

Parameters:

  • log Object

    The logger object.

setCompDbconnMain

(
  • comp
)
static

Set the component to be used by REST plugins.

Parameters:

  • comp Object

    The architect component

setCompUtil

(
  • comp
)
static

Set the util component to be used by REST plugins.

Parameters:

  • comp Object

    The util component

setLogger

(
  • log
)
static

Set the logger to be used.

Parameters:

  • log Object

    The logger object. It must have at least three methods: info, warn and error as console object.

start

() static

Loads all plugins exported methods in "apiDbconn" object and emits the EVT_READY at the end.

Properties

apiDbconn

Object

It contains all plugins methods exported by "apiList" object.

compDbconnMain

Object private

The architect component to be used for user functions.

IDLOG

String private final

The module identifier used by the logger.

Default: [dbconn_plugins_manager]

logger

Object private

The logger. It must have at least three methods: info, warn and error.

Default: console