Package com.baidu.disconf.client.scan.inner.statically

Source Code of com.baidu.disconf.client.scan.inner.statically.StaticScannerMgrFactory

package com.baidu.disconf.client.scan.inner.statically;

import com.baidu.disconf.client.scan.inner.statically.impl.StaticScannerFileMgrImpl;
import com.baidu.disconf.client.scan.inner.statically.impl.StaticScannerItemMgrImpl;
import com.baidu.disconf.client.scan.inner.statically.impl.StaticScannerNonAnnotationFileMgrImpl;

/**
*
* @author liaoqiqi
* @version 2014-9-9
*/
public class StaticScannerMgrFactory {

    /**
     * 配置文件处理
     *
     * @return
     */
    public static StaticScannerMgr getDisconfFileStaticScanner() {
        return new StaticScannerFileMgrImpl();
    }

    /**
     * 配置项处理
     *
     * @return
     */
    public static StaticScannerMgr getDisconfItemStaticScanner() {
        return new StaticScannerItemMgrImpl();
    }

    /**
     * 非注解的配置文件处理
     *
     * @return
     */
    public static StaticScannerMgr getDisconfNonAnnotationFileStaticScanner() {
        return new StaticScannerNonAnnotationFileMgrImpl();
    }
}
TOP

Related Classes of com.baidu.disconf.client.scan.inner.statically.StaticScannerMgrFactory

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.