码迷,mamicode.com
首页 >  
搜索关键字:proxy classes    ( 8879个结果
EF: Raw SQL Queries
Raw SQL Queries Entity Framework allows you to query using LINQ with your entity classes. However, there may be times that you want to run queries usi...
分类:数据库   时间:2014-09-09 15:45:58    阅读次数:295
hadoop2.4 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
在Ubuntu上安装完hadoop2.4以后,使用以下命令:hadoop fs -ls14/09/09 11:33:51 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... usi...
分类:移动开发   时间:2014-09-09 15:44:28    阅读次数:205
代理模式之基础
“代理”这个熟悉而又陌生的词语,熟悉是因为在生活中随处可见:超市就是一个简单的代理;让别人代送礼物是一个代理;让别人传递一个消息也是一个代理、、、看吧在生活这么多代理,但是这个组成的代理模式到底是什么呢?它又有什么用途呢?没有它会怎么样?等等一些列的问题围绕着我,那么接下来就一块学习下代理模式吧! 一、是什么?      代理模式(proxy)很官方的说法,为其他对象提供一种代理以控制对这个...
分类:其他好文   时间:2014-09-09 13:07:48    阅读次数:162
通过获取的一个值和本地的一个值比较来获取一个boolean值
/**      * Sets the port of the local Socks5 proxy. Default is 7777. If you set the port to a negative      * value Smack tries the absolute value and all following until it finds an open port.    ...
分类:其他好文   时间:2014-09-07 03:18:54    阅读次数:250
通过本地存储的一个值和当前获取值得比较得到一个boolean值
/**      * Sets the port of the local Socks5 proxy. Default is 7777. If you set the port to a negative      * value Smack tries the absolute value and all following until it finds an open port.    ...
分类:其他好文   时间:2014-09-07 03:18:44    阅读次数:207
从smack-config.xml文件中加载文件内容 Loads the configuration from the smack-config.xml file
/**      * Loads the configuration from the smack-config.xml file.      *       * So far this means that:      * 1) a set of classes will be loaded in order to execute their static init block    ...
分类:其他好文   时间:2014-09-07 02:14:04    阅读次数:193
如何删除鼠标右键菜单里的打开按钮
1. 单击Windows的“开始”菜单,单击“运行”,在“打开”框中键入“regedit”,单击“确定”按钮,打开“注册表编辑器”窗口。  2. 展开“HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers”分支,在其下找到要删除的无用项,然后右键单击该项,再单击“删除”将其删除即可清除右键菜单中的对应选项。对于仅在文件夹右键菜单中才有的选项,可到HK...
分类:其他好文   时间:2014-09-06 16:11:35    阅读次数:165
模拟spring注入
项目中的的spring出现问题,不想使用spring框架进行注入,编写一个简单的spring,实现xml解析和类的注入。所有的框架都可以用java项目,用到了java提供的基础类,所以用到的原理也就呢么多(我刚开始工作2个月,说的不对请谅解)。因此spring用到了注入用到java中的反射机制,aop用到了java的代理机制proxy对象。总结一下自己的设计: 设计范围三层: 第一层是实体层,...
分类:编程语言   时间:2014-09-06 16:08:33    阅读次数:303
Parcelable与Serializable接口的用法和区别
1. Parcelable接口Interface for classes whose instances can be written to and restored from a Parcel。 Classes implementing the Parcelable interface must ...
分类:其他好文   时间:2014-09-06 15:58:13    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!