Class Mqttv3Configuration

java.lang.Object
net.wenzuo.atom.mqtt.config.Mqttv3Configuration
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>, org.springframework.core.Ordered

@ConditionalOnClass(org.eclipse.paho.client.mqttv3.MqttClient.class) @Configuration public class Mqttv3Configuration extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>, org.springframework.core.Ordered
Since:
2024-06-26
Author:
Catch
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    onApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.ApplicationListener

    supportsAsyncExecution
  • Constructor Details

    • Mqttv3Configuration

      public Mqttv3Configuration()
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(@NonNull org.springframework.boot.context.event.ApplicationStartedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered