cn.kduck.core.autoconfigure.RemoteAutoConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kduck-core Show documentation
Show all versions of kduck-core Show documentation
The core of the K-Duck development framework encompasses all the featured components of the framework.
package cn.kduck.core.autoconfigure;
import cn.kduck.core.remote.scan.RemoteServiceScannerConfigurer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
@Configuration
@Order(Ordered.HIGHEST_PRECEDENCE)
public class RemoteAutoConfiguration {
@Bean
public static RemoteServiceScannerConfigurer remoteServiceScannerConfigurer(){
return new RemoteServiceScannerConfigurer();
}
}