- 28 6月, 2013 5 次提交
-
-
由 Andy Wilkinson 提交于
Remove the extra 's' from the class name
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Phillip Webb 提交于
Minor polish to formatting and assertion messages.
-
由 Rossen Stoyanchev 提交于
-
- 27 6月, 2013 2 次提交
-
-
由 Phillip Webb 提交于
Issue: SPR-10587
-
由 Phillip Webb 提交于
Effectively rename HttpHeaders.getIfNotModifiedSince() to getIfModifiedSince() by adding a new method and deprecating the old one. Issue: SPR-10600
-
- 26 6月, 2013 5 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Phillip Webb 提交于
Refine the SQL statements contained in exceptions thrown from batch updates based on BatchUpdateException.getUpdateCounts(). Issue: SPR-10677
-
由 Phillip Webb 提交于
Update the reference guide jdbcTemplate update example to include the column name. Issue: SPR-10625
-
由 Phillip Webb 提交于
Ensure any exception from calls to batchUpdate, on databases that support batch operations, contains all the SQL statements. Prior to this commit only the last SQL statement would be returned with the exception. Issue: SPR-10677
-
由 Rossen Stoyanchev 提交于
A new type MessageHeaderAccesssor provides read/write access to MessageHeaders along with typed getter/setter methods along the lines of the existing MessageBuilder methods (internally MessageBuilder merely delegates to MessageHeaderAccessor). This class is extensible with sub-classes expected to provide typed getter/setter methods for specific categories of message headers. NativeMessageHeaderAccessor is one specific sub-class that further provides read/write access to headers from some external message source (e.g. STOMP headers). Native headers are stored in a separate MultiValueMap and kept under a specific key.
-
- 25 6月, 2013 4 次提交
-
-
由 Phillip Webb 提交于
# By Nick Williams * SPR-10644: Improving method validation support for BV 1.1
-
由 Nick Williams 提交于
Update MethodValidationPostProcessor.setValidator(...) to use LocalValidatorFactoryBean.getValidator() when possible. This is required because LocalValidatorFactoryBean does not directly implement the forExecutables() method introduced in bean validation v1.1. Issue: SPR-10644
-
由 Phillip Webb 提交于
Update the cached MethodExecutor in MethodReference to include the method argument types. Prevents the incorrect use of the cache when the SpEL expression refers to a class that has overloaded methods. Issue: SPR-10657
-
由 Phillip Webb 提交于
-
- 24 6月, 2013 6 次提交
-
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Phillip Webb 提交于
Ensure RmiInvocationWrapperRTD.xml is packaged inside spring-context.jar Issue: SPR-10649
-
由 Phillip Webb 提交于
Allow the @CachePut 'key' SpEL to refer to the result of the method call via a '#result' variable. This change is particularly useful when working with JPA entities that have generated @Id values since the ID will often not be available until the entity has been saved. Issue: SPR-10664
-
由 Phillip Webb 提交于
Polish cache abstraction code and refactor CacheAspectSupport.
-
- 23 6月, 2013 1 次提交
-
-
由 Sam Brannen 提交于
-
- 22 6月, 2013 1 次提交
-
-
由 Phillip Webb 提交于
Introduce new SimpleKeyGenerator class to supersede DefaultKeyGenerator. Unlike DefaultKeyGenerator, no collisions will occur with the keys generated by SimpleKeyGenerator as the full parameter values are considered within the SimpleKey.equals(...) method. The SimpleKeyGenerator is now the default class used when no explicit generator is configured. Issue: SPR-10237
-
- 21 6月, 2013 9 次提交
-
-
由 Phillip Webb 提交于
Update queryForObject calls in the JDBC reference documentation to use 'Integer.class' rather than the unsupported 'int.class'. Issue: SPR-10651
-
由 Phillip Webb 提交于
Update BeanFactory.getBeansWithAnnotation() to skip any abstract bean definitions. Issue: SPR-10663
-
由 Phillip Webb 提交于
Add EnhancedConfigurationBeanPostProcessor to inject the BeanFactory into EnhancedConfiguration classes before the AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues method is called. Prior to this commit it was possible for @Autowire in a @Configuration class to invoke an enhanced configuration class method before the BeanFactory was injected. This is due to the fact that the AutowiredAnnotationBeanPostProcessor was called before AbstractAutowireCapableBeanFactory.invokeAwareMethods(). Issue: SPR-10668
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10519
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10603
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10390
-
由 Rossen Stoyanchev 提交于
Issue: SPR-10041, SPR-10652
-
由 Phillip Webb 提交于
Add 'mvc:' namespace prefix to 'mapping' and 'exclude-mapping' elements in the reference documentation. Issue: SPR-10670
-
由 Rossen Stoyanchev 提交于
SPR-10402 in Spring Framework 3.2.3 treated empty request parameter values as missing values, if the empty value was turned into a null by a PropertyEditor or Converter. This caused the regression. Issue: SPR-10578, SPR-10402, SPR-10584
-
- 20 6月, 2013 3 次提交
-
-
由 Rossen Stoyanchev 提交于
Similar to @ExceptionHandler but for message processing. Such a method can send messages to both the message broker channel and the client channel provided the client is subscribed to the target destination.
-
由 Rossen Stoyanchev 提交于
The "system" STOMP session is established at startup and can be used to send messages without a client session, e.g. to support broadcasting from a REST/HTTP handler method.
-
由 Rossen Stoyanchev 提交于
MessageHolder holds the currently processed message in a ThreadLocal, which allows PubSubMessageBuilder to automatically add a session id to messages to be sent.
-
- 19 6月, 2013 4 次提交
-
-
由 Rossen Stoyanchev 提交于
Rename to PubSubHeaderAccessor and StompHeaderAccessor Move the renamed classes to support packages Remove fromPayloadAndHeaders from MessageBuilder, just use withPayload(..).copyHeaders(..) instead.
-
由 Rossen Stoyanchev 提交于
-
由 Rossen Stoyanchev 提交于
-
由 Andy Wilkinson 提交于
The use of an AtomicBoolean and no lock meant that it was possible for a message to be queued and then never be flushed and sent to the broker: 1. On t1, a message is received and isConnected is false. The message will be queued. 2. On t2, CONNECTED is received from the broker. isConnected is set to true, the queue is drained and the queued messages are forwarded 3. On t1, the message is added to the queue To fix this, checking that isConnected is false (step 1 above) and the queueing of a message (step 3 above) need to be performed as a unit so that the flushing of the queued messages can't be interleaved. This is achieved by synchronizing on a monitor and performing steps 1 and 3 and synchronizing on the same monitor while performing step 2. The monitor is held while the messages are actually being forwarded to the broker. An alternative would be to drain the queue into a local variable, release the monitor, and then forward the messages. The main advantage of this alternative is that the monitor is held for less time. It also reduces the theoretical risk of deadlock by not holding the monitor while making an alien call. The downside of the alternative is that it may lead to messages being forwarded out of order. For this reason the alternative approach was rejected.
-