java缓存框架
一、启动加载类
import oracle.core.lmx.CoreException;
/**
* 启动项
*/
public interface StartItem {
/**
* 获取启动项名称
* @return 启动项名称 */
public String getName();
/**
* 加载启动配置信息
* @throws CoreException
*/
public void start() throws CoreException;
/**
* 销毁启动资源
*/
public void stop();
}
public class AppMgr {
private static final String module = AppMgr.class.getName();
/**
* 构造器
*/
private AppMgr() {
innerStartItems = new ArrayList<StartItem>();
innerStartItems.add(new Log4j());
innerStartItems.add(new PlatformConfig());
innerStartItems.add(new PlatformCacheMgr());
}
/**
*