1 background
The service timer application will often trigger the alarm email of fuse abnormality in the middle of the night
Find and summarize the following table according to the class prompted by the email
number
Error reporting method
Application to which the interface belongs
Scheduled task class
A
VipTradeReportFeignService#getShopTr ...
Posted by allex01 on Mon, 16 May 2022 01:32:34 +0300
@EnableDubbo
@SpringBootApplication
@MapperScan(basePackages = "com.xiaoze.consumer.dao")
public class DubboConsumerApplication {
public static void main(String[] args) {
SpringApplication.run(DubboConsumerApplication.class, args);
}
}
This is a very common way to scan the Dao layer path and register the interface class of ...
Posted by doberman on Sun, 15 May 2022 05:48:09 +0300
catalog:
🥪 1, Instantiated Bean
🍬 1.1 environmental preparation
🍬 1.2 instantiation of construction method (common)
🍕 Step 1: prepare the class to be created
🍕 Step 2: configure the class to the Spring container
🍕 Step 3: write the running program
🍕 Step 4: provide constructor test in class
🍕 Step 5: change the constructor to pr ...
Posted by timc37 on Sun, 15 May 2022 01:17:37 +0300
1,Spring
1.1 INTRODUCTION
The spring framework was created due to the complexity of software development. Spring uses basic JavaBean s to accomplish things that could only be done by EJB s before. However, the use of spring is not limited to server-side development. In terms of simplicity, testability and loose coupling, most Java applica ...
Posted by rdimaggio on Sun, 15 May 2022 01:12:28 +0300
catalogue
spring. Loading principle of factories
1. Construction method of springapplication
1.1 SpringApplication#getSpringFactoriesInstances
1.1.1SpringFactoriesLoader#loadFactoryNames-->loadSpringFactories
1.1.2 createSpringFactoriesInstances
Customize EnvironmentPostProcessor
Question: how to make the customized environment post ...
Posted by jaddy on Sat, 14 May 2022 23:07:49 +0300
AbstractApplicationContext. In the invokebeanfactorypostprocessors () code block, let the # PostProcessorRegistrationDelegate # class execute the logic that implements the # postProcessBeanFactory() method 👇
protected void invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory beanFactory) {
//The specific execu ...
Posted by gilgimech on Sat, 14 May 2022 15:26:36 +0300
Let’s first look at the three elements of file upload:
Form submission method: post (get method submission has size limit, post does not)Form's enctype attribute: must be set to multipart/form-dataThe form must have a file upload item: file
File upload introduction
To receive the files uploaded by the client page, the server usually ...
Posted by jdc44 on Sat, 14 May 2022 00:38:50 +0300
🚀 High quality resource sharing 🚀
Learning route guidance (click to unlock)Knowledge orientationCrowd positioning🧡 Python actual wechat ordering applet 🧡Progressive classThis course is the perfect combination of Python Flash + wechat applet. From project construction to Tencent cloud deployment and launch, it creates a full stack orderin ...
Posted by pspcrazy on Fri, 13 May 2022 23:05:36 +0300