At line 1 changed 1 line. |
[{Java2HtmlPlugin |
[this mailing list thread|http://nagoya.apache.org/eyebrowse/[email protected]&msgNo=451]. |
At line 3 changed 3 lines. |
<bean id="userManagerTarget" class="org.appfuse.service.impl.UserManagerImpl"> |
<property name="userDAO"><ref local="userDAO"/></property> |
</bean> |
[What is this SandBox?|WhatIsThisSandBox] |
At line 5 added 51 lines. |
[{Java2HtmlPlugin |
|
import javax.naming.Context; |
import javax.naming.InitialContext; |
|
import junit.framework.TestCase; |
|
import org.mockejb.MockContainer; |
import org.mockejb.SessionBeanDescriptor; |
import org.mockejb.jndi.MockContextFactory; |
import org.springframework.context.ApplicationContext; |
import org.springframework.context.support.ClassPathXmlApplicationContext; |
|
/** |
* Parent TestCase class for testing EJBs using MockEJB |
* |
* @author mraible |
* |
*/ |
public abstract class MockEJBTestCase extends TestCase { |
|
/** |
* This method sets up a MockContainer and allows you to deploy an EJB to |
* it. Override <code>onSetUp()</code> to add custom set-up behavior. |
* |
* @see #onSetUp() |
*/ |
protected final void setUp() throws Exception { |
MockContextFactory.setAsInitial(); |
|
Context ctx = new InitialContext(); |
ApplicationContext appCtx = |
new ClassPathXmlApplicationContext(getConfigLocations()); |
|
ctx.bind("java:comp/env/jdbc/appDS", appCtx.getBean("dataSource")); |
|
MockContainer mc = new MockContainer(ctx); |
SessionBeanDescriptor dd = getDeploymentDescriptor(); |
mc.deploy(dd); |
onSetUp(); |
} |
|
protected String[] getConfigLocations() { |
return new String[] { "classpath:/applicationContext.xml" }; |
} |
|
protected void onSetUp() throws Exception {} |
|
protected abstract SessionBeanDescriptor getDeploymentDescriptor(); |
} |
|
At line 8 changed 246 lines. |
[http://www.8848flower.com china flower] |
[http://www.8848flower.com china flowers] |
[http://www.cnsec.cn/product/firewall/NS-5GT.htm Netscreen] |
[http://www.join-2008.com 二手笔记本,笔记本电脑] |
[http://www.shunfeng-pioneer.com/lndex.htm 净化,过滤] |
[http://www.ruilong.com.cn 健身器材,跑步机,按摩椅] |
[http://www.beijingkh.com/cpjj.htm 电流传感器] |
[http://www.bjhsdx.com 条码打印机] |
[http://xiaolingtong.freewebpage.org 小灵通] |
[http://www.zbbz.com/cpzs-1.htm 真空泵] |
[http://www.teflontape.cn/ptfe_thread_seal_tape.htm ptfe thread seal tape] |
[http://www.teflontape.cn/ptfe_tape.htm ptfe tape] |
[http://www.teflontape.cn/teflon_tape.htm teflon tape] |
[http://www.jinyibei.com.cn 单片机] |
[http://tongyi.freewebpage.org 润滑油] |
[http://www.monarch.com.cn 润滑油] |
[http://www.dongdao.net 设计,平面设计,广告设计] |
[http://www.dongdao.net/main04.htm CI设计,设计] |
[http://www.dongdao.net/main04.htm VI设计,设计] |
[http://www.dongdao.net/sheji.htm 设计] |
[http://www.dongdao.net/pingmiansheji.htm 平面设计] |
[http://www.dongdao.net/guanggaosheji.htm 广告设计] |
[http://www.dongdao.net/ci.htm CI设计] |
[http://www.dongdao.net/vi.htm VI设计] |
[http://www.dongdao.net/main04.htm 标志设计,设计] |
[http://www.dongdao.net/main04-02.htm 包装设计] |
[http://www.bjzufang.com 租房] |
[http://www.bjzufang.com 北京租房] |
[http://www.bjzufang.com/index.htm 北京租房] |
[http://www.bjzufang.com/index.htm 租房] |
[http://www.cstarcom.com gps,gis,卫星定位] |
[http://www.pcvr.com.cn/vrweb/disquisition/index00.htm 虚拟现实] |
[http://www.wecony.com/shouye.htm 视景仿真] |
[http://www.huihualin.com 水处理] |
[http://www.huihualin.com/jlsb.htm 加药] |
[http://www.gaokao.net.cn 高考] |
[http://www.sinoart.com.cn 网站建设,网站推广] |
[http://www.googlepromotion.com google排名,google左侧排名] |
[http://dongdao.freewebpage.org 设计] |
[http://adsheji.freewebpage.org 广告设计] |
[http://pingmian.freewebpage.org 平面设计] |
[http://bjzufang.freewebpage.org 租房,北京租房] |
[http://notebooks.freewebpage.org 笔记本电脑] |
[http://tmrr.freewebpage.org 商标,商标注册] |
[http://www.sinoart.com.cn/oa.htm oa,办公自动化] |
[http://bjlawyer.freewebpage.org 律师 律师事务所] |
[http://bjlawyer.freewebpage.org/falvzixun.htm 法律咨询] |
[http://myacca.freewebpage.org ACCA,ACCA考试,ACCA培训] |
[http://generator.freewebpage.org 发电机,发电机组,柴油发电机] |
[http://mygmat.freewebpage.org GMAT,GMAT培训,GMAT考试] |
[http://jipiaobj.freewebpage.org 机票] |
[http://chinacrm.freewebpage.org CRM] |
[http://chinaerp.freewebpage.org ERP] |
[http://www.jinyibei.com.cn 单片机] |
[http://www.huihualin.com/depolox.htm 余氯分析检测仪] |
[http://www.huihualin.com/hhlx.htm 氯气泄漏吸收装置] |
[http://www.huihualin.com/chem.htm 计量泵] |
[http://www.huihualin.com/v2000.htm 加氯机] |
[http://www.zzdh.com/cpjs8.htm 破碎机] |
[http://www.zzdh.com/cpjs3.htm 粉碎机] |
[http://www.zzdh.com/cpjs8.htm 碎石机] |
[http://www.zzdh.com/cpjs3.htm 木粉机] |
[http://www.zzdh.com/cpj8.htm 制砂机] |
[http://www.zzdh.com/4.htm 振动筛] |
[http://chinagps.freewebpage.org GPS] |
[http://kaoqin.freewebpage.org 考勤,考勤机,考勤系统,指纹考勤机,磁卡考勤机,IC卡考勤机,条形码考勤机] |
[http://mygoogle.freewebpage.org GOOGLE排名] |
[http://guanli.freewebpage.org 管理咨询] |
[http://mypower.freewebpage.org 电源,稳压电源,逆变电源,应急电源,ups电源,电源模块,模块电源] |
[http://safetys.freewebpage.org 监控] |
[http://safetys.freewebpage.org 安防] |
[http://oyeah.freewebpage.org 成人用品,性用品] |
[http://www.anchuang.com.cn/htm/fangjidian/baojia.htm 防静电地板] |
[http://http://www.anchuang.com.cn/shiyanshi.html 实验室设备] |
[http://pack.freewebpage.org PACKING MACHINERY,Packing Machine,包装机械] |
[http://mygre.freewebpage.org GRE,GRE考试,GRE培训] |
[http://myielts.freewebpage.org IELTS,IELTS培训,IELTS考试] |
[http://mymp3.freewebpage.org MP3 MP3播放器] |
[http://mytoefl.freewebpage.org TOEFL,TOEFL培训,TOEFL考试] |
[http://myvod.freewebpage.org VOD] |
[http://myvoip.freewebpage.org VOIP] |
[http://myvpn.freewebpage.org VPN] |
[http://mywatch.freewebpage.org 手表] |
[http://mytoy.freewebpage.org 玩具] |
[http://mytoy.freewebpage.org/maorong.htm 毛绒玩具] |
[http://mytoy.freewebpage.org/yizhi.htm 益智玩具] |
[http://myoa.freewebpage.org OA] |
[http://www.googlepromotion.com/fuwu/google.htm google排名,google左侧排名] |
[http://chinasteel.freewebpage.org 钢铁,钢材] |
[http://vitiligo.freewebpage.org VITILIGO,白癜风] |
[http://www.germanytek.com/jianshuji.asp 减速机] |
[http://www.germanytek.com/bujindianji.asp 步进电机] |
[http://www.germanytek.com/kongzhika.asp 运动控制卡] |
[http://www.germanytek.com/hezuohuoban.asp 数控系统] |
[http://www.germanytek.com/chanpin/sifudianji.asp 伺服电机] |
[http://www.germanytek.com/chanpin/epis.asp 嵌入式系统] |
[http://touyingji.freewebpage.org 投影机,sony投影机] |
[http://chinascooter.freewebpage.org SCOOTER,China Scooter,SCOOTERS] |
[http://workflow.freewebpage.org WorkFlow,工作流,工作流管理系统] |
[http://wiremesh.freewebpage.org Wire Mesh,Wire Cloth] |
[http://bjcanyin.freewebpage.org 餐饮软件,无线点菜,餐饮管理软件] |
[http://danpianji.freewebpage.org 单片机] |
[http://gatecontrol.freewebpage.org 门禁 门禁系统] |
[http://bjhuojia.freewebpage.org 货架,音像货架,图书货架,仓储货架,超市货架] |
[http://chushiji.freewebpage.org 除湿,除湿机,除湿器,除湿设备] |
[http://callcenters.freewebpage.org 呼叫中心] |
[http://ledbj.freewebpage.org 大屏幕,大屏幕拼接] |
[http://interphone.freewebpage.org 对讲机,无线对讲机] |
[http://chinatray.freewebpage.org 托盘,木质托盘,塑料托盘] |
[http://compressor.freewebpage.org 压缩机,空气压缩机,空压机] |
[http://plasmas.freewebpage.org 等离子,等离子显示器,等离子显示屏,等离子电视] |
[http://plastics.freewebpage.org Plastic machinery,塑料机械,Plastic machine] |
[http://www.beijingkh.com/cpjj.htm 电流传感器] |
[http://www.beijingkh.com 电流传感器] |
[http://www.gotooa.com 办公自动化] |
[http://www.gaokao.net.cn 高考] |
[http://www.passion.org.cn gmat,gmat考试,gmat培训] |
[http://www.sxcoal.com/en/index.asp coal] |
[http://www.bj-sd.com 机票] |
[http://www.bbell.com 小灵通] |
[http://www.gaokao.net.cn 高考] |
[http://www.bjhsdx.com 条码打印机] |
[http://www.pm.tsinghua.edu.cn 项目管理] |
[http://www.glory-vision.com/d_lib/htdocs/index.asp 投影机] |
[http://www.glory-vision.com 投影机] |
[http://www.cstarcom.com gps,卫星定位] |
[http://www.sinoart.com.cn/oa.htm OA,办公自动化] |
[http://myoa.freewebpage.org OA]] |
[http://www.contake.com/english/farm_08.htm trifluoroethanol] |
[http://www.bjkhp.com 商标] |
[http://www.bjkhp.com 专利,专利代理] |
[http://www.bjkhp.com/operation.asp 商标代理] |
[http://www.kangxin.com 商标] |
[http://www.kangxin.com 专利] |
[http://www.kangxin.com 知识产权] |
[http://www.tmrr.com 商标,商标注册] |
[http://www.glory-vision.com 投影机] |
[http://www.glory-vision.com 会议室工程,等离子显示器] |
[http://www.jinyibei.com.cn 单片机]] |
[http://www.jinyibei.com.cn/chanpin/bcq/vlp-58A.htm 编程器] |
[http://www.jinyibei.com.cn/chaxun/arm.htm ARM] |
[http://www.fashuo300.com 考研,法律硕士,法硕] |
[http://www.approachina.com 管理咨询,管理咨询公司] |
[http://www.creavic.com.cn/ois/usersites/chengwei/index.jsp 管理咨询,管理顾问] |
[http://www.jzhrb.com.cn 减肥,美容] |
[http://www.51zhengxing.net 美容,整形,整容] |
[http://www.51zhengxing.net/2-zxjf.htm 减肥,瘦身] |
[http://www.51zhengxing.net/2-zxxm.htm 隆胸,丰胸] |
[http://www.melucky.com 门禁,一卡通,停车场] |
[http://www.ychzn.com/DKmjjianjie.htm 门禁] |
[http://www.ychzn.com/suo_elem.htm 电子锁] |
[http://www.peak-e.com/cpyxt/mj.asp 门禁] |
[http://www.peak-e.com/cpyxt/yktxt.asp 一卡通] |
[http://www.peak-e.com/cpyxt/tcc.asp 停车场] |
[http://www.tonzh.com smt,回流焊] |
[http://www.cnsec.cn/product/firewall/NS-5GT.htm netscreen] |
[http://www.cnsec.cn/product/1firewall.htm 防火墙] |
[http://www.cnsec.cn/product/1fortinet.htm 防毒墙] |
[http://www.drs.infosec.org.cn 数据恢复,数据修复] |
[http://www.drs.infosec.org.cn/area.html 硬盘数据修复] |
[http://www.drs.infosec.org.cn/area.html 硬盘数据恢复] |
[http://www.chindata.com 数据恢复] |
[http://www.protech.net.cn 负载均衡,RADWARE,ALTEON] |
[http://www.zgpt.cn/pro1.htm 发电机] |
[http://www.zgpt.cn/pro2.htm 发电机组,发电机] |
[http://www.zgpt.cn/showroom.htm 柴油发电机] |
[http://www.zt148.com 律师,律师事务所,法律咨询] |
[http://www.148-law.com 律师] |
[http://www.148-law.com/housing/service.htm 律师事务所] |
[http://www.148-law.com/message.htm 法律咨询] |
[http://www.148-law.com/card/card1.htm 法律顾问] |
[http://www.rotek.com.cn/1024-768.htm 水处理] |
[http://www.huihualin.com/sclyj.htm 水处理] |
[http://www.rotek.com.cn/1024-768.htm 净水设备] |
[http://www.rotek.com.cn/1024-768.htm 软水机] |
[http://chinasteel.freewebpage.org 钢铁,钢材] |
[http://vitiligo.freewebpage.org VITILIGO,白癜风] |
[http://tumor.freewebpage.org 肿瘤,良性肿瘤,恶性肿瘤] |
[http://chinacancer.freewebpage.org 癌症] |
[http://mykvm.freewebpage.org KVM,切换器,机柜] |
[http://watertreat.freewebpage.org 水处理,水处理设备,污水处理] |
[http://www.xinchen.net.cn/kvm.htm kvm] |
[http://www.bjerwai.com/modules/peixun/english.htm 英语] |
[http://www.bjerwai.com/modules/peixun/french.htm 法语] |
[[http://www.bjerwai.com/modules/ielts/index.htm 雅思] |
[http://www.cfeenet.com/Examzhichen/default.asp 会计] |
[http://www.cfeenet.com/ExamCPA/default.asp 注册会计师] |
[http://www.sense.com.cn 加密狗,加密锁,软件加密] |
[http://www.xinchen.net.cn 机柜] |
[http://www.xinchen.net.cn/LCD/1.htm 切换器] |
[http://www.xinchen.net.cn/avocent/index.htm Avocent] |
[http://www.xinchen.net.cn/avocent/index.htm kvm] |
[http://www.xinchen.net.cn/kvm.htm kvm] |
[http://www.gyhx.com 视频光端机,视频编解码器,光纤收发器] |
[http://www.omeida.com/omdhtm/cindex/course/course.htm 英语培训] |
[http://www.omeida.com/omdhtm/cindex/course/course.htm 英语口语] |
[http://www.dstmedia.com 视频会议,视频会议系统,视频会议设备] |
[http://www.plcm.com.cn/defaultflash.asp 视频会议] |
[http://www.plcm.com.cn/shipinhuiyi.htm 视频会议] |
[http://www.plcm.com.cn/defaultflash.asp 宝利通] |
[http://www.sinoart.com.cn 网站推广] |
[http://www.sinoart.com.cn 网站建设] |
[http://www.googlepromotion.com google排名] |
[http://www.googlepromotion.com google左侧排名] |
[http://www.glory-vision.com/d_lib/htdocs/touyingji.htm 投影机] |
[http://www.approachina.com/guanlizixun.htm 管理咨询] |
[http://www.jinyibei.com.cn/danpianji.htm 单片机] |
[http://www.bjfusheng.com 空压机] |
[http://www.bjfusheng.com/products/index.asp 压缩机] |
[http://www.gaokao.net.cn 高考] |
[http://www.zt148.com/falvzixun.htm 法律咨询] |
[http://www.zt148.com/lvshi.htm 律师] |
[http://www.zt148.com/lvshishiwusuo.htm 律师事务所] |
[http://www.plcm.com.cn/dianhuahuiyi.htm 电话会议] |
[http://www.plcm.com.cn/polycom.htm POLYCOM] |
[http://www.51zhengxing.net/zhengxing.htm 整形] |
[http://www.51zhengxing.net/meirong.htm 美容] |
[http://www.51zhengxing.net/jianfei.htm 减肥] |
[http://www.globalsearch.cn/jiami/jiami.htm 加密] |
[http://www.globalsearch.cn/jiami/jiamisuo.htm 加密锁] |
[http://www.globalsearch.cn/jiami/jiamigou.htm 加密狗] |
[http://www.globalsearch.cn/jiami/ruanjianjiami.htm 软件加密] |
[http://www.sense.com.cn 加密狗] |
[http://www.bjacca.com ACCA考试] |
[http://www.bjacca.com ACCA培训] |
[http://www.ponytest.com 检测,检测中心,测试中心] |
[http://www.ponytest.com/html_cn/contact.htm 检验中心] |
[http://www.ponytest.com/html_cn/lab_environment.htm 水质检测] |
[http://www.ponytest.com/html_cn/lab_environment.htm 水质化验] |
[http://www.ponytest.com/html_cn/lab_environment.htm 水质检验] |
[http://www.ponytest.com/html_cn/lab_medical.htm 食品检测] |
[http://www.ponytest.com/html_cn/lab_environment.htm 商品检验] |
[http://www.ponytest.com 质量检测] |
[http://www.ponytest.com 质量检测中心] |
[http://www.ponytest.com 质检中心] |
[http://www.ponytest.com/html_cn/lab_medical.htm 化学成分检测] |
[http://www.ponytest.com 检验认证] |
[http://www.ponytest.com 检测认证] |
[http://www.bjzufang.com/p_gy.php 公寓] |
[http://www.bjzufang.com/p_gy.php 北京公寓] |
[http://www.bjzufang.com/p_gy.php 求租公寓] |
[http://www.bjzufang.com/p_gy.php 别墅] |
[http://www.bjzufang.com/p_gy.php 别墅出租] |
[http://www.bjzufang.com/p_mz.php 民宅] |
[http://www.multivision.com.hk/s-index.html 监控] |
[http://www.multivision.com.hk/s-index.html 安防] |
|
[CreateDAO_zh] |
[CreateDAO_sp] |
|
[CreateManager_es] |
|
[QuickStart Guide_es] |
|
[SpringControllerUnitTest] |
|
|
[δΈζζε|Articles_zh] |