Show:

Q.Bootstrap Class

Module: Q

Define properties and methods needed to load and initialize platform classes and config

Methods

configure

(
  • callback
  • [reload=false]
)

Load platform configuration

Parameters:

  • callback Function

    Callback is fired when config is ready. Errors are thrown if "reload" is false and passed to "callback" if "reload" is true

  • [reload=false] Boolean optional

    Wheather config is loaded on process start or reloaded by active process

loadHandlers

(
  • callback
)

Load handlers available in the platform and plugins

Parameters:

loadPlugins

(
  • callback
)

Add plugins to Q.plugins namespace

Parameters:

registerExceptionHandler

()

setIncludePath

(
  • path
  • whether
)

Add path to the list of paths checked by node.js while searching a module

Parameters:

Events

Config/reload

Config tree hs been reloaded

Event Payload:

  • error Error

    The error object if any