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

org.xson.web.xml.BuilderContext Maven / Gradle / Ivy

Go to download

xco-web is an easy to use control layer framework, is part of the SOA system, using xml language to describe the controller.

The newest version!
package org.xson.web.xml;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.xson.web.cache.vo.CacheVo;

/**
 * 解析过程中的上下文
 */
public class BuilderContext {

	private Map	controllerMap	= new HashMap();

	private Map			domainMap		= new HashMap();
	private Map			beanIdMap		= new HashMap();
	private Map			beanClassMap	= new HashMap();

	private Map	moMap			= new HashMap();

	private List			beforeList		= new ArrayList();
	private List			afterList		= new ArrayList();
	private List			assemblyList	= new ArrayList();

	private Map			beforeMap		= new HashMap();
	private Map			afterMap		= new HashMap();
	private Map			assemblyMap		= new HashMap();

	private CacheVo						defaultCacheVo	= null;
	private Map		cacheVoMap		= new HashMap();

	public Map getDomainMap() {
		return domainMap;
	}

	public Map getBeanIdMap() {
		return beanIdMap;
	}

	public Map getBeanClassMap() {
		return beanClassMap;
	}

	public Map getControllerMap() {
		return controllerMap;
	}

	public List getBeforeList() {
		return beforeList;
	}

	public List getAfterList() {
		return afterList;
	}

	public List getAssemblyList() {
		return assemblyList;
	}

	public Map getBeforeMap() {
		return beforeMap;
	}

	public Map getAfterMap() {
		return afterMap;
	}

	public Map getAssemblyMap() {
		return assemblyMap;
	}

	public Map getMoMap() {
		return moMap;
	}

	public CacheVo getDefaultCacheVo() {
		return defaultCacheVo;
	}

	public Map getCacheVoMap() {
		return cacheVoMap;
	}

	public void setDefaultCacheVo(CacheVo defaultCacheVo) {
		this.defaultCacheVo = defaultCacheVo;
	}

	public void clear() {
		this.domainMap.clear();
		this.beanIdMap.clear();
		this.beanClassMap.clear();
		this.moMap.clear();
		this.beforeList.clear();
		this.afterList.clear();
		this.beforeMap.clear();
		this.afterMap.clear();
		this.assemblyList.clear();

		this.domainMap = null;
		this.beanIdMap = null;
		this.beanClassMap = null;
		this.moMap = null;
		this.beforeList = null;
		this.afterList = null;
		this.beforeMap = null;
		this.afterMap = null;
		this.assemblyMap = null;

		this.controllerMap = null;

		this.defaultCacheVo = null;
		this.cacheVoMap = null;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy