Juergen Hoeller
6418b54f81
DataBinder tries ConversionService if PropertyEditor could not produce required type
...
Issue: SPR-13042
11 years ago
Juergen Hoeller
e6f99ffe37
Explicit documentation on defaulting for 'autowire' and 'lazy-init'
...
Issue: SPR-13038
11 years ago
Stephane Nicoll
c0269770af
Use BeanUtils to instantiate target type
...
Use BeanUtils.instantiate(Class<?>) instead of a raw call to
type.newInstance() as the former has more checks.
Issue: SPR-12520
11 years ago
Juergen Hoeller
02da2e85ee
DataBinder allows for adding custom Formatters as alternative to PropertyEditors (including per-field formatters)
...
Includes a generic FormatterPropertyEditorAdapter plus Number conversion support in TypeConverterDelegate.
Issue: SPR-7773
Issue: SPR-6069
11 years ago
Juergen Hoeller
549e888cd7
CustomBooleanEditor avoids potential NPE in case of allowEmpty=false
...
Issue: SPR-13010
11 years ago
Juergen Hoeller
65ba72f1fc
FactoryBean type check logs currently-in-creation exception at debug level
...
Issue: SPR-12900
11 years ago
Sam Brannen
444aa4edcf
Polish Javadoc
11 years ago
Juergen Hoeller
595cdf05e9
Polishing
11 years ago
Juergen Hoeller
2c637dcb2e
ReaderEditor supports Reader injection analogous to InputStreamEditor (from Spring resource location)
...
Also, EncodedResource implements InputStreamSource now since it declares getInputStream() anyway.
Issue: SPR-12876
11 years ago
Juergen Hoeller
e377fc003d
BeanWrapperImpl.setPropertyValue throws InvalidPropertyException with correct property value for nested collection case
...
Issue: SPR-12866
11 years ago
Juergen Hoeller
e7dde740b9
Reduced DefaultListableBeanFactory's override logging to debug level for equivalent bean definition
...
Issue: SPR-7607
11 years ago
Juergen Hoeller
09027f7972
ResolvableType.forRawClass as a straight wrapper for Class.isAssignableFrom
...
Issue: SPR-12846
11 years ago
Juergen Hoeller
b2308926bc
Restored isTypeMatch null behavior and refined typeToMatch parameter name
...
Issue: SPR-12147
11 years ago
Juergen Hoeller
56273a8ff3
Polishing
11 years ago
Juergen Hoeller
8e4bfa9cc1
BeansDtdResolver resolves spring-beans.dtd declarations to spring-beans-2.0.dtd file
...
Issue: SPR-12836
11 years ago
Juergen Hoeller
192462902e
Consistent support for Java 8 default methods (in interfaces implemented by user classes)
...
Covers ReflectionUtils.doWithMethods as well as affected annotation post-processors.
Includes an extension of MethodMetadata for the detection of @Bean default methods.
Issue: SPR-12822
Issue: SPR-10919
11 years ago
Juergen Hoeller
778a01943b
ResolvableType-based type matching at the BeanFactory API level
...
Issue: SPR-12147
11 years ago
Juergen Hoeller
768f6e836a
Bean class name may contain SpEL expression for late resolution
...
Issue: SPR-12817
11 years ago
Juergen Hoeller
bc6a98c144
Polishing (in particular updating javadoc references to Apache Commons)
11 years ago
Juergen Hoeller
6fe85c2dd4
PropertyResourceConfigurerTests accepts "." in operating system name
...
Issue: SPR-12794
11 years ago
Sam Brannen
d90cee78ef
Remove trailing whitespace in source code
11 years ago
Brian Clozel
450072e38a
Add spring-mvc spring-beans XSD schemas for 4.2
11 years ago
Juergen Hoeller
9b25d6ad8b
getTypeForFactoryBean suppresses instantiation failures for non-singleton FactoryBeans
...
Issue: SPR-12786
11 years ago
Juergen Hoeller
b541fc9366
Polishing
11 years ago
Stephane Nicoll
babbf6e871
Harmonize resources location
...
Issue: SPR-12766
11 years ago
Juergen Hoeller
81102deedf
Avoid potential deadlocks between event multicaster and singleton registry through shared lock
...
Issue: SPR-12739
11 years ago
Sam Brannen
9a1b41ffb8
Polish Javadoc & imports for BeanDefinitionDocumentReaders
11 years ago
Stephane Nicoll
1aec6a6cc2
Detect Order on target class as well
...
Previously, the `@Order` annotation was managed in an inconsistent way
when placed at the implementation level. For simple beans, it was
discovered properly but wasn't for beans requiring a proxy.
OrderComparator.SourceProvider now explicitly allows to return several
order sources; the default implementation returns not only the factory
method (if any) but also the target class if it happens to be different
from the class of the bean.
Issue: SPR-12636
11 years ago
Stephane Nicoll
aa213396b4
BeanWrapper auto-grows arrays if necessary
...
Previously, only indexed access for collections were supported. When
attempting to access the element of an array that had not the requested
size, the call would fail with an IndexOutOfBoundException
This commit harmonize the binding support so that the array is updated
according to the requested index if necessary.
Issue: SPR-12706
11 years ago
Juergen Hoeller
918bc3b103
Avoid ConcurrentModificationException in getBeansWithAnnotation
...
Issue: SPR-12688
11 years ago
Stephane Nicoll
d8cec8534e
Allow subclasses to configure the Yaml instance
...
Provide an additional hook-point for YamlProcessor subclasses willing to
change how the Yaml instance is configured. Also expose the default
StrictMapAppenderConstructor so that they can compose a custom instance
with it.
Issue: SPR-12671
11 years ago
Juergen Hoeller
11bf3b3524
AbstractBeanDefinitionParser allows for skipping evaluation of XML "name" attribute
...
Issue: SPR-12643
11 years ago
Sam Brannen
60cee7f526
Polish ExtendedBeanInfoTests regarding JDK 8u40 compatibility
...
This commit simplifies the test for greater clarify and swaps the
'expected' and 'actual' arguments passed to assertEquals().
Issue: SPR-12582
11 years ago
Juergen Hoeller
7492129236
Revised ExtendedBeanInfo test for SPR-8937 (for JDK 8u40 compatibility)
...
Issue: SPR-12582
11 years ago
Juergen Hoeller
9ac02b319d
Remove pre-3.2 deprecated classes and methods
...
Issue: SPR-12578
11 years ago
Juergen Hoeller
bc075c713f
Polishing
11 years ago
Juergen Hoeller
d55af2b445
Consistent throwing of last UnsatisfiedDependencyException if available and no constructor resolved
...
Issue: SPR-12543
11 years ago
Juergen Hoeller
809ee0d350
Annotation post-processors clear old InjectionMetadata registrations on refresh
...
Issue: SPR-12526
11 years ago
Juergen Hoeller
dfdfc03ff3
Polishing
11 years ago
Juergen Hoeller
7317457bb1
Consistent bridge method handling in annotation post-processors
...
Issue: SPR-12495
11 years ago
Stephane Nicoll
6d6cd56d4a
Improve logging of registerScope
...
Issue: SPR-12519
11 years ago
Juergen Hoeller
bb1d1e916e
Polishing
11 years ago
Juergen Hoeller
03d4e1bc22
Consistent bridge method handling in annotation post-processors
...
Issue: SPR-12490
Issue: SPR-12495
11 years ago
Juergen Hoeller
15d3b88037
DefaultSingletonBeanRegistry's isDependent defensively checks for circular recursion
...
Issue: SPR-10787
11 years ago
Phillip Webb
87f1512e88
Add protected YamlProcessor.getFlattenedMap method
...
Add a protected getFlattenedMap method to the YamlProcessor that
subclasses can use to flatten a source Map so that it has the same
entries as the Properties, but retains order.
Issue: SPR-12499
11 years ago
Juergen Hoeller
82651a07ab
BeanFactory accepts getBean arguments for non-prototype beans as well
...
Issue: SPR-12488
11 years ago
Juergen Hoeller
fa0ef2d87e
BeanFactory accepts getBean arguments for non-prototype beans as well
...
Issue: SPR-12488
11 years ago
Juergen Hoeller
9a71a0c6c9
YamlProcessor defensively closes InputStream
...
Issue: SPR-12487
11 years ago
Juergen Hoeller
efb114d49a
Polishing
11 years ago
Juergen Hoeller
bfbd25a0e9
BeanWrapper auto-growing support for EnumSet / EnumMap
...
Issue: SPR-12483
11 years ago