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

com.hzlinks.swagger.rpc.config.DubboServiceScanner Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
package com.hzlinks.swagger.rpc.config;

import com.hzlinks.swagger.rpc.http.ReferenceManager;
import io.swagger.config.Scanner;
import java.util.Map;
import java.util.Set;
import org.springframework.stereotype.Component;

@Component
public class DubboServiceScanner implements Scanner {

    @Override
    public Set> classes() {
        return interfaceMapRef().keySet();
    }

    public Map, Object> interfaceMapRef() {
        return ReferenceManager.getInstance().getInterfaceMapRef();
    }

    @Override
    public boolean getPrettyPrint() {
        return false;
    }

    @Override
    public void setPrettyPrint(boolean shouldPrettyPrint) {
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy