PluginCommonModule

PluginCommonModule

PluginCommonModule

This module provides the common services, configuration, and event bus capabilities required by a typical plugin. It should be imported into plugins to avoid having to repeat the same boilerplate for each individual plugin.

The PluginCommonModule exports:

  • EventBusModule, allowing the injection of the EventBus service.
  • ServiceModule allowing the injection of any of the various entity services such as ProductService, OrderService etc.
  • ConfigModule, allowing the injection of the ConfigService.
  • WorkerServiceModule, allowing the injection of the WorkerService.

Signature

class PluginCommonModule {

}