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

com.taobao.hsf.app.spring.schema.HSFNameSpaceHandler Maven / Gradle / Ivy

There is a newer version: 1.8.3
Show newest version
package com.taobao.hsf.app.spring.schema;

import com.taobao.hsf.app.spring.util.HSFSpringConsumerBean;
import com.taobao.hsf.app.spring.util.HSFSpringProviderBean;
import com.taobao.hsf.app.spring.util.HSFSpringRegistryBean;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @author xiaofei.wxf
 * @since 2015-02-03
 */
public class HSFNameSpaceHandler extends NamespaceHandlerSupport {
    public void init() {
    	registerBeanDefinitionParser("registry",new HSFBeanDefinitionParser(HSFSpringRegistryBean.class));
        registerBeanDefinitionParser("provider",new HSFBeanDefinitionParser(HSFSpringProviderBean.class));
        registerBeanDefinitionParser("consumer",new HSFBeanDefinitionParser(HSFSpringConsumerBean.class));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy