1762fcc4ae8bcf707daf19e840ad2dd79275269f.svn-base 1.17 KB
package com.thinkgem.jeesite.modules.reg.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
 

public class Singleton {
	protected Logger logger = LoggerFactory.getLogger(getClass());
	//类加载时就初始化
    private static final Singleton instance = new Singleton();
    
    private Singleton(){}

    public static Singleton getInstance(){
        return instance;
    }
	private  Boolean rr = true;//登簿变量
	private  Boolean bj = true;//办结变量
	private  Boolean zt = true;//状态变量
	
    public  Boolean getRr() {
    	logger.info("*******登簿变量rrget:"+rr.toString()); 
       return rr;
	}

	public  void setRr(Boolean rr) {
		logger.info("*******登簿变量rrset:"+rr.toString()); 
		this.rr = rr;
	} 
	public  Boolean getBj() {
		logger.info("*******办结变量bjget:"+bj.toString()); 
		return bj;
	}
	public  void setBj(Boolean bj) {
		logger.info("*******办结变量bjset:"+bj.toString()); 
		this.bj = bj;
	}
	public  Boolean getZt() {
		logger.info("*******状态变量ztget:"+zt.toString()); 
		return zt;
	}
	public  void setZt(Boolean zt) {
		logger.info("*******状态变量ztset:"+zt.toString()); 
		this.zt = zt;
	}

}