码迷,mamicode.com
首页 >  
搜索关键字:component    ( 5606个结果
swift 字符串包含
swift的String类没有contains这样类型的方法来直接判断字符串中是否包含另一段字符串,但是,可以变通的来实现。 直接上代码: if "这是一段字符串".componentsSeparatedByString("字符串").count > 0 { println("包含") } else { println("不包含") } 简单说一下: component...
分类:编程语言   时间:2014-12-16 21:00:22    阅读次数:192
spring启动component-scan类扫描加载过程---源码分析
最近因为写书的事情,一段时间没有写博客了,有朋友最近问到了spring加载类的过程,尤其是基于annotation注解的加载过程,有些时候如果由于某些系统部署的问题,加载不到,很是不解!就针对这个问题,我这篇博客说说spring启动过程,用源码来说明,这部分内容也会在书中出现,只是表达方式会稍微有些区别,我将使用spring 3.0的版本来说明(虽然版本有所区别,但是变化并不是特别大),另外,这里...
分类:编程语言   时间:2014-12-16 13:29:17    阅读次数:337
Android_Activity
AnActivityis an application component that provides a screen with which users can interact in order to do something, such as dial the phone, take a ph...
分类:移动开发   时间:2014-12-16 11:40:05    阅读次数:266
[Unity3D]Script 脚本所有编译器属性详解
Script属性是基于IDE的一系列编译器属性JS中用@script属性方法()访问,c#中用[属性方法()]访问。一共就只有9种属性访问方式:AddComponentMenu在Component菜单中添加新的菜单项ContextMenu在当前脚本的组件中添加右键菜单内容ExecuteInEditM...
分类:编程语言   时间:2014-12-16 11:38:20    阅读次数:192
UGUI学习(一)Canvas
Canvas(画布)TheCanvasis the area for all UI elements to be inside. The Canvas is a Game Object with a Canvas component on it, and all UI elements must b...
分类:其他好文   时间:2014-12-15 15:10:10    阅读次数:307
Android studio 1.x 使用问题汇总
使用问题汇总 1、在国内如何更新android sdk? 2、解决Fetching android sdk component information加载问题 3、Gradle DSL method not found: runProguard()...
分类:移动开发   时间:2014-12-15 12:17:11    阅读次数:147
Spring系列【7】零配置实现Bean的注入
与前几例不同,需要导入aop包。Book.java 注意Book类@Component 1 package cn.com.xf; 2 3 import org.springframework.stereotype.Component; 4 5 @Component 6 public class .....
分类:编程语言   时间:2014-12-14 22:32:43    阅读次数:233
Spring中Bean的定义及作用域的注解实现
Classpath扫描与组件管理: 从Spring3.0开始,Spring JavaConfig项目提供了很多特性,包括使用java而不是xml定义bean,指的是注解 @Configuration,@Bean ,@Import ,@DependsOn @Component是一个通用注解,可用于任何b...
分类:编程语言   时间:2014-12-14 17:19:48    阅读次数:175
SharePoint 2013 搜索报错"Unable to retrieve topology component health. This may be because the admin component is not up and running"
环境描述 Windows 2012 R2,SharePoint 2013(没有sp1补丁),sql server 2012错误描述 搜索服务正常,但是爬网一直在Crawling Full,但是爬不到任何东西,而且不会停止,爬了一宿什么都没有爬到: 爬网不止,爬了一宿什么都没有爬到,错误如下: ...
分类:其他好文   时间:2014-12-12 22:03:58    阅读次数:253
SharePoint 2013 搜索报错"Unable to retrieve topology component health. This may be because the admin com
环境描述  Windows 2012 R2,SharePoint 2013(没有sp1补丁),sql server 2012错误描述  搜索服务正常,但是爬网一直在Crawling Full,但是爬不到任何东西,而且不会停止,爬了一宿什么都没有爬到:  爬网不止,爬了一宿什么都没有爬到,错误如下:   去15/logs里面找日志;Non-OAuth request. IsAuthenticated...
分类:其他好文   时间:2014-12-12 19:15:10    阅读次数:218
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!