Class MqttClientFactory

java.lang.Object
org.frankframework.jdbc.datasource.ObjectFactory<org.eclipse.paho.client.mqttv3.MqttClient,Object>
org.frankframework.extensions.mqtt.MqttClientFactory
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class MqttClientFactory extends ObjectFactory<org.eclipse.paho.client.mqttv3.MqttClient,Object>
  • Constructor Details

    • MqttClientFactory

      public MqttClientFactory()
  • Method Details

    • augment

      protected org.eclipse.paho.client.mqttv3.MqttClient augment(Object object, String objectName)
      Description copied from class: ObjectFactory
      Allow implementing classes to augment the looked up object class 'O'. Allows the originally created object to be mutated to another object. Useful to generate an object from a filled DTO.
      Overrides:
      augment in class ObjectFactory<org.eclipse.paho.client.mqttv3.MqttClient,Object>
    • getClient

      public org.eclipse.paho.client.mqttv3.MqttClient getClient(String name)
    • destroyObject

      protected void destroyObject(org.eclipse.paho.client.mqttv3.MqttClient object) throws Exception
      Description copied from class: ObjectFactory
      This method is called when the objects stored in this Factory are removed. It allows implementations to handle their own close actions.
      Overrides:
      destroyObject in class ObjectFactory<org.eclipse.paho.client.mqttv3.MqttClient,Object>
      Throws:
      Exception