码迷,mamicode.com
首页 > 其他好文 > 详细

测试使用word2010发布博客

时间:2014-09-05 18:08:31      阅读:174      评论:0      收藏:0      [点我收藏+]

标签:des   style   io   使用   ar   for   art   div   sp   

package com.wmfxly.base.cache;

?

import com.alisoft.xplatform.asf.cache.ICacheManager;

import com.alisoft.xplatform.asf.cache.IMemcachedCache;

import com.alisoft.xplatform.asf.cache.memcached.CacheUtil;

import com.alisoft.xplatform.asf.cache.memcached.MemcachedCacheManager;

?

?

public class MemCacheMgr {

?

????private String classPathCfgLocation;

????private static ICacheManager<IMemcachedCache> manager;

?

????public synchronized void init() {

????????manager = CacheUtil.getCacheManager(IMemcachedCache.class,

????????????????MemcachedCacheManager.class.getName());

????????manager.setConfigFile(classPathCfgLocation);

????????manager.start();

????}

?

public synchronized void destroy(){

manager.stop();

}

?

????//getter and setter

????public String getClassPathCfgLocation() {

????????return classPathCfgLocation;

????}

?

????public void setClassPathCfgLocation(String classPathCfgLocation) {

????????classPathCfgLocation = classPathCfgLocation;

????}

?

????public ICacheManager<IMemcachedCache> getManager() {

????????return manager;

????}

?

????public void setManager(ICacheManager<IMemcachedCache> manager) {

????????manager = manager;

????}

????

????

}

测试使用word2010发布博客

标签:des   style   io   使用   ar   for   art   div   sp   

原文地址:http://www.cnblogs.com/inkJade/p/3958478.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!