Spring source code analysis 2 Parse the Xml configuration file and register the BeanDefinition to the container

1. Important core interfaces 1.1 resource interface Inheritance system The Resource interface represents a Resource class, which is essentially an InputStream. It is used to read a configuration file and encapsulate it into a Resource. 1.2BeanDefinition interface BeanDefinition inheritance system According to the English meaning, bean def ...

Posted by ranjuvs on Sun, 12 Dec 2021 13:25:29 +0100

Generation and parsing of XML

1, What is XML XML is extensible markup language and HTML is hypertext markup language Markup language is a syntax format that organizes data through tags one by one Compared with HTMl hypertext language, XML, an extensible language, defines its own tags Self defined tags in XML represent: For example: < tag name attribute 1 = "attr ...

Posted by LordShryku on Thu, 09 Dec 2021 15:37:47 +0100

04 mybatis deferred loading and caching (based on XML configuration)

Mybatis user manual (4 of 5, continuously updated), collection + attention, don't get lost, hope to be helpful to my friends~ The source code link is at the end of the text ↓↓ 1. Mybatis deferred loading policy 1.1 introduction to delayed loading Mybatis deferred loading is to load data only when it is needed. When it is no ...

Posted by greenday on Thu, 09 Dec 2021 02:34:30 +0100

Namespace and custom attributes of XML in Android

The namespace stores a collection of specific attributes, android, tools, app (custom namespace) 1,android xmlns:android="http://schemas.android.com/apk/res/android"  xmlns: that is, xml namespace, which declares that we are going to start defining a namespace   android: called namespace prefix, it is the name of the namespace   ...

Posted by returnButton on Sat, 20 Nov 2021 03:13:30 +0100

XML Basics (although you can understand XML files)

Fundamentals of XML (I) 1. Overview 1.1 definition (what is xml?) XML (E ** X** t ensible M arkup L anguage) is commonly known as poor sister or e Ke dead sister. It is professionally called extensible markup language. (1) What is markup refers to a markup language, or tag language, that is, a series of tags are used to describe data. (2) Wh ...

Posted by devarmagan on Sat, 30 Oct 2021 08:09:55 +0200

egret three methods of using exml files

EXML usage method 1: ① Select src folder, right-click and select new EUI component   ② After selecting new EUI component, the following window will pop up In the red box, the class name is the name of the TS file taken randomly. The √ in the green box is selected by default. Generally, they do not need to be changed. The blue ...

Posted by phpdolan on Tue, 26 Oct 2021 12:25:43 +0200

jy-10-SPRINGMYBATIS01-Spring-Constant

Catalog: 1. day01 - Framework Files uploaded and shared 2. day02 - Design Mode Files uploaded and shared 3, day03 - Inject the value of the Bean property into Spring Files uploaded and shared 4. day04 - Annotation-based Spring MVC Files uploaded and shared 5. day05 - Case Target: Registration Files uploaded and shared 6. day0 ...

Posted by babybird11 on Sat, 09 Oct 2021 20:25:05 +0200

Analysis of innovative training projects

Analysis of innovative training projects (I) 2021SC@SDUSC This week, according to the previous json document format, referring to the code in the engine layer and combined with the XML document writing specification, the XML document of SDUDOC was completed, including the basic building elements and the element labels corresponding to each ob ...

Posted by billmasters on Thu, 07 Oct 2021 21:11:55 +0200

Hiberante reverse-generates database tables

1,hibernate.cfg.xml Comment out this section of configuration <!--Update database level automatically--> <!--<property name="hbm2ddl.auto">create</property>--> 2. New Generate Database Table Tool Class public class HibernateSchemaExport { static Session session; static Configuration ...

Posted by rashu.dr on Sat, 18 Jul 2020 17:47:25 +0200

Android login registration interface add video background method (simple version)

Describes how to add a video background to the interface found on the Internet, which mimics keep 1. First add the raw folder under the res folder and copy in the video you want to use 2. Add video_under the layout folderBackground.xmlLayout, add Videview control inside layout 3. Change AndroidManifest.xml Content removes Bar from the disp ...

Posted by mhsjrotc on Thu, 16 Jul 2020 17:00:41 +0200