class BasicServiceConfigBean extends BasicServiceInterfaceConfig implements BeanNameAware,
        InitializingBean, BeanFactoryAware {

    private String registryNames;


    BeanFactory beanFactory;

    @Override
    public void setBeanName(String name) {
        setId(name);

        MotanNamespaceHandler.basicServiceConfigDefineNames.add(name);
    }

    @Override
    public void setBeanFactory(BeanFactory beanFactory) throws BeansException {
        this.beanFactory = beanFactory;
    }


    @Override
    public void afterPropertiesSet() throws Exception {
        String protocol = ConfigUtil.extractProtocols(getExport());
        setRegistries(extractRegistries(registryNames, beanFactory));
        setProtocols(extractProtocols(protocol, beanFactory));
    }

    public List<ProtocolConfig> extractProtocols(String protocols, BeanFactory beanFactory) {<FILL_FUNCTION_BODY>}

    public List<RegistryConfig> extractRegistries(String registries, BeanFactory beanFactory) {
        if (registries != null && registries.length() > 0) {
            if (!registries.contains(",")) {
                RegistryConfig registryConfig = beanFactory.getBean(registries, RegistryConfig.class);
                return Collections.singletonList(registryConfig);
            } else {
                List<RegistryConfig> registryConfigList = SpringBeanUtil.getMultiBeans(beanFactory, registries,
                        SpringBeanUtil.COMMA_SPLIT_PATTERN, RegistryConfig.class);
                return registryConfigList;
            }
        } else {
            return null;
        }
    }


    public void setRegistry(String registryNames) {
        this.registryNames = registryNames;
    }

    public void setCheck(boolean value) {
        setCheck(String.valueOf(value));
    }

    public void setAccessLog(boolean value) {
        setAccessLog(String.valueOf(value));
    }
}

        if (protocols != null && protocols.length() > 0) {
            List<ProtocolConfig> protocolConfigList = SpringBeanUtil.getMultiBeans(beanFactory, protocols,
                    SpringBeanUtil.COMMA_SPLIT_PATTERN, ProtocolConfig.class);

            return protocolConfigList;
        } else {
            return null;
        }
    
<methods>public non-sealed void <init>() ,public java.lang.Boolean isDefault() ,public void setDefault(boolean) <variables>private java.lang.Boolean isDefault,private static final long serialVersionUID