码迷,mamicode.com
首页 >  
搜索关键字:@Configuration    ( 5921个结果
apache commons 之 commons-configuration
Apache commons configuration简介和简单代码 Apache commons configuration最新的版本是2.0alpha,为了安全起见,我们用的是1.1正式版本,最主要的作用是读取资源文件,每一种文件格式都有一个对应的类,如下 : ·        Properties files ·        XML documents ·        Wind...
分类:Web程序   时间:2014-12-24 13:28:08    阅读次数:223
MapReduce作业运行第三方配置文件的共享方法
其实MapReduce作业运行第三方配置文件的共享方法往小了说其实就是参数在MapReduce作业中的传递,往大了说其实就是DistributedCache的应用。在MapReduce中传递参数普遍用Configuration,Configuration是一个键值对,将所需的参数值表示成键值对(键值对为字符串类型),调用Conf..
分类:其他好文   时间:2014-12-24 06:32:52    阅读次数:229
C# 多线程下载
using System;using System.Collections;using System.Configuration;using System.Data;using System.Linq;using System.Web;using System.Web.Security;using ...
分类:编程语言   时间:2014-12-23 21:04:55    阅读次数:187
Ubuntu启动后进入界面时,报错误Could not apply the stored configuration for monitors
一. 问题:Ubuntu启动后进入界面时,报错误Could not apply the stored configuration for monitors,分辨率无法设置二. 解决: 删除monitors.xml文件1 sudo rm -f ~/.config/monitors.xml
分类:移动开发   时间:2014-12-23 19:01:33    阅读次数:138
Mysql存中文值乱码
一是安装mysql时,其中会有一个步骤选择编码方式,此时选择gbk即可。如果不选择,默认的编码是latin1; 二是在安装玩mysql之后,手动修改其配置文件,如下: (1)修改 MySql安装目录下面的my.ini(MySQL Server Instance Configuration 文件).....
分类:数据库   时间:2014-12-23 17:21:34    阅读次数:172
安装MySQL56时,停止在start service这一步
问题:在安装MySQL56时,安装程序执行到start service这一步就不能完成,系统一直提示“安装时间比预期的的长,是否停止安装这一步(configuration of mysql sever 5.6.21 is taking longer than expected. do you wan...
分类:数据库   时间:2014-12-23 11:50:30    阅读次数:293
Android开发-API指南-<uses-configuration>
Android 官方文档原创译文《》,manifest 文件节点。
分类:移动开发   时间:2014-12-23 10:10:12    阅读次数:246
类库探源——System.Configuration 配置信息处理
按照MSDN描述System.Configuration 命名空间 包含处理配置信息的类型本篇文章主要两方面的内容1. 如何使用ConfigurationManager 读取AppSetting和ConnectionStrings2. 如何使用自定义 Section,我这里的自定义Section格式...
分类:其他好文   时间:2014-12-22 21:04:27    阅读次数:126
CentOS防火墙配置
1. 使用setup命令[1] 打开一个终端窗口,输入setup命令[root@localhost ~]# setup[2] 选择Firewall configuration, 选择Run Tool,进入防火墙配置界面[3] 勾选Enabled开启防火墙,不勾选则不开启,此处开启,并选择Custom...
分类:其他好文   时间:2014-12-22 19:32:58    阅读次数:143
Hibernate4 下的hibernateUtil
import org.hibernate.SessionFactory;import org.hibernate.boot.registry.StandardServiceRegistryBuilder;import org.hibernate.cfg.Configuration;import or...
分类:Web程序   时间:2014-12-22 14:18:53    阅读次数:199
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!