Stephane Nicoll
6534d0035d
Add documentation for the keep-alive flag
...
This commit updates the documentation of the task:executor element to
reference the keep-alive flag.
Issue: SPR-12407
2014-11-03 14:50:16 +01:00
Brian Clozel
1fff631daa
Fix SubProtocolHandler duplicate registration
...
Prior to this change, duplicate SubProtocolHandlers could be registered
when configuring STOMP with several registrations:
public void registerStompEndpoints
(final StompEndpointRegistry registry) {
this.endpointRegistry.addEndpoint("/stompOverWebSocket");
this.endpointRegistry.addEndpoint("/stompOverSockJS").withSockJS();
}
This commit registers sub-protocols in a Set instead of a list (see
SubProtocolWebSocketHandler), thus fixing the issue.
Issue: SPR-12403
2014-11-03 14:25:27 +01:00
Stephane Nicoll
330897b411
Fix typo
2014-11-03 13:35:14 +01:00
Juergen Hoeller
14fef198f0
Explicitly clear manually registered singleton names after destroySingletons call
...
As indicated by our recent Spring Integration test failure, autowiring attempts after context closing did not fail before. After the introduction of the separately managed manualSingletonNames set, the algorithm could run into a situation where a singleton name is still in the manualSingletonNames set but not in the singletonObjects map anymore. As a remedy, destroySingletons needs to explicitly clear the manualSingletonNames set in order to remove references to non-disposable singleton beans as well (which are otherwise left in the set since individual destroySingleton calls only come in for disposable beans with destroy methods).
Issue: SPR-12404
2014-11-02 20:15:36 +01:00
Juergen Hoeller
285dca027b
Polishing
...
(cherry picked from commit acefd83 )
2014-11-02 11:48:09 +01:00
Juergen Hoeller
e989b2621f
Test for cyclic type declaration handling in TypeDescriptor
...
Issue: SPR-9735
(cherry picked from commit 7fa3e65 )
2014-11-02 11:40:58 +01:00
Juergen Hoeller
3c3e07e324
Defensive handling of manually registered singleton names (based on Spring Integration test failure)
...
Issue: SPR-12404
2014-11-01 23:03:02 +01:00
Juergen Hoeller
bba38b8862
MockHttpServletRequestBuilder allows for specifying content type as String value
...
Issue: SPR-12405
2014-11-01 23:01:26 +01:00
Sam Brannen
78459504e0
Clean up warnings in spring-jms
2014-11-01 16:18:32 +01:00
Sam Brannen
14f4d34fdb
Clean up warnings in spring-websocket
2014-11-01 16:11:57 +01:00
Juergen Hoeller
a9c47df0c1
Polishing
2014-11-01 14:05:32 +01:00
Juergen Hoeller
d1288fdb7c
Upgrade to Hibernate 4.3.7 (and Netty 4.0.24)
2014-11-01 14:05:22 +01:00
Juergen Hoeller
965bea7b3e
DefaultListableBeanFactory efficiently accesses current bean names and exposes them via getBeanNamesIterator()
...
Issue: SPR-12404
2014-11-01 10:11:20 +01:00
Juergen Hoeller
97ea43681b
Polishing
2014-11-01 09:13:34 +01:00
Juergen Hoeller
e2518e0b7c
Reduced DefaultJCacheOperationSource's dependency from ApplicationContext to BeanFactory
...
Issue: SPR-12336
2014-11-01 09:06:55 +01:00
Juergen Hoeller
0e36402bd2
Revised retrieval of cache strategy beans
...
Issue: SPR-12336
2014-11-01 08:26:48 +01:00
Sebastien Deleuze
cfa3d358d5
Add an alwaysInclude property to TilesViewResolver
...
Issue: SPR-12374
2014-10-31 19:39:29 +01:00
Juergen Hoeller
01382b8ff0
BeanDefinitionValueResolver preserves original String array if possible and resolves nested String arrays as well
...
Issue: SPR-12391
2014-10-31 17:57:06 +01:00
Juergen Hoeller
65d163e604
Revised scheduling lifecycle integration
...
ScheduledAnnotationBeanPostProcessor uses getBean(Class) for TaskScheduler/ScheduledExecutorService retrieval, allowing for a scheduler bean to be flagged as primary, and for a TaskScheduler bean to override a ScheduledExecutorService bean.
ContextLifecycleScheduledTaskRegistrar hooks into SmartInitializingSingleton's afterSingletonsInstantiated callback instead of ContextRefreshedEvent, as a natural consequence of SmartInitializingSingleton's introduction in Spring Framework 4.1 GA.
2014-10-31 17:26:23 +01:00
Juergen Hoeller
7d2231541b
Unit tests for java.util.Optional with autowired collections on @Autowired fields/methods and @Bean method parameters
...
Issue: SPR-9132
2014-10-31 15:28:49 +01:00
Juergen Hoeller
bf5739c56b
HibernateJpaSessionFactoryBean is compatible with Hibernate 4.3 as well now
...
Issue: SPR-12401
2014-10-31 15:07:21 +01:00
Stephane Nicoll
5aefcc802e
Prevent early bean initialization with @EnableCaching
...
Prior to this commmit, any configuration class holding a CacheManager
bean would be eagerly instantiated. This is because the
CacheConfiguration infrastructure requests all beans of type
CacheManager.
This commit defers the resolution of the CacheManager as late
as possible.
Issue: SPR-12336
2014-10-31 14:37:30 +01:00
Stephane Nicoll
8e5c77dc11
Explicit support of String[] value resolution
...
This commit adds an explicit support for String array for value
resolution. <util:properties> switches the 'locations' property to a
String array in 662d8aa and this broke expression evaluation.
Issue: SPR-12391
2014-10-31 07:55:27 +01:00
Sam Brannen
2f03945410
Delete unused imports in spring-test
2014-10-31 00:26:13 +01:00
Juergen Hoeller
7aff575485
Reintroduced original SpringSessionSynchronization constructor and made SpringSession/FlushSynchronization public (for GORM)
...
Issue: SPR-12400
2014-10-30 22:11:19 +01:00
Juergen Hoeller
5f160c17cd
MBeanExporter logs lazy bean retrieval exceptions on the server at warn level
...
Issue: SPR-12399
2014-10-30 21:57:19 +01:00
Juergen Hoeller
db2601d6e2
AbstractBeanFactory logs bean creation exception on FactoryBean type check at warn level
...
Issue: SPR-12397
2014-10-30 21:52:54 +01:00
Rossen Stoyanchev
d8941ca098
Normalize 2+ '/' in path in UriComponentsBuilder
...
Issue: SPR-12398
2014-10-30 14:51:04 -04:00
Juergen Hoeller
e9f53c6ddf
Polishing
...
Issue: SPR-12396
2014-10-30 15:17:51 +01:00
Juergen Hoeller
a181b40e39
PersistenceAnnotationBeanPostProcessor correctly detects JPA 2.1 synchronization attribute
...
Issue: SPR-12396
2014-10-30 15:15:34 +01:00
Sam Brannen
fc7e60678c
Fix Javadoc in MockHttpServletRequestBuilder
...
Class-level Javadoc for MockHttpServletRequestBuilder now correctly
refers to MockMvcRequestBuilders instead of MockMvcBuilders.
Issue: SPR-12393
2014-10-30 00:07:01 +01:00
Rossen Stoyanchev
62620de3f1
Update log settings for spring-websocket tests
2014-10-29 18:18:01 -04:00
Juergen Hoeller
1146d5ba1d
Polishing
2014-10-29 22:44:59 +01:00
Juergen Hoeller
4927c9054f
Revised SingleConnectionFactory for individual proxies with ExceptionListener and start/stop state
...
Issue: SPR-10397
2014-10-29 22:43:48 +01:00
Rossen Stoyanchev
38ef6dec50
Fix test issue with Set iteration order
2014-10-29 17:23:04 -04:00
Juergen Hoeller
c7a93a80d4
Configuration class parsing reuses metadata from AnnotatedBeanDefinition as far as possible
...
Issue: SPR-12394
2014-10-29 22:08:48 +01:00
Juergen Hoeller
725ad0df50
SimpleMetadataReaderFactory is capable of resolving inner class names with dot syntax now (analogous to ClassUtils.forName)
...
Issue: SPR-12390
2014-10-29 22:03:01 +01:00
Juergen Hoeller
807864fa9a
Latest dependency updates (Hibernate Validator 5.1.3, Undertow 1.0.17, SnakeYAML 1.14)
2014-10-29 11:59:04 +01:00
Juergen Hoeller
ffc4e03293
Removed outdated TimerTaskExecutor reference
...
Issue: SPR-12389
2014-10-29 11:21:23 +01:00
Rossen Stoyanchev
8f21c85511
Explicitly close Spring context in WS integration test
2014-10-28 22:10:49 -04:00
Rossen Stoyanchev
8c727be4e1
Close Spring context in SockJS integration test setup
2014-10-28 17:51:15 -04:00
Rossen Stoyanchev
70e6e3bb39
Fix condition check in SockJsClient lifecycle method
2014-10-28 17:51:15 -04:00
Juergen Hoeller
b70c5d1ff1
Normalized AnnotationAttributesReadingVisitor class layout and improved diagnostics through delegating to AnnotationUtils
...
Issue: SPR-12387
2014-10-28 19:08:45 +01:00
Juergen Hoeller
1e9ab53095
CharacterEditor uses Character.valueOf(char) and throws a more descriptive exception
...
Issue: SPR-12386
2014-10-28 18:28:15 +01:00
Juergen Hoeller
33d85d2a13
EclipseLinkJpaDialect preserves lazy retrieval of UnitOfWork as far as possible
...
Issue: SPR-12319
2014-10-28 16:39:19 +01:00
Juergen Hoeller
c0747a006a
JdbcUtils.getResultSetValue avoids re-retrieval from ResultSet for Blob/Clob content (for Derby compatibility)
...
Issue: SPR-8810
2014-10-28 16:19:16 +01:00
Juergen Hoeller
06632822e9
Log4jConfigurer initLogging(location) throws FileNotFoundException for file URL as well
...
Issue: SPR-9725
2014-10-28 16:18:55 +01:00
Sebastien Deleuze
17b9bde336
Set ResponseStatusExceptionResolver.messageSource in the MVC Java config
...
Issue: SPR-12380
2014-10-28 13:44:13 +01:00
Juergen Hoeller
ad2d5952c6
XmlOptionsFactoryBean initializes empty XmlOptions by default and uses efficient entrySet iteration
...
Issue: SPR-12383
2014-10-28 13:34:56 +01:00
Juergen Hoeller
cb095132b1
Defensive String equals comparison in ClassReader
...
Issue: SPR-12382
2014-10-28 13:23:55 +01:00