A comprehensive understanding of Java reflection mechanism
Java's reflection mechanism is ubiquitous in practice. If you have worked for several years and have a little knowledge of Java's reflection mechanism, this article is definitely worth reading.
What is reflex
Reflection is one of the characteristics of Java. It allows running Java programs to obtain their own information and manipulate the inte ...
Posted by lifeson2112 on Wed, 25 Mar 2020 16:55:01 -0700
Source code analysis of Spring transaction execution
Spring transactions rely on AOP. The transaction execution process is to add AOP facet logic when the business method is executing. It is intercepted by the TransactionInterceptor class. We use this as the entry point to analyze the whole process.
1, TransactionInterceptor
public Object invoke(MethodInvocation invocation) throws Throwable {
...
Posted by passagewds on Tue, 24 Mar 2020 04:06:06 -0700
90% of the front end will step on the pit, did you get it
This article refers to the original- http://bjbsair.com/2020-03-22/tech-info/2149/
Written in front
In the era of mobile development, the front-end students just bid farewell to the bald Internet Explorer, but found that the mobile Internet era that they had been looking forward to for a long time was not as beautiful as they imagined. It's h ...
Posted by always_confused on Mon, 23 Mar 2020 21:17:45 -0700
Source Interpretation of Golang's sync.Map Implementation Principle
brief introduction
Gos built-in maps do not support concurrent write operations, because map write operations are not concurrently secure. When you try multiple Goroutine operations on the same map, an error occurs: fatal error: concurrent map writes.
So sync.Map has been officially introduced to accommodate concurrent programming applications. ...
Posted by skeener on Sun, 22 Mar 2020 22:56:00 -0700
JQuery - about jQuery operation properties, elements, size locations, etc.
1. Operations on attributes
The so-called attribute operation is to manipulate the attributes of a series of elements, value la class.... Especially the operation on input is very important.
To complete the next advanced Sao operations on the framework, let's now take a look at the three prop(), attr(), and data() operations common to jQuery a ...
Posted by Elemen7s on Sun, 22 Mar 2020 19:46:56 -0700
C#Queue Learning Notes: Queue and Stack
Queue
1.1. Concepts
Queue represents a first-in-first-out collection of objects.Queues are used when you need FIFO access to items.When you add an item to the list, it is called queuing, and when you remove an item from the list, it is called queuing.
1.2, Properties of Queue class
The following table lists some common properties of the Queue c ...
Posted by jwcsk8r on Sun, 22 Mar 2020 09:54:06 -0700
EasyUI tree table displaying Json data
Use the TreeGrid component of EasyUI to format and display the Json data. First, read in the Json file, turn it into a Map object, recurse each Map, and determine whether its value is the basic type or Map. If the base type, the attribute node. If Map is an object, it needs to be traversed again.
1.Map resolves Tree objects
Tree object
public ...
Posted by nashruddin on Sun, 22 Mar 2020 08:22:02 -0700
Injecting StringRedisTemplate exception into SpringBoot
StringRedisTemplate was used in writing a mall project and the result test started incorrectly:
BeanCreationException: Error creating bean with name 'userController': Injection of resource dependencies failed,
BeanNotOfRequiredTypeException: Bean named 'redisTemplate' is expected to be of type 'org.springframework.data.redis.core.StringRedisTe ...
Posted by JAM on Fri, 20 Mar 2020 22:58:43 -0700
How to insert multiple videos in vue-video-player of vue.js, the problem that videos can be played at the same time and the solution
@TOC
Multiple video solutions
Because it is to obtain different video data from the background and change the url in the playerOptions, a playerOptions object cannot be solved
1. Change the playerOptions object to an empty array
2. The data obtained from the background is placed in the videolist array, as follows
3. Loop through the videolist ...
Posted by kidd1270 on Fri, 20 Mar 2020 07:29:21 -0700
Design Mode - Creative Mode Details
In software engineering, Creative mode is a design mode that deals with object creation, trying to create objects in an appropriate way according to the actual situation.Basic object creation can lead to design problems or increase design complexity.Creative mode solves problems by controlling the creation of objects in some way.
Common creati ...
Posted by harnacks on Thu, 19 Mar 2020 23:59:05 -0700