码迷,mamicode.com
首页 >  
搜索关键字:messagequeue handler    ( 5772个结果
addEventListener attachEvent和解决IE 6 7 8 this指向错误
[JS] addEventListener attachEvent和解决IE 6 7 8 this指向错误 电梯直达 1# php 发表于 2014/4/13 01:17 | 只看该作者 标准浏览器中可以使用addEventListener()函数来给DOM元素绑定事件,使用removeEventL ...
分类:其他好文   时间:2017-12-25 13:39:42    阅读次数:137
shiro 配置注解后无权访问不进行页面跳转异常:org.apache.shiro.authz.UnauthorizedException: Subject does not have permission
该问题需要使用异常管理: <!-- 无权访问跳转的页面 --> <bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver"> <property name="exceptionMapping ...
分类:Web程序   时间:2017-12-25 11:34:14    阅读次数:4773
Extjs win
//创建window var win = Ext.create("Ext.window.Window", { id: "myWin", title: "示例窗口", width: 500, height: 300, layout: "fit", items: [ { xtype: "form", d ...
分类:Windows程序   时间:2017-12-24 20:14:03    阅读次数:241
SpringMVC 中配置 Swagger 插件
一、简介 Swagger的目标是为REST API定义一个与语言无关的标准接口,允许用户发现和理解计算机服务的功能,而无需访问源代码。当通过Swagger正确定义时,用户可以用最少量的实现逻辑理解远程服务并与之交互。类似于低级编程所做的接口。 二、实现步骤 1、添加 Maven 依赖 2、Swagg ...
分类:编程语言   时间:2017-12-24 16:59:05    阅读次数:434
适配器模式 类适配器模式
适配器模式,Adapter模式,也叫Wrapper模式(包装器) Adapter这个词见的很多,比如springmvc里的SimpleControllerHandlerAdapter,slf4j里的AbstractLoggerAdapter 顾名思义:适配器是为目标寻找合适的类的方法或者对找到的方法 ...
分类:其他好文   时间:2017-12-24 16:56:35    阅读次数:341
EventBus
1.简介 EventBus是一个安卓端优化的publish/subscribe消息总线,简化了应用程序内各组件间、组件与后台线程间的通信。比如请求网络,等网络返回时通过Handler或Broadcast通知UI,两个fragment之间需要通过Listener通信,这些需求都可以通过EventBus ...
分类:其他好文   时间:2017-12-23 20:24:34    阅读次数:174
ansible-playbook组件解析及操作全解
转载于http://www.178linux.com/7001 一、ansible-playbook介绍: playbook是由一个或多个”play”组成的列表。play的主要功能在于将事先归为一组的主机装扮成事先通过ansible中的task定义好的角色。从根本上来将,所谓的task无法是调用an ...
分类:其他好文   时间:2017-12-23 16:02:05    阅读次数:208
[Recompose] Merge RxJS Button Event Streams to Build a React Counter Component
Combining input streams then using scan to track the results is a common scenario when coding with streams. This lesson walks you through setting up t ...
分类:Web程序   时间:2017-12-22 20:48:48    阅读次数:218
beego3---gohttp底层实现
package main //gohttp底层实现,通过gohttp不是通过beego实现的输出 // import ( "io" "log" "net/http" ) func main() { //设置路由 http.HandleFunc("/", sayHello) err := http.L... ...
分类:Web程序   时间:2017-12-22 18:36:14    阅读次数:250
springboot拦截器实现
package webapp.dao.bcf; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.HandlerInterceptor; import... ...
分类:编程语言   时间:2017-12-22 15:01:35    阅读次数:122
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!