Class DubboOpenAPIExportListener
java.lang.Object
org.apache.dubbo.spring.boot.context.event.DubboOpenAPIExportListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
public class DubboOpenAPIExportListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
OpenAPI Export Listener
This class exports OpenAPI specifications for Dubbo services when the Spring Boot application is fully started and ready.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
-
Constructor Details
-
DubboOpenAPIExportListener
public DubboOpenAPIExportListener()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
-