Class DefaultMqProvider

java.lang.Object
com.mayam.wf.mq.DefaultMqProvider
All Implemented Interfaces:
Provider<Mq>, jakarta.inject.Provider<Mq>, javax.inject.Provider<Mq>

public class DefaultMqProvider extends Object implements Provider<Mq>
This provider provides a MQ with siteconfig as MqConfig. Which Mq is used is up to the factory
Author:
Erik Bågfors
  • Constructor Details

    • DefaultMqProvider

      @Inject public DefaultMqProvider(SiteConfig siteConfig, MqFactory factory)
  • Method Details

    • get

      public Mq get()
      Specified by:
      get in interface Provider<Mq>
      Specified by:
      get in interface jakarta.inject.Provider<Mq>
      Specified by:
      get in interface javax.inject.Provider<Mq>