enterprisecache.java

来自「一个专门用来快速开发网站的框架」· Java 代码 · 共 35 行

JAVA
35
字号
package com.common.cache;

//import com.ksgl.sysmng.organize.enterprise.*;
import org.apache.commons.logging.LogFactory;
import org.apache.commons.logging.Log;


public class EnterpriseCache {
    private static Log log = LogFactory.getLog(EnterpriseCache.class);
    private static EnterpriseCache enterpriseCache = new EnterpriseCache();

    private String companyName;
    private String companyShortName;
    private String ybz;
    private String ycr;

    public static synchronized EnterpriseCache getInstance() {
        if (null == enterpriseCache) {
            enterpriseCache = new EnterpriseCache();
        }
        return enterpriseCache;
    }

    public EnterpriseCache() {
        loadData();
    }

    /**
     * 装载数据。
     */
    private void loadData() {
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?