- 23 2月, 2014 7 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, the findAnnotationDescriptor() and findAnnotationDescriptorForTypes() methods in MetaAnnotationUtils only supported a single level of meta-annotations. In particular, this kept the following annotations from being used as meta-annotations on meta-annotations: - @ContextConfiguration - @ContextHierarchy - @ActiveProfiles - @TestExecutionListeners This commit alters the search algorithms used in MetaAnnotationUtils so that arbitrary levels of meta-annotations are now supported for the aforementioned test-related annotations. Issue: SPR-11470
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
Prior to this commit, if @ActiveProfiles were used as a meta-annotation on a composed annotation, then the composed annotation's class would be passed to the ActiveProfilesResolver.resolve() method instead of the test class, which breaks the contract for ActiveProfilesResolver. This commit addresses this issue by ensuring that the actual test class is always passed to ActiveProfilesResolver.resolve(). Issue: SPR-11467
-
- 22 2月, 2014 2 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
-
- 20 2月, 2014 1 次提交
-
-
由 Sam Brannen 提交于
Prior to this commit, AnnotationUtils.findAnnotation(Class, Class) claimed to recursively search through annotations; however, only one level of annotations was supported by the algorithm. This commit alters the search algorithm so that nested meta-annotations (i.e., meta-annotations on meta-annotations) are also supported. Issue: SPR-11448
-
- 19 2月, 2014 8 次提交
-
-
由 Sam Brannen 提交于
TransactionalAndOrderedClass now extends TransactionalClass. The tests passed anyway, but they did not actually verify what was meant to be verified.
-
由 Phillip Webb 提交于
-
由 Spring Buildmaster 提交于
-
由 Rossen Stoyanchev 提交于
Update OXM AbstractMarshaller to support processing of external XML entities. By default external entities will not be processed. Issue: SPR-11376
-
由 Phillip Webb 提交于
Add additional caching to ResolvableTypes and SerializableTypeWrapper in order to improve SpEL performance. Issue: SPR-11388
-
由 Phillip Webb 提交于
Update ResolvableType to call `purgeUnreferencedEntries` on the cache on each get. Issue: SPR-11394
-
由 Phillip Webb 提交于
Update ConcurrentReferenceHashMap to protect against references that have been garbage collected but for some reason do not appear as a `pollForPurge` result. Also added purgeUnreferencedEntries() method to allow for programmatic cleanup. Issue: SPR-11440
-
由 Sam Brannen 提交于
-
- 18 2月, 2014 1 次提交
-
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11431
-
- 17 2月, 2014 1 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit, one couldn't set the virtualHost property on StompBrokerRelayMessageHandler via JavaConfig, since StompBrokerRelayRegistration's API didn't offer that possibility. This commit adds a new method in StompBrokerRelayRegistration's fluent API to set the virtualHost used by StompBrokerRelayMessageHandler. Note: this property is already configurable via xml config. Issue: SPR-11433
-
- 15 2月, 2014 7 次提交
-
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
EhCache/JCacheCacheManager needs to re-obtain runtime-added Cache reference for potential decoration Issue: SPR-11407
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
Issue. SPR-11428
-
由 Juergen Hoeller 提交于
Issue. SPR-11428
-
由 Juergen Hoeller 提交于
Issue. SPR-11428
-
- 14 2月, 2014 7 次提交
-
-
由 Brian Clozel 提交于
Prior to this commit, all 2xx HTTP responses were eligible for ETag generation in ShallowEtagHeaderFilter. In some cases, this would use CPU resources for no reason since HTTP clients would not use ETags. This commit is an optimization and restricts ETags generation in cases where (all conditions must be met): - response has a 2xx status - request is a GET - response does not contain "no-store" in its "Cache-Control" header Issue: SPR-11110
-
由 Juergen Hoeller 提交于
Clarified CompositeCacheManager's applicability, added convenience constructor with given delegates, and fixed getCacheNames implementation to never return duplicates Issue: SPR-11427
-
由 Juergen Hoeller 提交于
Restored original detectHandlerMethods call chain for backwards compatibility with custom subclasses (such as in Spring Integration)
-
由 Rossen Stoyanchev 提交于
Before this change, when a client subscribed to a "user" destination (e.g. /user/foo), actual messages received in response to that subscription contained the server-translated, unique user destination (e.g. /foo-user123). This is not an issue for clients such as stomp.js since the subscription is unique and sufficient to match subscription responses. However, other STOMP clients do additional checks on the destination of the subscription and the response. This change ensures that messages sent to clients on user destionations always contain a destination that matches the one on the original subscription. Issue: SPR-11423
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11426
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11425
-
由 Rossen Stoyanchev 提交于
Issue: SPR-11424
-
- 13 2月, 2014 6 次提交
-
-
由 Sam Brannen 提交于
-
由 Sam Brannen 提交于
* SPR-10785: Fix CGLIB memory leak for method injection
-
由 Sam Brannen 提交于
This commit continues the work for fixing memory leaks resulting from CGLIB subclass generation for beans relying on method injection. - Set proxy callbacks on the CGLIB Factory (i.e., the instance) instead of in the generated subclass (i.e., via the Enhancer). - Convert private inner classes in CglibSubclassingInstantiationStrategy to private static classes in order to avoid unnecessary coupling to classes generated using CGLIB. - Tidy up XmlBeanFactoryTests. - Update logic in serializableMethodReplacerAndSuperclass() so that it finally aligns with the decision made for SPR-356. Issue: SPR-10785, SPR-356
-
由 Juergen Hoeller 提交于
-
由 Juergen Hoeller 提交于
-
由 Sam Brannen 提交于
This commit introduces a test in XmlBeanFactoryTests that verifies that CGLIB generated subclasses for method injected beans are reused across bean factories for identical bean definitions. In other words, by verifying that the same CGLIB generated class is reused for identical bean definitions, we can be certain that Spring is no longer generating identical, duplicate classes that consume memory in the VM. Issue: SPR-10785, SPR-11420
-