All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nepxion.discovery.plugin.framework.event.PluginPublisher Maven / Gradle / Ivy

Go to download

Nepxion Discovery is a solution for Spring Cloud with blue green, gray, weight, limitation, circuit breaker, degrade, isolation, monitor, tracing, dye, failover, async agent

The newest version!
package com.nepxion.discovery.plugin.framework.event;

/**
 * 

Title: Nepxion Discovery

*

Description: Nepxion Discovery

*

Copyright: Copyright (c) 2017-2050

*

Company: Nepxion

* @author Haojun Ren * @version 1.0 */ import org.springframework.beans.factory.annotation.Autowired; import com.nepxion.eventbus.core.EventControllerFactory; public class PluginPublisher { @Autowired private EventControllerFactory eventControllerFactory; public void asyncPublish(Object object) { eventControllerFactory.getAsyncController().post(object); } public void syncPublish(Object object) { eventControllerFactory.getSyncController().post(object); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy