import com.eviware.soapui.support.GroovyUtilsdef groovyUtils = new GroovyUtils( context )def holder = groovyUtils.getXmlHolder( "NormalUserLoginHealth...
分类:
其他好文 时间:
2014-11-06 16:23:44
阅读次数:
1063
jQuery选择这样返回对象var jQuery = function( selector, context ) { return new jQuery.fn.init( selector, context );//从jQuery.fn里调用的方法};jQuery.fn = jQuer...
分类:
Web程序 时间:
2014-11-06 14:47:00
阅读次数:
211
1. Application 应用层源码分析 : Application 的继承结构 详解 ContextWrapper, Context, ComponentCallbacks2, ComponentCallbacks 方法介绍;
2. Application 使用详解 : Application 用法 及 使用场景, Application 声明周期 及方法简介
3. Application 各种示例...
分类:
移动开发 时间:
2014-11-06 13:03:09
阅读次数:
283
们在SpringMVC开发项目中,有的用注解和XML配置Bean,这两种都各有自己的优势,数据源配置比较经常用XML配置,控制层依赖的service比较经常用注解等(在部署时比较不会改变的),我们经常比较常用的注解有@Component是通用标注,@Controller标注web控制器,@Service标注Servicec层的服务,@Respository标注DAO层的数据访问。SpringMVC启动时怎么被自动扫描然后解析并注册到Bean工厂中去(放到DefaultListableBeanFactory中...
分类:
编程语言 时间:
2014-11-05 21:38:23
阅读次数:
371
一直以来查看sqlite的数据库都需要root才能查看,但是公司的好多测试机root起来比较麻烦~~~
最近刚好项目上线,略闲,
于是决定写一个library工程便于以后调试代码
关键代码如下
一、查看当前app的数据库
context.databaseList()其中databaseList方法是ContextWrapper类中的一个方法定义如下
@Override
...
分类:
移动开发 时间:
2014-11-05 19:44:40
阅读次数:
179
下面讨论一个执行上下文的最后一个属性——this指针的概念。This指针A this value is a special object which is related with the execution context. Therefore, it may be named as a cont...
分类:
Web程序 时间:
2014-11-05 19:30:23
阅读次数:
269
Intent.ACTION_AIRPLANE_MODE_CHANGED;//关闭或打开飞行模式时的广播Intent.ACTION_BATTERY_CHANGED;//充电状态,或者电池的电量发生变化//电池的充电状态、电荷级别改变,不能通过组建声明接收这个广播,只有通过Context.registe...
分类:
移动开发 时间:
2014-11-05 18:55:48
阅读次数:
216
基本类实现Context: public class ContextFactory { private static DbContext context; public static DbContext Get() { if...
分类:
其他好文 时间:
2014-11-05 12:12:14
阅读次数:
152
Android 自定义View需要重写ondraw()等方法,这篇博客给大家说说自定义View的写法,需要我们继承View,然后重写一些
方法,方法多多,看你需要什么方法
首先写一个自定义的View 继承View
package com.example.engineerjspview;
import android.content.Context;
import android.g...
分类:
移动开发 时间:
2014-11-05 09:19:08
阅读次数:
197
1创建一个数据库的帮助类,并重写其构造方法package com.djf.mobilesafty.blacknumber.db;import android.content.Context;import android.database.sqlite.SQLiteDatabase;import an...
分类:
移动开发 时间:
2014-11-04 22:21:37
阅读次数:
305