Package cn.mindit.atom.opc.da.config
Class OpcDaConfiguration
java.lang.Object
cn.mindit.atom.opc.da.config.OpcDaConfiguration
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>,org.springframework.core.Ordered
@Configuration
public class OpcDaConfiguration
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>, org.springframework.core.Ordered
- Since:
- 2024-07-24
- Author:
- Catch
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddListener(AutoReconnectController controller, WriteableAccessBase access, List<OpcDaConsumer> consumers) intgetOrder()voidonApplicationEvent(org.springframework.boot.context.event.ApplicationStartedEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
OpcDaConfiguration
public OpcDaConfiguration()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(@NonNull org.springframework.boot.context.event.ApplicationStartedEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
-
addListener
public static void addListener(AutoReconnectController controller, WriteableAccessBase access, List<OpcDaConsumer> consumers) -
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-