2018-06-03 22:26:41 +08:00

21 lines
523 B
Java

package com.amarsoft.app.base.config;
import com.amarsoft.app.base.businessobject.BusinessObject;
import com.amarsoft.app.base.businessobject.BusinessObjectCache;
public abstract class AbstractConfig {
protected BusinessObjectCache cache=null;
protected BusinessObject config=BusinessObject.createBusinessObject();
public abstract void init(String configFile,int cacheSize) throws Exception;
public BusinessObjectCache getCache() {
return cache;
}
public BusinessObject getConfig() {
return config;
}
}