BaseAction.java 1.5 KB
Newer Older
L
luojing 已提交
1 2 3 4 5 6 7
package com.x.teamwork.assemble.control.jaxrs.global;

import com.x.base.core.project.cache.ApplicationCache;
import com.x.base.core.project.jaxrs.StandardJaxrsAction;
import com.x.teamwork.assemble.control.service.DynamicPersistService;
import com.x.teamwork.assemble.control.service.PriorityPersistService;
import com.x.teamwork.assemble.control.service.PriorityQueryService;
L
luojing 已提交
8 9
import com.x.teamwork.assemble.control.service.ProjectConfigPersistService;
import com.x.teamwork.assemble.control.service.ProjectConfigQueryService;
L
luojing 已提交
10 11
import com.x.teamwork.assemble.control.service.SystemConfigQueryService;
import com.x.teamwork.core.entity.Priority;
L
luojing 已提交
12
import com.x.teamwork.core.entity.ProjectConfig;
L
luojing 已提交
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

import net.sf.ehcache.Ehcache;

public class BaseAction extends StandardJaxrsAction {

	protected Ehcache priorityCache = ApplicationCache.instance().getCache( Priority.class );
	
	protected 	PriorityQueryService priorityQueryService = new PriorityQueryService();
	
	protected 	PriorityPersistService priorityPersistService = new PriorityPersistService();
	
	protected 	DynamicPersistService dynamicPersistService = new DynamicPersistService();
	
	protected 	SystemConfigQueryService systemConfigQueryService = new SystemConfigQueryService();
	
L
luojing 已提交
28 29 30 31 32 33
	protected Ehcache projectConfigCache = ApplicationCache.instance().getCache( ProjectConfig.class );
	
	protected 	ProjectConfigPersistService projectConfigPersistService = new ProjectConfigPersistService();
	
	protected 	ProjectConfigQueryService projectConfigQueryService = new ProjectConfigQueryService();
	
L
luojing 已提交
34
}