Rossen Stoyanchev
2122cbcb1b
SPR-8484 Add path variables to the model via AbstractView.render(..) rather than HandlerMethodArgumentResolver
15 years ago
Rossen Stoyanchev
df5e4d6d56
SPR-7746 Add examples of using regex in URI template vars and working with 'Last-Modified' HTTP requests
15 years ago
Rossen Stoyanchev
efaa941672
SPR-8476 Translate JsonMappingExceptions to HttpMessageNotReadableException (and thus response status code 400) consistent with JsonParseExceptions
15 years ago
Rossen Stoyanchev
69bba30ed8
SPR-8429 Add test cases for missing header, cookie, and pathvar values
15 years ago
Rossen Stoyanchev
465712c845
Add boolean flag in RequestMappingHandlerMapping to indicate if type- or method-level @RequestMapping annotation is being introspected
15 years ago
Juergen Hoeller
1c1bc9b3df
DefaultListableBeanFactory etc
15 years ago
Juergen Hoeller
c0dfbdeebc
DefaultListableBeanFactory is only deserializable through a SerializedBeanFactoryReference
15 years ago
Juergen Hoeller
4664366aca
getBean(name, type) attempts type conversion if necessary (SPR-8480)
15 years ago
Juergen Hoeller
e0d558b084
getBean(name, type) attempts type conversion if necessary (SPR-8480)
15 years ago
Rossen Stoyanchev
2d29439130
SPR-7787 Allow qualifiers in regular expressions of URI template patterns.
15 years ago
Rossen Stoyanchev
54c82a53cd
SPR-8452 Provide getter for statusCodes property of SimpleMappingExceptionResolver
15 years ago
Rossen Stoyanchev
5797fe7f62
SPR-7210 Add setModelKey and setModelKeys to MappingJacksonJsonView for consistency with MarshallingView.
15 years ago
Sam Brannen
6fa451733e
[SPR-8386] polishing
15 years ago
Rossen Stoyanchev
564f0ec3c3
SPR-8444 Added MapAccessor and EnvironmentAccessor to EL context in the eval tag
15 years ago
Rossen Stoyanchev
5f76ad809f
SPR-8429 Return 400 instead of 500 for required header/cookie/pathvar. This is also more in line with jax-rs.
15 years ago
Chris Beams
41e5d55d52
Fix bridge method detection for class hierarchies
...
Prior to this change, @Autowired injection against an instance of a
subclass having different visibility than its superclass would fail
if the @Autowired method is declared only in the superclass. This is due
to an apparent change in the rules around bridge method generation
between Java 5 and Java 6, and possibly even varying across compiler
vendors.
Now, BridgeMethodResolver is used consistently when detecting
@Autowired , @Inject and @Resource metadata to bypass these bridge
methods if they exist.
Issue: SPR-7900
15 years ago
Rossen Stoyanchev
8292491a53
SPR-6164 Add option to disable '.*' pattern matching in RequestMappingHandlerMapping and PatternsRequestCondition
15 years ago
Sam Brannen
2b5d2e5a0a
[SPR-8386] ContextLoader resolution once again ignores the inheritLocations flag on @ContextConfiguration .
15 years ago
Rossen Stoyanchev
a7ff8a2efa
SPR-8464 Fix problem in test with date formatting
15 years ago
Sam Brannen
102674be20
[SPR-8386] Completed JavaDoc for ContextLoaderUtils regarding the SmartContextLoader SPI.
15 years ago
Rossen Stoyanchev
40fb1b21e1
SPR-8464 Fix bug with detecting annotations on handler method arguments and consolidate anotation detection tests.
15 years ago
Sam Brannen
82d09d432e
[SPR-8386] Completed JavaDoc for AnnotationConfigContextLoader regarding the SmartContextLoader SPI.
15 years ago
Sam Brannen
f7a849f9f4
[SPR-8386] AbstractContextLoader now adheres to the SmartContextLoader contract by verifying the existence of generated default resource locations.
15 years ago
Sam Brannen
b00a6ccea5
[SPR-8386] polishing JavaDoc.
15 years ago
Sam Brannen
4b026756ae
[SPR-7960] Documented inheritProfiles attribute of @ActiveProfiles .
15 years ago
Rossen Stoyanchev
c41caa3c2f
SPR-8462
15 years ago
Chris Beams
4fb811572e
Compensate for Windows paths in XmlBeanFactoryTests
...
Issue: SPR-8439
15 years ago
Chris Beams
2d9ced04b1
Clarify BeanPostProcessor ordering rules in ref doc
...
Issue: SPR-7550
15 years ago
Sam Brannen
95ae6344c5
[SPR-8386] refining JavaDoc for MergedContextConfiguration and related classes.
15 years ago
Rossen Stoyanchev
6007801537
SPR-7812 Add CustomRequestCondition, PatternsRequestCondition, and other condition related tests
15 years ago
Sam Brannen
4d27cde6b7
[SPR-8386] fleshing out JavaDoc for SmartContextLoader and related classes.
15 years ago
Sam Brannen
81d8ce5597
[SPR-8395] AnnotationConfigContextLoader now supports default configuration classes with arbitrary names
15 years ago
Sam Brannen
427f31cb9c
polishing
15 years ago
Sam Brannen
a77cf0f652
[SPR-8395][SPR-8386] AnnotationConfigContextLoader now generates a list of default configuration classes by finding all non-private, non-final, static, inner classes of the test class that are annotated with @Configuration ; updated JavaDoc in AbstractGenericContextLoader and AnnotationConfigContextLoader to reflect changes resulting from the SmartContextLoader integration.
15 years ago
Sam Brannen
c070a4b0a4
polishing Javadoc
15 years ago
Sam Brannen
568d451d60
ignoring patch files
15 years ago
Sam Brannen
d904bcbf03
[SPR-8386] AnnotationConfigContextLoader now only considers static inner classes annotated with @Configuration when generating default configuration classes.
15 years ago
Sam Brannen
46639c5a1d
[SPR-8386] Polishing SmartContextLoader SPI; AnnotationConfigContextLoader now only considers static inner classes annotated with @Configuration as configuration classes.
15 years ago
Rossen Stoyanchev
bede025eb9
SPR-7812 Remove remaining (empty) condition packages after moving classes
15 years ago
Rossen Stoyanchev
aacdd36e04
SPR-7812 Move condition package under mvc
15 years ago
Rossen Stoyanchev
4826cae064
SPR-7812 Add CustomRequestCondition
15 years ago
Sam Brannen
7dd6932910
polishing developer documentation
15 years ago
Sam Brannen
9a56deb283
[SPR-8386] SmartContextLoader enhancements:
...
- introduced processContextConfigurationAttributes() method in SmartContextLoader SPI
- refactored AnnotationConfigContextLoader, AbstractContextLoader, AbstractGenericContextLoader, ContextLoaderUtils, and TestContext implementations to take advantage of the SmartContextLoader SPI, MergedContextConfiguration, and ContextConfigurationAttributes
- deleted ResourceTypeAwareContextLoader
- deleted ContextLoaderUtils.LocationsResolver and implementations
- moved context key generation from TestContext to MergedContextConfiguration
15 years ago
David Syer
8e35734856
SPR-6268: check AnnotationUtils works with Groovy concrete classes (plus remove compiler warnings)
15 years ago
Rossen Stoyanchev
e5eceafa3f
SPR-7278 extension hook to extend the @ExceptionHandler methods for a controller
15 years ago
David Syer
64fd0b081d
SPR-6268: Add proxy-target-class to <lang:groovy/>
15 years ago
Chris Beams
5bfeb34b89
Fix non-compilable example in mvc ref doc
...
Issue: SPR-7750
15 years ago
Chris Beams
4fc386a4f5
Provide default ParameterNameDiscoverer for AACBF
...
Prior to this change, AbstractAutowireCapableBeanFactory did not support
a default ParameterNameDiscoverer. This meant that attempting to use
<constructor-arg name=".."> syntax would fail (with a fairly obscure
exception) as that feature depends on a ParameterNameDiscoverer to
introspect the constructor arguments.
This lack of a default was originally intended to avoid a dependency on
ASM, but now that (a) .asm is a built-in module and (b) .beans has a
non-optional compile-time dependency on .asm, there is no reason not to
provide this default.
The net effect is that in a number of locations throughout the
framework, namely in GenericApplicationContext and
AbstractRefreshableApplicationContext, it is no longer necessary to
explicitly call AACBF#setParameterNameDiscoverer. This also means that
using a naked BeanFactory (likely for testing scenarios) is that much
easier.
Issue: SPR-8184
15 years ago
Chris Beams
8cb5c36512
Consolidate tests related to @Config inheritance
...
Issue: SPR-8183
15 years ago
Rossen Stoyanchev
96b0752ddb
SPR-7812 RequestCondition refactoring with the possibility for custom request conditions in mind.
15 years ago