Juergen Hoeller
79ed87e3d5
updated cache aspect after CacheAspectSupport base class changes
2011-07-22 10:12:07 +00:00
Juergen Hoeller
df3761e3f6
introduced AnnotationUtils.getAnnotation(AnnotatedElement, annotationType)
2011-07-22 09:34:42 +00:00
Juergen Hoeller
abdae3d26b
general revision of cache package; added ConcurrentMapCacheManager
2011-07-22 09:32:56 +00:00
Michael Isvy
02362f4347
SPR-7858
...
Updating references to @Resource usage
2011-07-22 01:18:29 +00:00
Chris Beams
f3d00da080
Use Geronimo j2ee-connector API in JMS pom
2011-07-21 23:26:25 +00:00
Rossen Stoyanchev
3363d05879
SPR-8483 Add integration test for accessing multipart request parts with @RequestPart
2011-07-21 16:24:33 +00:00
Juergen Hoeller
1b26b4744f
fixed ignored test
2011-07-21 10:34:32 +00:00
Juergen Hoeller
48de81deec
refined JBoss 6.0 note
2011-07-21 09:51:23 +00:00
Juergen Hoeller
7a6d8d94cd
multipart etc
2011-07-21 09:12:19 +00:00
Juergen Hoeller
7d8aa05c40
added "acceptProxyClasses" flag to RemoteInvocationSerializingExporter
2011-07-21 09:04:42 +00:00
Juergen Hoeller
2c199cf190
updated javadoc for server-specific LoadTimeWeavers
2011-07-21 08:36:40 +00:00
David Syer
f800a026cb
Fix typo in MVC docs
2011-07-21 08:25:27 +00:00
Juergen Hoeller
57cb1f2777
improved ExposeInvocationInterceptor error message with respect to advice ordering (SPR-8544)
2011-07-21 07:38:08 +00:00
Juergen Hoeller
8bf019b675
fixed @ExceptionHandler exception type matching (ExceptionDepthComparator; SPR-8231)
2011-07-21 07:15:26 +00:00
Sam Brannen
d0cd678089
[SPR-8387] Added TODO.
2011-07-20 22:22:03 +00:00
Sam Brannen
072271d9e9
[SPR-8549] Documented the equals() method implementation in MergedContextConfiguration.
2011-07-20 22:18:55 +00:00
Sam Brannen
461119973b
[SPR-8387] deleted resolved TODO.
2011-07-20 22:14:23 +00:00
Sam Brannen
8224af1938
[SPR-8549] ContextCache is now keyed by MergedContextConfiguration instead of String; MergedContextConfiguration now implements custom hashCode() and equals() methods and no longer generates a context cache key.
2011-07-20 22:06:05 +00:00
Juergen Hoeller
2d7af57149
fixed DispatcherServletTests breakage
2011-07-20 21:04:29 +00:00
Juergen Hoeller
571535352b
revised Servlet 3.0 based StandardServletMultipartResolver for correct param/file distinction; added multipart content type and headers access to MultipartRequest (dropping the previous header access solution on MultipartFile); MultipartFilter uses a Servlet 3.0 based StandardServletMultipartResolver by default
2011-07-20 20:46:53 +00:00
Sam Brannen
21f3f59cb7
[SPR-8387] Log messages now refer to default detection instead of default generation.
2011-07-20 20:38:02 +00:00
Juergen Hoeller
0df4631788
alignment with backported 3.0.6 code (SPR-8538)
2011-07-20 19:59:41 +00:00
Chris Beams
718f025d64
Force lazy-init to false when parsing scheduled:task
...
A <scheduled:task> element declared within a
<beans default-lazy-init="true"> element represents a contradiction in
terms: such a task will never be executed.
For this reason, we now override any inherited lazy-init settings
when parsing <scheduled:task> elements, forcing lazy-init to false
for the underlying ScheduledTaskRegistrar bean.
Thanks to Mike Youngstrom for contributing an initial patch.
Issue: SPR-8498
2011-07-19 23:00:12 +00:00
Juergen Hoeller
576b8fec31
ConvertiblePair implements equals and hashCode (SPR-8459)
2011-07-19 15:51:19 +00:00
Juergen Hoeller
69c9abf2b8
updated Quartz support package for full Quartz 2.0 support (SPR-8275)
2011-07-19 15:25:10 +00:00
Rossen Stoyanchev
cc7c64a371
Remove unnecessary javax.servlet dependency
2011-07-19 14:04:15 +00:00
Rossen Stoyanchev
e787887f46
SPR-8532 Exclude Tiles transitive deps on 'com.springsource.javax.servlet' from 'com.springsource.org.apache.tiles.jsp' and 'com.springsource.org.apache.tiles.servlet' only.
2011-07-19 11:04:27 +00:00
Costin Leau
1d690ab99f
SPR-8533
...
+ add LTW support for JBoss 7
(renamed existing classes to MC (JBoss 5&6) and introduced Modules (JBoss 7))
2011-07-19 07:24:47 +00:00
Juergen Hoeller
d97a5bf889
minor javadoc revision
2011-07-18 21:50:15 +00:00
Juergen Hoeller
7e4982d6ae
updated dependencies
2011-07-18 21:41:21 +00:00
Juergen Hoeller
94ac883eb1
polishing
2011-07-18 21:37:24 +00:00
Chris Beams
236b0305e8
Refactor execution of config class enhancement
...
This change returns the invocation order of
ConfigurationClassPostProcessor#enhanceConfigurationClasses to its
pre-3.1 M2 state. An earlier (and now unnecessary) refactoring in
service of @Feature method processing caused the change that this now
reverts.
2011-07-18 21:23:55 +00:00
Chris Beams
4f89459c3d
Polish whitespace on JpaTransactionManager
2011-07-18 21:23:43 +00:00
Juergen Hoeller
65ad44dadc
polishing
2011-07-18 20:50:35 +00:00
Rossen Stoyanchev
2568a3c2c6
SPR-8001 Recognize case when MultipartRequest is null and argument is of type MultipartFile and raise helpful exception.
2011-07-18 13:49:47 +00:00
Rossen Stoyanchev
b8c723d080
SPR-8532 Upgrade org.springframework.web.servlet to Servlet 3.0 (as provided dependency) and add support for javax.servlet.Part parameter
2011-07-18 12:06:11 +00:00
Sam Brannen
f874ed9790
[SPR-8387] Fleshed out the implementation of DelegatingSmartContextLoader and corresponding tests.
2011-07-17 17:16:12 +00:00
Sam Brannen
9d7bc31f0d
polishing
2011-07-17 16:35:22 +00:00
Sam Brannen
e7298a88d6
[SPR-8387] Fixed logic errors in DelegatingSmartContextLoader.processContextConfiguration() and ContextConfigurationAttributes.hasResources().
2011-07-15 20:01:18 +00:00
Sam Brannen
e34fa6abb1
[SPR-8387] Fixed logic error in DelegatingSmartContextLoader.processContextConfiguration().
2011-07-15 19:19:29 +00:00
Sam Brannen
b8624b470c
[SPR-8387] Introduced hasResources() in ContextConfigurationAttributes; plus minor polishing.
2011-07-15 19:03:16 +00:00
Sam Brannen
d2e6f82aa3
[SPR-8387] Fleshing out the implementation of processContextConfiguration() in DelegatingSmartContextLoader.
2011-07-15 17:15:45 +00:00
Sam Brannen
12eb9d7ed6
[SPR-8387] Fleshing out unit tests for DelegatingSmartContextLoader.
2011-07-15 16:12:34 +00:00
Juergen Hoeller
cc725d7e5c
extended Servlet API mocks for Servlet 3.0 forward compatibility as far as possible; made MockHttpServletResponse compatible with Servlet 3.0 getHeader(s) method returning Strings (SPR-8529); added getHeaderValue(s) method to MockHttpServletResponse for raw value access
2011-07-15 14:51:01 +00:00
Juergen Hoeller
c0e429a9a5
polishing
2011-07-15 14:48:51 +00:00
Juergen Hoeller
5937779bb1
call setEnvironment before other awareness methods rather than after; fixed AccessControlContext applicability check
2011-07-15 14:40:38 +00:00
Juergen Hoeller
18ab057e90
extended Servlet API mocks for Servlet 3.0 forward compatibility as far as possible; made MockHttpServletResponse compatible with Servlet 3.0 getHeader(s) method returning Strings (SPR-8529); added getHeaderValue(s) method to MockHttpServletResponse for raw value access
2011-07-15 14:16:31 +00:00
Costin Leau
4e1cb2b823
move default value wrapper into support package (rather then interceptor)
2011-07-15 14:13:22 +00:00
Chris Beams
fd42a65c6c
Allow ConfigurationCPP to process multiple registries
...
Prior to this change, an instance of ConfigurationClassPostProcessor
would throw IllegalStateException if its
postProcessBeanDefinitionRegistry method were called more than once.
This check is important to ensure that @Configuration classes are
not proxied by CGLIB multiple times, and works for most normal use
cases.
However, if the same CCPP instance is used to process multiple
registries/factories/contexts, this check creates a false negative
because it does not distinguish between invocations of
postProcessBeanDefinitionRegistry across different registries.
A use case for this, though admittedly uncommon, would be creating
a CCPP instance and registering it via
ConfigurableApplicationContext#addBeanDefinitionPostProcessor against
several ApplicationContexts. In such a case, the same CCPP instance
will post-process multiple different registry instances, and throw the
above mentioned exception.
With this change, CCPP now performs lightweight tracking of the
registries/beanFactories that it has already processed by recording
the identity hashcodes of these objects. This is only slightly more
complex than the previous boolean-based 'already processed' flags, and
prevents this issue (however rare it may be) from occurring.
Issue: SPR-8527
2011-07-13 23:30:57 +00:00
Chris Beams
c5463a2e52
Move ImportSelector.Context to a top-level class
...
Issue: SPR-8411, SPR-8494
2011-07-13 23:28:53 +00:00