- 02 8月, 2019 6 次提交
-
-
由 Sam Brannen 提交于
-
由 Juergen Hoeller 提交于
-
由 Rossen Stoyanchev 提交于
Closes gh-23359
-
由 Juergen Hoeller 提交于
See gh-23345
-
由 Sam Brannen 提交于
-
由 Mark Paluch 提交于
We now reuse interfaces for EntityManager and Query classes that are proxied through ExtendedEntityManagerCreator and SharedEntityManagerCreator. These caches prevent excessive object allocations through ClassUtils.getAllInterfacesForClass(…) and ClassUtils.getAllInterfacesForClassAsSet(…).
-
- 01 8月, 2019 22 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Closes gh-23349
-
由 Juergen Hoeller 提交于
Closes gh-23346
-
由 Juergen Hoeller 提交于
Closes gh-23352
-
由 Juergen Hoeller 提交于
See gh-23385
-
由 Juergen Hoeller 提交于
Includes consistent use of getContainingClass()
-
由 Arjen Poutsma 提交于
* 22391_conditional_view_caching: Polish contribution Add filter to AbstractCachingViewResolver
-
由 Arjen Poutsma 提交于
See gh-22606
-
由 Sergey Galkin 提交于
This commit introduces a filter that specifies whether a View should be cached by the AbstractCachingViewResolver or not. Closes gh-22391
-
由 Juergen Hoeller 提交于
-
由 Stephane Nicoll 提交于
* pr/23394: Polish getTypeForFactoryBean comment Closes gh-23394
-
由 liym@com 提交于
See gh-23394
-
由 Phillip Webb 提交于
-
由 Phillip Webb 提交于
Deprecate all mutation methods in `MethodParameter` in favor of factory methods that return a new instance. Existing code that previously relied on mutation has been updated to use the replacement methods. Closes gh-23385
-
由 Phillip Webb 提交于
Update `AbstractAutowireCapableBeanFactory.getTypeForFactoryBean` to use fallback to `determineTargetType` if the factory bean definition does not have a resolved class. This is required for the case where a `@Configuration` class is picked up via component scanning and has a bean type that has not yet been resolved. Closes gh-23338
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Sam Brannen 提交于
Prior to this commit, the new `TYPE_HIERARCHY_AND_ENCLOSING_CLASSES` annotation search strategy failed to find annotations on enclosing classes if the source class was a nested class that itself had no annotations present. This commit fixes this by adding special logic to AnnotationsScanner's isWithoutHierarchy() method to properly support nested classes. Closes gh-23378
-
由 Sam Brannen 提交于
-
- 31 7月, 2019 12 次提交
-
-
由 Phillip Webb 提交于
Add a `TYPE_HIERARCHY_AND_ENCLOSING_CLASSES` annotation search strategy that can be used to search the full type hierarchy as well as any enclosing classes. Closes gh-23378
-
由 Phillip Webb 提交于
Rename `SearchStrategy.EXHAUSTIVE` from `MergedAnnotations` to `SearchStrategy.TYPE_HIERARCHY` See gh-23378
-
由 Juergen Hoeller 提交于
-
由 Phillip Webb 提交于
Update code that's often called so that zero length array results use a single shared static constant, rather than a new instance for each call. Closes gh-23340
-
由 Phillip Webb 提交于
Update `getTypeForFactoryBean` detection so that a bean definition attribute can be used to supply the result. This commit allows projects such as Spring Data to provide the result that would be supplied by `getObjectType` early so that we don't need to initialize the `FactoryBean` unnecessarily. Closes gh-23338
-
由 Phillip Webb 提交于
Update the `FactoryBean` type prediction logic (primarily in the `DefaultListableBeanFactory`) so that generic type information is considered when calling `getBeanNamesForType` on a non-frozen configuration. Calling `getBeanNamesForType` with `allowEagerInit` disabled will now detect `FactoryBean` variants as long as generic type information is available in either the class or the factory method return type. Closes gh-23338
-
由 Phillip Webb 提交于
Add an additional cache to the `RootBeanDefinition` to save recalculating the result of `isFactoryBean`. Closes gh-23337
-
由 Phillip Webb 提交于
Update the logic in `AbstractBeanFactory` so that caches from merged bean definitions remain whenever possible. Prior to this commit, all merged bean definitions would be completely removed after bean post processing in case a processor changed the bean type. It's fairly unlikely these days that the bean type will actually change, so instead we now compare a subset of the old cached properties against the newly created definition. Only if key properties have changed do we now discard the older cached values. Closes gh-23336
-
由 Phillip Webb 提交于
Update `ListableBeanFactory` and `BeanFactoryUtils` to add the missing `getBeanNamesForType` methods that accept a `ResolvableType` rather than a `Class`. This completes the work started in 778a0194. Closes gh-23335
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-