1. 04 12月, 2013 5 次提交
  2. 03 12月, 2013 22 次提交
  3. 02 12月, 2013 8 次提交
  4. 27 11月, 2013 5 次提交
    • P
      Detect cache hit with multiple @Cachables · b0b40dad
      Phillip Webb 提交于
      Fix CacheAspectSupport to consider a cache hit from any of the multiple
      @Cachables that may have been specified using the @Caching annotation.
      
      Prior to this commit the following scenario would never produce a hit:
      
      	@Caching(cacheable = {
      		@Cacheable(value = "c1", unless = "#result.size() < 4"),
      		@Cacheable(value = "c2", unless = "#result.size() > 3")
      	})
      
      Issue: SPR-11124
      b0b40dad
    • P
      Consistent whitespace after imports · 043a41e3
      Phillip Webb 提交于
      Update code to have a consistent number of new-line characters after
      import statements.
      043a41e3
    • P
      General polish of new 4.0 classes · 15698860
      Phillip Webb 提交于
      Apply consistent styling to new classes introduced in Spring 4.0.
      
      - Javadoc line wrapping, whitespace and formatting
      - General code whitespace
      - Consistent Assert.notNull messages
      15698860
    • R
      Add ability to customize message channels · 690051f4
      Rossen Stoyanchev 提交于
      @EnableWebSocketMessageBroker message channel configuration can now be
      customized via WebSocketMessageBrokerConfigurer. It is necessary to
      make this easy and even required as part of the basic configuration
      since by default the message channels are backed by a thread pool of
      size 1, not suitable for production use.
      
      Issue: SPR-11023
      690051f4
    • R
      Fix synchronization issue in StompSubProtocolHandler · e764c8d8
      Rossen Stoyanchev 提交于
      Two concurrent threads should not send a message on a single WebSocket
      session at the same time, for example see:
      http://docs.oracle.com/javaee/7/api/javax/websocket/RemoteEndpoint.Basic.html
      
      In StompSubProtocolHandler it is quite possible that multiple messages
      may be broadcast to a single WebSocket client concurrently.
      
      This change adds synchronization around the sending of a message to a
      specific cilent session.
      
      Issue: SPR-11023
      e764c8d8