Juergen Hoeller
d72ee809b7
Polishing
...
(cherry picked from commit b559f15 )
12 years ago
Juergen Hoeller
31a251e44a
Polishing
12 years ago
Brian Clozel
ce6adfbe35
Remove Jackson dependency from TransportHandler hierarchy
...
Prior to this change, AbstractHttpReceivingTransportHandler had a direct
dependency on a Jacckson Exception (checking that exception in a catch
clause). This can cause issues for applications that don't have that
dependency.
This commit removes that direct dependency, still logging the
appropriate log messages using a parent exception (IOException) and
reflection.
Issue: SPR-11963
(cherry picked from commit e549103 )
12 years ago
Juergen Hoeller
60d3a7f300
RestTemplate accepts getMessageConverters() List on setMessageConverters again
...
Issue: SPR-11962
(cherry picked from commit 1222ca3 )
12 years ago
Juergen Hoeller
6dbb465585
TypedValue implements equals/hashCode based on value and TypeDescriptor
...
Issue: SPR-11960
(cherry picked from commit a8848cb )
12 years ago
Juergen Hoeller
47de943926
Upgraded to AspectJ 1.8.1 (also declared as recommended user version) and Tomcat 8.0.9 (first stable version)
...
Issue: SPR-11957
12 years ago
Juergen Hoeller
0164f8691a
CachedSessionInvocationHandler includes durable flag in ConsumerCacheKey
...
Issue: SPR-11956
(cherry picked from commit 6fd0fc7 )
12 years ago
Juergen Hoeller
077c624b73
ConstructorResolver's exception message on null factory-bean hints at potential BeanPostProcessor involvement
...
Issue: SPR-11951
(cherry picked from commit 6c41cc3 )
12 years ago
Juergen Hoeller
dae81fd5e6
CachedSessionInvocationHandler properly caches createSharedConsumer results
...
Issue: SPR-11956
(cherry picked from commit 7a7641b )
12 years ago
Juergen Hoeller
837f27851f
Jms2MessageProducerInvocationHandler specifically delegates all CompletionListener-based send methods
...
Issue: SPR-11950
(cherry picked from commit b6a7957 )
12 years ago
Juergen Hoeller
c3b992c5c4
Jms2MessageProducerInvocationHandler properly delegates to CachedMessageProducer.this
...
Issue: SPR-11949
(cherry picked from commit 134e5a2 )
12 years ago
Juergen Hoeller
f8ab4f6980
Reference documentation backports
...
Issue: SPR-11944
Issue: SPR-11945
12 years ago
Juergen Hoeller
77406eded8
Refined DefaultJpaDialect's InvalidIsolationLevelException message
...
Issue: SPR-8325
(cherry picked from commit af13310 )
12 years ago
Rossen Stoyanchev
977c5ca439
Synchronize request init in AbstractHttpSockJsSession
...
Although unlikely in practice (but not impossible), the SockJS
integration tests write a message while the request is initializing.
This change adds synchronization around request intiailization
for the SockJS HTTP sesion.
This is a backport of:
59e02e63c4
Issue: SPR-11916
12 years ago
Juergen Hoeller
ede2150544
Polishing
12 years ago
Juergen Hoeller
07edf11e21
Defensively check for pre-resolved FactoryBean.getObject() results in circular reference scenarios
...
Issue: SPR-11937
(cherry picked from commit d870b38 )
12 years ago
Juergen Hoeller
f27b9498be
CachedIntrospectionResults uses SoftReference instead of WeakReference for non-cache-safe entries
...
Issue: SPR-11867
12 years ago
Rossen Stoyanchev
e9ecaf6f4a
Fix issue with StompSubProtocolHandler initialization
...
This change ensures that StompSubProtocolHandler is injected with an
ApplicationEventPublisher for both the Java and XML config.
Backport for:
0dddb6f3e1
4372dac002
Issue: SPR-11825
12 years ago
Rossen Stoyanchev
5092414842
Improve SubscriptionRegistry subscription removal
...
This a backport of:
ce20abde51
083d415fc4
Issue: SPR-11931, SPR-11930
12 years ago
Rossen Stoyanchev
6438209557
Remove JDK 1.7 guards
12 years ago
Juergen Hoeller
7396210d40
Package javadoc cleanup for web.servlet.mvc, removing outdated references
...
Issue: SPR-11935
(cherry picked from commit ba522e5 )
12 years ago
Juergen Hoeller
b9935e9fe3
BeanFactoryAnnotationUtils consistently applies bean name fallback when no BeanDefinition present
...
Issue: SPR-11915
(cherry picked from commit f8b6114 )
12 years ago
Juergen Hoeller
86ea3059b6
Polishing
12 years ago
Juergen Hoeller
4384c1ae50
Upgrade to Reactor 1.1.3
12 years ago
Juergen Hoeller
347b7313b8
Dependency updates (as appropriate for the 4.0.x line)
12 years ago
Juergen Hoeller
3fb05017a1
Reference documentation overhaul (backported from master)
...
Issue: SPR-11853
Issue: SPR-11906
12 years ago
Juergen Hoeller
48f753f368
Polishing (backported from master)
12 years ago
Juergen Hoeller
c16032b98a
Consistent declaration of private static final logger variables
...
Issue: SPR-11905
(cherry picked from commit 18131bf )
12 years ago
Juergen Hoeller
c32d5592c7
AbstractAutowireCapableBeanFactory's createBean/autowireBean/configureBean use CacheUtils.isCacheSafe to re-enable PropertyDescriptor caching
...
Issue: SPR-11875
(cherry picked from commit 974bd43 )
12 years ago
Juergen Hoeller
5f695a47db
Cache Class.getDeclaredMethods() results and avoid pattern matching in isCglibRenamedMethod as far as possible
...
Issue: SPR-11882
Issue: SPR-11894
12 years ago
Juergen Hoeller
74c878ee0e
AnnotationUtils defensively catches and logs unexpected exceptions from retrieval attempts (proceeding like the annotation wasn't there)
...
Issue: SPR-11874
(cherry picked from commit 2c0c081 )
12 years ago
Juergen Hoeller
178d58cc75
ConfigurationClassParser falls back to ASM-based resolution of member classes in case of NoClassDefFoundError
...
Issue: SPR-11844
(cherry picked from commit 6aa9c40 )
12 years ago
Juergen Hoeller
7b38b41bf5
ConfigurationClassPostProcessor skips pre-processed bean definitions now (avoiding side effects in case of multiple CCPPs)
...
Issue: SPR-11858
(cherry picked from commit b625512 )
12 years ago
Juergen Hoeller
6403479902
TypeDescriptor's nested type traversal leniently returns null in case of unresolvable nested type
...
Issue: SPR-11898
(cherry picked from commit d663580 )
12 years ago
Juergen Hoeller
5af1a691bc
DefaultAdvisorChainFactory never passes null into ClassFilter, enabling async advisor to work without target class as well
...
Issue: SPR-11910
(cherry picked from commit a9b650f )
12 years ago
Juergen Hoeller
9f967b1d81
SharedEntityManagerCreator immediately throws TransactionRequiredException on persist, merge, remove etc (as required by JPA spec)
...
Issue: SPR-11923
(cherry picked from commit 045d735 )
12 years ago
Juergen Hoeller
e50507206f
DefaultSubscriptionRegistry's removeSubscriptionInternal defensively handles non-existing destinations
...
Issue: SPR-11832
(cherry picked from commit 5a8e470 )
12 years ago
Juergen Hoeller
c73ac075c4
UriComponentBuilder allows for multiple independent build() calls on same builder instance
...
Issue: SPR-11885
(cherry picked from commit d239016 )
12 years ago
Juergen Hoeller
0bf0901b8f
SelectTag consistently checks specified 'multiple' attribute now, never falling back to forceMultiple in case of user-provided value
...
Issue: SPR-11903
(cherry picked from commit 779ca99 )
12 years ago
Juergen Hoeller
7d94b5e853
FrameworkPortlet properly initializes StandardPortletEnvironment's property sources and exposes local PortletRequestAttributes in case of pre-bound ServletRequestAttributes as well
...
Issue: SPR-11816
Issue: SPR-11295
12 years ago
Juergen Hoeller
8ddbbc2e67
PathMatchingResourcePatternResolver's findPathMatchingResources needs to check for VFS before checking isJarResource
...
ResourceUtils isFileURL also detects "vfsfile" as a file system protocol (again).
Issue: SPR-11887
12 years ago
Juergen Hoeller
0a34f86333
MBeanExportConfiguration's SpecificPlatform properly calls afterPropertiesSet
...
Also makes the nested SpecificPlatform enum public for Spring Boot to reuse it.
Issue: SPR-11877
(cherry picked from commit 6f68b03 )
12 years ago
Juergen Hoeller
a0c86ae455
WebSphereUowTransactionManager exposes SmartTransactionObject
...
Issue: SPR-11876
(cherry picked from commit 03f3412 )
12 years ago
Juergen Hoeller
0761ee99ae
Workaround for WFLY-3474 NullPointerException
...
Prior to this commit, the ServletResponseHttpHeaders.get method
would throw an NPE when used under Wildfly 8.0.0.Final and 8.1.0.Final.
This can be traced to WFLY-3474, which throws an NPE when calling
HttpServletResponse.getHeaders("foo") and that header has not
been defined prior to that.
This would cause NPE being thrown by AbstractSockJsService when
checking for CORS HTTP headers in the server HTTP response.
This commit surrounds that method call in AbstractSockJsService and
guards against this issue.
Issue: SPR-11919
(cherry picked from commit 24cdefb )
12 years ago
Juergen Hoeller
9054f4fb58
HttpHeaders fails getAllow if set to EmptyCollection
...
Prior to this commit, calls to getAllow would fail is setAllow was set
to an EmptyCollection right before.
java.lang.IllegalArgumentException: No enum constant
org.springframework.http.HttpMethod
This commit fixes this by testing the header value for an empty value
before trying to use it to get a value from the Enum.
Issue: SPR-11917
(cherry picked from commit 9919a98 )
12 years ago
Rossen Stoyanchev
41e78d0f50
Fix failing test
12 years ago
Rossen Stoyanchev
526d5ba253
Fix warnings from sniff task on master
12 years ago
Rossen Stoyanchev
40c203ca71
Minor fix in STOMP broker relay
...
This is a backport for a change made as part of:
113fd1180a
Issue: SPR-11884
12 years ago
Rossen Stoyanchev
d18fc53148
Avoid multiple invocations of afterConnectionClosed
...
This change ensures the state of a SockJS session is set to CLOSED
immediately after close is invoked. This avoids duplicate invocations
of afterConnectionClosed in WebSocket transport.
This is a backport of:
3af488a701
Issue: SPR-11884
12 years ago
Rossen Stoyanchev
618771d59d
Add check for unused WebSocket sessions
...
Sessions connected to a STOMP endpoint are expected to receive some
client messages. Having received none after successfully connecting
could be an indication of proxy or network issue. This change adds
periodic checks to see if we have not received any messages on a
session which is an indication the session isn't going anywhere
most likely due to a proxy issue (or unreliable network) and close
those sessions.
This is a backport for commit:
a3fa9c9797
Issue: SPR-11884
12 years ago