-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed
Labels
theme: performanceIssues related to general performanceIssues related to general performancetype: enhancementA general enhancementA general enhancement
Milestone
Description
Almost all of our auto-configuration classes are currently annotated with @Configuration
. The means that the ConfigurationClassPostProcessor
will treat them as full configuration classes and create cglib proxies.
This is potentially quite an expensive operation and is unnecessary for most of them. As long as we use parameter injection (and don't call other methods directly) we can use the @Component
annotation instead to create ConfigurationClassUtils.CONFIGURATION_CLASS_LITE
configuration.
ExpandingShapes
Metadata
Metadata
Assignees
Labels
theme: performanceIssues related to general performanceIssues related to general performancetype: enhancementA general enhancementA general enhancement