Commit ef1a2177 by Nepxion

重构类结构

parent 3f33ec30
package com.nepxion.discovery.plugin.config;
/**
* <p>Title: Nepxion Discovery</p>
* <p>Description: Nepxion Discovery</p>
* <p>Copyright: Copyright (c) 2017-2050</p>
* <p>Company: Nepxion</p>
* @author Haojun Ren
* @version 1.0
*/
import java.io.InputStream;
import org.springframework.beans.factory.annotation.Autowired;
import com.nepxion.eventbus.core.Event;
import com.nepxion.eventbus.core.EventControllerFactory;
public class DiscoveryPluginConfigPublisher {
@Autowired
private EventControllerFactory eventControllerFactory;
public void publish(InputStream inputStream) {
eventControllerFactory.getAsyncController().post(new Event(inputStream));
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment