Spring that you didn't notice / Java Tech Talk

Опубликовано: 18 Ноябрь 2019
на канале: MJC
2,909
103

Have you ever registered a BeanDefinition yourself?
Oh wait... What is a BeanDefinition?
Do you know why and how the @Enable* annotations work?
Well, BeanPostProcessor, then you definitely wrote and you know ...
If you answered "No" to at least one question, then this report is for you!

Timecodes:
00:00 - What is this report about?
00:28 - Performance
00:45 - Statement of the problem
02:25 - A short story about the Quartz Scheduler and a description of the standard configuration for it
05:49 - How to test Configuration for Spring applications
07:51 - Default configuration issue for Quartz Scheduler
08:55 - New configuration solution using BeanDefinitionRegistryPostProcessor [1]
11:31 - AnnotationConfigApplicationContext
12:33 - New configuration solution using BeanDefinitionRegistryPostProcessor [2]
13:34 - What is a BeanDefinition?
15:33 - What is a BeanDefinitionRegistryPostProcessor?
16:42 - What is a BeanDefinitionRegistry?
17:15 - *Aware interfaces
17:48 - What is Environment?
18:27 - What are ResourceLoader and ResourcePatternResolver?
19:27 - New configuration solution using BeanDefinitionRegistryPostProcessor [3]
22:28 - ClassMetadata, AnnotatedTypeMetadata, MethodMetadata, ...
23:49 - How to get *Metadata object - MetadataReader and MetadataReaderFactory
24:33 - New configuration solution using BeanDefinitionRegistryPostProcessor [4]
32:24 - What if @Component is not in our own annotation?
33:16 - New configuration solution via @Enable... [1]
34:42 - How do @Enable... annotations work in Spring?
35:33 - New configuration solution via @Enable... [2]
45:57 - How and why @Import works in Spring
53:42 - @DependsOn annotation in Spring and its limitations
55:23 - New solution to bypass @DependsOn restrictions [1]
59:15 - What is a BeanFactoryPostProcessor?
1:00:52 - Ordering in Spring
1:01:17 - What is a BeanFactory?
1:02:41 - New solution to bypass @DependsOn restrictions [2]
1:08:34 - How to replace beans in Spring? [one]
1:10:09 - What is a BeanPostProcessor?
1:11:09 - How to replace beans in Spring? [2]
1:12:38 - How does the ApplicationContext work in Spring? [one]
1:13:45 - What is an AnnotatedBeanDefinitionReader?
1:14:33 - How does the ApplicationContext work in Spring? [2]
1:15:11 - What is a ClassPathBeanDefinitionScanner?
1:15:41 - How does the ApplicationContext work in Spring? [3]
1:20:57 - Conclusion
1:22:46 - Questions answered

Video code - https://github.com/LutherWest/spring-...

Java Telegram Chat: https://t.me/joinchat/HizGt1KjnzfV7vO...
Instagram:   / mjc.talks  
Community page: https://community-z.com/communities/mjc


Смотрите видео Spring that you didn't notice / Java Tech Talk онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь MJC 18 Ноябрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,909 раз и оно понравилось 103 людям.