package com.blueland.bpm.engine.util.cache;

import java.util.ArrayList;
import java.util.List;

import com.blueland.bpm.engine.util.cache.MyProcessDefinitionCache;


public class ShareCache {
	
	public static String APP_ALLOW_IP_LIST = "APP_ALLOW_IP_LIST";
	
	public static void setIpList(List<String> allowIpList) {
		/*
		 * Cache cache = MyProcessDefinitionCache.getProcessDefinitionCache(); if(cache
		 * == null) { return; } Element element = new Element(APP_ALLOW_IP_LIST,
		 * allowIpList); cache.put(element);
		 */
	}
	
	public static List<String> getIpList(){
		/*
		 * List<String> result = new ArrayList<String>(); Cache cache =
		 * MyProcessDefinitionCache.getProcessDefinitionCache(); if(cache != null) {
		 * Element element = cache.get(APP_ALLOW_IP_LIST); if(element != null) { result
		 * = (List<String>)element.getObjectValue(); } } return result;
		 */
		return null;
	}
}
