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

com.alogic.blob.naming.Link Maven / Gradle / Ivy

package com.alogic.blob.naming;

import com.alogic.blob.BlobManager;
import com.alogic.blob.vfs.VFSBlobManager;
import com.alogic.naming.context.XmlOutter;
import com.anysoft.util.Properties;
import com.anysoft.util.PropertiesConstants;

/**
 * 外联文件
 *
 * @since 1.6.13.1
 */
public class Link extends XmlOutter {
    /**
     * 缺省类
     */
    protected String dftClass = VFSBlobManager.class.getName();

    @Override
    public void configure(Properties p) {
        dftClass = PropertiesConstants.getString(p,"dftClass", dftClass);
    }

    @Override
    public String getObjectName() {
        return "blob";
    }

    @Override
    public String getDefaultClass() {
        return dftClass;
    }

    @Override
    public String getDefaultXrc() {
        return "java:///com/alogic/blob/default.link.xml#"+ Link.class.getName();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy