码迷,mamicode.com
首页 >  
搜索关键字:context    ( 11739个结果
spring-注入对象map
一.创建项目项目名称:spring092901二.添加jar包commons-logging.jarjunit-4.4.jarlog4j.jarspring-beans-3.2.0.RELEASE.jarspring-context-3.2.0.RELEASE.jarspring-core-3.2.0.RELEASE.jarspring-expression-3.2.0.RELEASE.jar三.添加配置文件1.在项目中创建conf目录/conf2.在..
分类:编程语言   时间:2014-09-29 20:47:31    阅读次数:222
spring-注入对象Set
一.创建项目项目名称:spring092901二.添加jar包commons-logging.jarjunit-4.4.jarlog4j.jarspring-beans-3.2.0.RELEASE.jarspring-context-3.2.0.RELEASE.jarspring-core-3.2.0.RELEASE.jarspring-expression-3.2.0.RELEASE.jar三.添加配置文件1.在项目中创建conf目录/conf2.在..
分类:编程语言   时间:2014-09-29 20:47:21    阅读次数:203
spring-注入对象数组
一.创建项目项目名称:spring092901二.添加jar包commons-logging.jarjunit-4.4.jarlog4j.jarspring-beans-3.2.0.RELEASE.jarspring-context-3.2.0.RELEASE.jarspring-core-3.2.0.RELEASE.jarspring-expression-3.2.0.RELEASE.jar三.添加配置文件1.在项目中创建conf目录/conf2.在..
分类:编程语言   时间:2014-09-29 20:47:11    阅读次数:151
随笔碎片
1、隐藏软键盘1 private void hideSoftInput(){2 // 隐藏软键盘3 InputMethodManager inputManager = (InputMethodManager) getActivity().getSystemService(Context.INPUT_...
分类:其他好文   时间:2014-09-29 20:00:52    阅读次数:159
spring-注入对象list
一.创建项目项目名称:spring092901二.添加jar包commons-logging.jarjunit-4.4.jarlog4j.jarspring-beans-3.2.0.RELEASE.jarspring-context-3.2.0.RELEASE.jarspring-core-3.2.0.RELEASE.jarspring-expression-3.2.0.RELEASE.jar三.添加配置文件1.在项目中创建conf目录/conf2.在..
分类:编程语言   时间:2014-09-29 19:41:11    阅读次数:170
设计模式之: 策略模式
在GOF的《设计模式:可复用面向对象软件的基础》一书中对策略模式是这样说的:定义一系列的算法,把它们一个个封装起来,并且使它们可相互替换。该模式使得算法可独立于使用它的客户而变化。 组成: (1)Strategy—抽象策略角色: 策略类,通常由一个接口或者抽象类实现。 {      定义了一个公共接口,各种不同的算法以不同的方式实现这个接口,Context使用这个接口调用不同的算法,一...
分类:其他好文   时间:2014-09-29 19:15:41    阅读次数:220
eclipse中maven jetty开发热部署有效设置
pom.xml设置: 关键一行,扫描周期(10秒),有变更则重启 <scanIntervalSeconds>10</scanIntervalSeconds>?? 局部设置代码: <build> <!--?jetty插件,?设定context?path与spring?profile?--> <plugi...
分类:系统相关   时间:2014-09-29 13:58:31    阅读次数:263
Trident中 FixedBatchSpout分析
FixedBatchSpout 继承自 IBatchSpout IBatchSpout 方法public interface IBatchSpout extends Serializable { void open(Map conf, TopologyContext context); ...
分类:数据库   时间:2014-09-29 11:23:20    阅读次数:282
spring email
一、添加依赖包 ? ? ? ? ?..... ? ? ? ? compile "org.springframework:spring-context-support:4.0.1.RELEASE" ? ? ? ? compile "javamail:javamail:1.3.2" ? ? ? ? compile "jaf:activation:...
分类:编程语言   时间:2014-09-29 02:01:08    阅读次数:407
Android应用程序相关的文件目录详解
一、方法介绍:                每个Android应用程序都可以通过Context来获取与应用程序相关的目录,这些目录的功能各异,每一个目录都有自己的特点,有时候可能会搞混淆,本文结合android源码注释和实际操作,详细介绍一下每个方法: 方法:getFilesDir  释义:返回通过Context.openFileOutput()创建和存储的文件系统的绝对路径,应用程序文件...
分类:移动开发   时间:2014-09-28 21:28:15    阅读次数:209
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!