码迷,mamicode.com
首页 >  
搜索关键字:@component @controller @service @repository    ( 41522个结果
Kubernetes YAML文件详解
本文以部署showdoc为例来讲解yaml配置文件定义StatefulSet定义Service定义Ingress
分类:Web程序   时间:2020-10-10 17:27:15    阅读次数:30
bindService流程源码分析
bindService流程源码分析 一、简介 bindService是应用用来与service进行绑定的。该方式启动的service系统认为只有在调用者的context存在时service才有必要运行,比如在activity中调用该方法且该activity处于stopped状态,那么其绑定的服务在a ...
分类:其他好文   时间:2020-10-09 21:26:50    阅读次数:32
Konga-Kong网关的权限控制指定消费者
刚开始陷入了误区了,网上很多参考例子都是如何实现身份证验证,而且看到konga上面配置身份插件的地方基本都有consumer一个配置项,一直纠结在这个如何通过key-auth实现指定的route或者service指定消费者才能访问。这个误区解答就是kong身份认证和权限是独立的。 也就是说我们在添加 ...
分类:其他好文   时间:2020-10-09 21:22:49    阅读次数:39
使用thymeleaf
?操作步骤 ?(1)在pom.xml中引入thymeleaf; ?(2)如何关闭thymeleaf缓存 ?(3)编写模板文件.html ?(4)编写访问模板文件controller 在pom.xml加入thymeleaf的依赖: <dependency> <groupId>org.springfra ...
分类:其他好文   时间:2020-10-09 21:11:22    阅读次数:21
spring注册bean、注入新的配置
一、注册bean有两种手段 在类上加@Component、@Service、@Controller、@Repository等注解,作为可以被@Autowired注入的实例化对象; 在类上加@Configuration,方法上加@Bean,扫描时,将新对象(这里需要new)return到spring容 ...
分类:编程语言   时间:2020-10-09 21:10:17    阅读次数:31
AA.Dapper升级了
AA.Dapper基于dapper进一步封装而成的orm框架,提供增删改查、分页、事务、原生sql的功能,以满足日常的业务开发。 1.Repository层: DapperRepository类包含大部分数据库操作如图: DapperContext.Current.DataBase类支持原生sql, ...
分类:移动开发   时间:2020-10-09 20:53:39    阅读次数:34
Vue踩坑记录
组件名必须全小写 官方文档没有声明组件名必须全小写 Vue.component('my-component-name', { // ... options ... }) 但是我的第一个Vue组件踩了这个坑 <!DOCTYPE html> <html lang="en"> <head> <meta c ...
分类:其他好文   时间:2020-10-09 20:19:49    阅读次数:22
@Value
使用@Value一个个字段给值 @Component public class Man { @Value("${person.lastName}") private String lastName; @Value("12") private Integer age; @Value("false") ...
分类:其他好文   时间:2020-10-08 19:37:54    阅读次数:21
Hadoop
<repositories> <repository> <id>hadoop</id> <url>https://repository.cloudera.com/artifactory/cloudera-repos</url> </repository> <dependency> <groupId> ...
分类:其他好文   时间:2020-10-08 19:30:36    阅读次数:21
Zabbix运维---监控tcp的11种状态
一、引入 1、网站因tcp受到的攻击 1)DoS(Denial of Service,拒绝服务) 2)DDoS(Distributed Denial of Service,分布式拒绝服务) 2、监控关键的状态 注:SYN_RCVD状态一般正常情况下监控不到,出现DDoS攻击时,才能监控到,所以zab ...
分类:其他好文   时间:2020-10-08 19:27:55    阅读次数:25
41522条   上一页 1 ... 79 80 81 82 83 ... 4153 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!