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>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.jdbc.datasource.ObjectFactory
ObjectFactory.ObjectInfo
-
Field Summary
Fields inherited from class org.frankframework.jdbc.datasource.ObjectFactory
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.paho.client.mqttv3.MqttClient
Allow implementing classes to augment the looked up object class 'O'.protected void
destroyObject
(org.eclipse.paho.client.mqttv3.MqttClient object) This method is called when the objects stored in this Factory are removed.org.eclipse.paho.client.mqttv3.MqttClient
Methods inherited from class org.frankframework.jdbc.datasource.ObjectFactory
add, afterPropertiesSet, destroy, get, getObjectInfo, getObjectNames, toObjectInfo
-
Constructor Details
-
MqttClientFactory
public MqttClientFactory()
-
-
Method Details
-
augment
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 classObjectFactory<org.eclipse.paho.client.mqttv3.MqttClient,
Object>
-
getClient
-
destroyObject
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 classObjectFactory<org.eclipse.paho.client.mqttv3.MqttClient,
Object> - Throws:
Exception
-