码迷,mamicode.com
首页 >  
搜索关键字:annotation    ( 2536个结果
springboot拦截器
package com.llf.utils; import org.springframework.stereotype.Component; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; ...
分类:编程语言   时间:2020-05-02 19:21:14    阅读次数:58
springtoot过滤器注解方法
启动类加入@ServletComponentScan注解 package com.llf.utils; import javax.servlet.*; import javax.servlet.annotation.WebFilter; import java.io.IOException; @We ...
分类:编程语言   时间:2020-05-02 19:10:26    阅读次数:82
Java注解
一. java注解与注释注解区别,注释注解对于新手来说很容易混淆。注解与注释有什么不同点 ? 1.定义不同:注解:英名为Annotation,它是JDK5.0及以后版本引入的一个特性。 与类、接口、枚举是在同一个层次,可以成为java 的一个类型。用一个词描述注解 元数据,它是一种描述数据的数据。所 ...
分类:编程语言   时间:2020-05-01 18:26:10    阅读次数:81
SpringBoot事务隔离等级和传播行为的那些事儿
Spring定义了七种传播行为: 一、开启事物管理 //import org.springframework.transaction.annotation.EnableTransactionManagement; `@SpringBootApplication @EnableTransactionM ...
分类:编程语言   时间:2020-04-30 15:49:13    阅读次数:91
根据jiangshicheng的仿IOS的wheel view改写的多级联动
先上效果图 下面再上 https://github.com/JustinRoom/WheelViewDemo 中需要用到的几个类 1. IWheelViewSetting.java import android.support.annotation.ColorInt; /** * Wheel vie ...
分类:移动开发   时间:2020-04-29 01:15:42    阅读次数:66
springboot多线程定时任务
package com.llf.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.sp ...
分类:编程语言   时间:2020-04-28 22:58:20    阅读次数:79
Java中的注解和反射
个人博客 "http://www.milovetingting.cn" Java中的注解和反射 注解 Java注解(Annotation)又称Java标注,是JDK5.0引入的一种注释机制。 注解定义 通过 来声明一个注解 元注解 对注解进行注解的类就是元注解(meta annotation),在自 ...
分类:编程语言   时间:2020-04-27 11:45:14    阅读次数:61
springsecurity
```javapackage com.atguigu.security.config;import javax.sql.DataSource;import org.springframework.beans.factory.annotation.Autowired;import org.spring... ...
分类:编程语言   时间:2020-04-27 09:14:11    阅读次数:59
JedisPool实现
开始: import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import or ...
分类:其他好文   时间:2020-04-26 20:54:30    阅读次数:75
8.注解:@interface 自定义注解的语法
注解:@interface 自定义注解的语法 自定义注解: 使用@interface自定义注解时,自动继承了java.lang.annotation.Annotation接口,由编译程序自动完成其他细节。在定义注解时,不能继承其他的注解或接口。@interface用来声明一个注解,其中的每一个方法实 ...
分类:其他好文   时间:2020-04-26 11:23:02    阅读次数:68
2536条   上一页 1 ... 14 15 16 17 18 ... 254 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!