|
|
@ -1,22 +1,22 @@
|
|
|
|
package com.github.dynamic.threadpool.registry.config;
|
|
|
|
package com.github.dynamic.threadpool.registry.config;
|
|
|
|
|
|
|
|
|
|
|
|
import com.github.dynamic.threadpool.registry.core.BaseInstanceRegistry;
|
|
|
|
import com.github.dynamic.threadpool.registry.core.BaseInstanceRegistry;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
|
|
|
|
|
|
import javax.annotation.PostConstruct;
|
|
|
|
import javax.annotation.PostConstruct;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Registry Configuration.
|
|
|
|
* Registry configuration.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @author chen.ma
|
|
|
|
* @author chen.ma
|
|
|
|
* @date 2021/8/12 21:48
|
|
|
|
* @date 2021/8/12 21:48
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@Configuration
|
|
|
|
@Configuration
|
|
|
|
|
|
|
|
@AllArgsConstructor
|
|
|
|
public class RegistryConfiguration {
|
|
|
|
public class RegistryConfiguration {
|
|
|
|
|
|
|
|
|
|
|
|
@Autowired
|
|
|
|
private final BaseInstanceRegistry baseInstanceRegistry;
|
|
|
|
private BaseInstanceRegistry baseInstanceRegistry;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostConstruct
|
|
|
|
@PostConstruct
|
|
|
|
public void registryInit() {
|
|
|
|
public void registryInit() {
|
|
|
|