Costin Leau
c13905ad16
SPR-7470
...
+ add c: namespace
14 years ago
Chris Beams
f480333d31
Merge 3.1.0 development branch into trunk
...
Branch in question is 'env' branch from git://git.springsource.org/sandbox/cbeams.git; merged into
git-svn repository with:
git merge -s recursive -Xtheirs --no-commit env
No merge conflicts, but did need to
git rm spring-build
prior to committing.
With this change, Spring 3.1.0 development is now happening on SVN
trunk. Further commits to the 3.0.x line will happen in an as-yet
uncreated SVN branch. 3.1.0 snapshots will be available
per the usual nightly CI build from trunk.
14 years ago
Chris Beams
c7aaa85ef6
Add proper default values for 'merge' attributes in collection elements (SPR-7656)
14 years ago
Juergen Hoeller
1933b648c3
fixed @Value injection to correctly cache temporary null results for non-singleton beans (SPR-7614)
14 years ago
Juergen Hoeller
5cb06f5da2
consistent caching of @Autowired arguments in field and method case (SPR-7635)
14 years ago
Juergen Hoeller
0195b0da3c
BeanWrapper does not attempt to populate Map values on access (just auto-grows Map itself)
14 years ago
Juergen Hoeller
27a10c74d1
resolve dependency outside of synchronized block before subsequently preparing cached arguments (SPR-7635)
14 years ago
Juergen Hoeller
7893b3ebf6
applied synchronization in order to avoid race condition in skipping check (SPR-7635, SPR-7642)
14 years ago
Juergen Hoeller
ac5b1bcfab
fixed Autowired/CommonAnnotationBeanPostProcessor to prevent race condition in skipping check (SPR-7635, SPR-7642)
14 years ago
Juergen Hoeller
061063257a
optimized @Bean error messages (SPR-7628, SPR-7629)
14 years ago
Juergen Hoeller
cbab6fa59f
reduced BeanDefinition footprint by initializing Sets and Maps with 0
14 years ago
Juergen Hoeller
6d4faa6c52
ApplicationContext registers context-specific ClassArrayEditor for its bean ClassLoader (SPR-1461)
14 years ago
Chris Beams
05bcc4028d
Fix assumption about file-based Resources in PropertiesLoaderSupport (SPR-7547)
...
When using PropertiesLoaderSupport implementations (principally
PropertyPlaceholderConfigurer), an assumption was made that any
Resource representing a set of properties must be file-based. SPR-7547
exposed the fact that if a non-file-based Resource implementation such
as ByteArrayResource were passed in, an IllegalStateException would be thrown
from the AbstractResource base class' implementation of getFilename().
This is now patched, and PropertiesLoaderSupport implementations treat
Resource implementations equally, regardless of file-orientation.
See also SPR-7552.
14 years ago
Juergen Hoeller
134e79c0fd
clearly document behavior with respect to beans of same name at different factory levels (SPR-6117)
14 years ago
Juergen Hoeller
05a3f3ad8d
avoid failures in case of manually registered null instance (SPR-7523)
14 years ago
Juergen Hoeller
e56cfb8173
consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
14 years ago
Ben Hale
7730e76c06
Publishing license and notice files
14 years ago
Arjen Poutsma
dbfa049e1e
Prepping for 3.0.5
14 years ago
Juergen Hoeller
a9da123259
temporarily disabled constructor argument caching for converted values (SPR-7423)
14 years ago
Juergen Hoeller
9857ba077b
revised constructor argument caching for highly concurrent creation scenarios (follow-up to SPR-7423)
14 years ago
Chris Beams
9a088b8128
Document BeanFactoryPostProcessor implementation constraints (SPR-7466)
...
JavaDoc and reference docs now warn developers against interacting with
bean instances within BeanFactoryPostProcessor implementations in order
to avoid premature bean instantiation.
See SPR-7450 for an example of a third-party BFPP
(OAuthTokenLifecycleRegistryPostProcessor) prematurely instantiating
a FactoryBean instance, such that bean post-processing is bypassed
and autowired injection (via @Inject ) never occurs.
14 years ago
Juergen Hoeller
01b65cd201
polishing
14 years ago
Juergen Hoeller
8a23ce917a
Spring's constructor resolution consistently finds non-public multi-arg constructors (SPR-7453)
14 years ago
Juergen Hoeller
b054ca4a48
reintroduced createInstance() template method in deprecated form (SPR-7428)
14 years ago
Juergen Hoeller
9ef47b82a5
added missing setter method for the "valueSeparator" property (SPR-7429)
14 years ago
Juergen Hoeller
c3a639f07d
fixed concurrency issue in TypedStringValue, showing for nested typed Maps in prototype beans (SPR-7398); optimized building of keyed arg names in BeanDefinitionValueResolver
15 years ago
Juergen Hoeller
3c0ce48cbd
added further test case for property type detection with generic interface
15 years ago
Juergen Hoeller
f04febaf2d
fixed @PathVariable regression in combination with ConversionService usage on DataBinder
15 years ago
Juergen Hoeller
4d5a9c41e0
allow for converting a property value based on the corresponding property name (SPR-7386)
15 years ago
Juergen Hoeller
66abad2540
BeanWrapper preserves annotation information for individual array/list/map elements (SPR-7348)
15 years ago
Chris Beams
45ed0ba43c
licensing header
15 years ago
Chris Beams
cd271fca43
attempted to repro SPR-7318 to no avail
15 years ago
Juergen Hoeller
942c656970
removed eager skipping of empty collection conversion, for UtilNamespaceHandlerTests to pass again
15 years ago
Juergen Hoeller
0d7ce3eac5
refined ignoreUnresolvablePlaceholders javadoc
15 years ago
Juergen Hoeller
e6b708376d
skip collection conversion early if empty
15 years ago
Juergen Hoeller
7f91153bba
BeanWrapper/DataBinder's "autoGrowNestedPaths" works for Maps as well (SPR-7285)
15 years ago
Oliver Gierke
e11a40f809
SPR-7311 - Clarify usage of PropertyEditorRegistrars VS. plain configuration of customEditors property in CustomEditorConfigurer JavaDoc.
15 years ago
Arjen Poutsma
b31c34ed7d
Upgrading version to 3.0.4
15 years ago
Juergen Hoeller
11330baf77
DefaultListableBeanFactory checks for alias circle on registerAlias (avoiding endless loop; SPR-7274)
15 years ago
Juergen Hoeller
de866a0ff6
registerDependentBean resolves to the canonical bean name in order to handle alias references (SPR-7254)
15 years ago
Juergen Hoeller
cc238207f9
fixed registerResolvableDependency mechanism to correctly handle non-serializable factory objects (SPR-7264)
15 years ago
Juergen Hoeller
75c5405d6f
added test for getType against an abstract FactoryBean
15 years ago
Juergen Hoeller
3a5af35d37
CachedIntrospectionResults only caches GenericTypeAwarePropertyDescriptors if fully safe (SPR-7227)
15 years ago
Juergen Hoeller
f0777d130f
improved toString()
15 years ago
Juergen Hoeller
1532119787
ConversionService is able to apply Converters to interface-based array elements (SPR-7150); a context ConversionService is able to override an ApplicationContext's resource editors (SPR-7079)
15 years ago
Juergen Hoeller
2676771255
parse default elements if they live in the default namespace or if their parent is from another namespace (SPR-7218)
15 years ago
Juergen Hoeller
a6d9c90841
refined BeanDefinitionParserDelegate to only parse default elements if they actually live in the default namespace (SPR-7218)
15 years ago
Juergen Hoeller
2ad2022058
revised BeanWrapper's exception wrapping to consistently handle ConversionExceptions (SPR-7177)
15 years ago
Arjen Poutsma
0b8140b50d
Added DeprecatedBeanWarner
15 years ago
Juergen Hoeller
17a1362ed8
BeanDefinitionVisitor/PropertyPlaceholderConfigurer finds and resolves values in arrays as well (SPR-7136)
15 years ago