Juergen Hoeller
2c2cf32b8a
polishing
2010-03-24 10:35:50 +00:00
Juergen Hoeller
89755542da
BeanPostProcessors are allowed to return a null bean value in the middle of the chain (SPR-6926)
2010-03-24 10:34:21 +00:00
Chris Beams
c13e5f9f5b
SPR-7009, SPR-6972: backed out unintentionally committed tests
2010-03-23 15:29:35 +00:00
Chris Beams
c38c09bc35
SPR-6972: removed import
2010-03-23 12:06:24 +00:00
Chris Beams
77bb68b967
SPR-6972: failed attempt to reproduce issue
2010-03-23 12:06:16 +00:00
Juergen Hoeller
b8c0e153e3
do not insist on BeanDefinition presence for @Value resolution (for use in unit tests; SPR-6918)
2010-03-16 23:47:40 +00:00
Juergen Hoeller
f30b0a86f7
autowire="byType" ignores parameter name when choosing a primary bean, as defined (SPR-6917)
2010-03-10 13:46:31 +00:00
Juergen Hoeller
95ad7168bf
changed doGetBean signature back to protected (SPR-6957)
2010-03-10 13:38:46 +00:00
Juergen Hoeller
54d0346084
do not call isCurrentlyInCreation with null argument (in order to meet newly enforced assertions within the BeanFactory)
2010-03-05 10:49:24 +00:00
Juergen Hoeller
4f926c82bf
added bean name assertions
2010-03-04 22:36:35 +00:00
Juergen Hoeller
77f8b070cd
polishing
2010-03-04 13:58:02 +00:00
Juergen Hoeller
12b30843c5
widened AbstractFactoryBean's "getObjectType" signature to return any Class as well (SPR-6872)
2010-02-23 13:00:12 +00:00
David Syer
1a351db6e0
Update Central POMs to 3.0.2
2010-02-21 15:32:18 +00:00
Costin Leau
8d0bb00188
+ make use or property placeholders inside template.mf
2010-02-19 09:43:22 +00:00
Juergen Hoeller
572abbcff9
do not ever consider Object as a candidate type for autowiring by type (SPR-6600)
2010-02-18 00:04:08 +00:00
Juergen Hoeller
60ac239091
BeanDefinitionReader and ClassPath/FileSystemXmlApplicationContext use varargs where possible (SPR-6849)
2010-02-16 11:59:29 +00:00
Juergen Hoeller
18bd4a8337
improved "no matching factory method found" exception message (SPR-6837)
2010-02-15 13:01:46 +00:00
Juergen Hoeller
5f781e6266
generified PagedListHolded (SPR-6825)
2010-02-11 23:24:45 +00:00
Costin Leau
a9386f5c79
SPR-5246
...
+ clarify order of annotation and XML injection
2010-02-09 11:17:07 +00:00
Juergen Hoeller
6c0d934b92
do not try to convert read-only Collections/Maps (SPR-6808)
2010-02-08 12:29:21 +00:00
Sam Brannen
81649d5c3b
Removed unused import.
2010-02-07 15:57:57 +00:00
Costin Leau
0fd4a45070
+ upgrade to AspectJ 1.6.8
...
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml
2010-02-04 11:46:21 +00:00
Juergen Hoeller
e3cdabfaac
fixed MBeanExporter regression: do not try to expose abstract beans (SPR-6784)
2010-02-01 17:56:03 +00:00
Juergen Hoeller
1dbb64580c
throw NotSerializableException if no serialization id is available
2010-02-01 14:52:43 +00:00
Juergen Hoeller
5f5e7c3262
polishing
2010-02-01 14:51:54 +00:00
Juergen Hoeller
b53ccb3807
widened FactoryBean's "getObjectType" signature to return any Class<?> (SPR-6692)
2010-01-31 16:01:14 +00:00
Juergen Hoeller
8ab9da4461
introduced BeanDefinitionRegistryPostProcessor extension to BeanFactoryPostProcessor; @Configuration classes support definition of BeanFactoryPostProcessor beans as well (SPR-6455, SPR-6611)
2010-01-31 15:58:27 +00:00
Costin Leau
1bbe93e535
SPR-3709
...
+ improved example to work with multi-nested declarations
+ used JDK 5 syntax
+ added documentation code into trunk (including unit test) for easier future reference
2010-01-27 12:25:04 +00:00
Juergen Hoeller
0f75210408
changed exception wording from "recursive" to "cyclic" (SPR-6755)
2010-01-22 19:10:19 +00:00
Juergen Hoeller
081d81e5b0
fixed getPropertyTypeDescriptor to work for nested indexed property as well as for array property (SPR-6710)
2010-01-20 15:31:20 +00:00
Juergen Hoeller
5abd3b99b9
fixed getPropertyTypeDescriptor to work for nested indexed property as well (SPR-6710)
2010-01-20 15:10:22 +00:00
Juergen Hoeller
8bf2e2459e
added default PropertyEditor for java.util.UUID (SPR-6696)
2010-01-20 09:32:03 +00:00
Juergen Hoeller
45448463b8
collect exceptions across all constructors that have been tried (SPR-6720)
2010-01-20 09:29:50 +00:00
Juergen Hoeller
95c695eb2f
fixed BeanPostProcessor invocation for null bean (SPR-6700)
2010-01-18 18:51:28 +00:00
David Syer
b077d5ba97
SPR-6678: fix poms for 3.0.1
2010-01-13 11:07:08 +00:00
Juergen Hoeller
bddb38d787
fixed getBeansWithAnnotation to ignore beans with non-determinable type (SPR-6579)
2009-12-23 19:11:19 +00:00
Juergen Hoeller
dc99df2972
use TypeDescriptor.forObject instead of constructor; enforce use of TypeDescriptor.valueOf through making the constructor private
2009-12-15 20:18:31 +00:00
Juergen Hoeller
1c33206042
catch ConversionException and ConvertedNotFoundException in BeanWrapper's convertIfNecessary as well, in order to support constructor resolution (SPR-6563)
2009-12-15 12:53:36 +00:00
Juergen Hoeller
2153b2fbd5
introspect element type in case of incoming Collection/Map in order to not accidentally say canConvert=true (SPR-6564)
2009-12-15 12:36:22 +00:00
Juergen Hoeller
d7a1630381
removed getBeansWithAnnotation(Class,boolean,boolean) method from ListableBeanFactory; reimplemented getBeansWithAnnotation(Class) to avoid use of getBeanNamesForType(Object.class)
2009-12-13 23:23:34 +00:00
Juergen Hoeller
929665d284
fixed accidental breakage in bean class resolution with tempClassLoader
2009-12-13 16:07:03 +00:00
Juergen Hoeller
35354ad520
polishing
2009-12-13 15:30:52 +00:00
Juergen Hoeller
5f9b444319
bean properties of type enum array/collection can be populated with comma-separated String (SPR-6547)
2009-12-13 13:21:30 +00:00
Juergen Hoeller
ad29a2376d
PropertyPlaceholderConfigurer is compatible with Spring 2.5 extensions such as GigaSpaces again (SPR-6514)
2009-12-09 16:09:12 +00:00
Juergen Hoeller
61f23710eb
relaxed warning about ambiguous setters to only be logged in case of actual write access (SPR-6399)
2009-12-07 18:57:32 +00:00
Juergen Hoeller
09a55c8ede
import works with relative resources in other classpath roots again (SPR-6493)
2009-12-07 15:16:36 +00:00
Juergen Hoeller
abf6a7ee18
made parse and decorate non-final (SPR-6526)
2009-12-07 09:16:00 +00:00
David Syer
1202f67cc8
SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
2009-12-04 18:25:31 +00:00
Juergen Hoeller
e161c93f8d
full support for formatters on array/collection elements (SPR-6504)
2009-12-04 00:34:40 +00:00
Juergen Hoeller
388edd7aaa
lenient property name casing, beyond standard JavaBeans conventions (SPR-6491)
2009-12-03 23:34:37 +00:00
Juergen Hoeller
666700f7f3
constructor arguments can be overridden by name in child bean definitions (SPR-6463)
2009-11-30 12:17:28 +00:00
Juergen Hoeller
d54cf0ca37
polishing
2009-11-27 01:43:34 +00:00
Juergen Hoeller
ac490114ae
propagate full TypeDescriptor for field-level conversion as well
2009-11-27 01:43:14 +00:00
Juergen Hoeller
bb97ca32c4
added configurable "autoGrowNestedPaths" property to DataBinder (SPR-6430)
2009-11-25 00:17:29 +00:00
Juergen Hoeller
602118f1a3
extended CGLIB version range (SPR-6400)
2009-11-21 00:30:50 +00:00
Costin Leau
502c0e9055
SPR-6401
...
+ increase cglib range in OSGi manifest
2009-11-20 20:23:21 +00:00
Keith Donald
692b1ef636
found hotspot; added ConverisonServiceFactoryBean
2009-11-20 14:43:12 +00:00
Juergen Hoeller
4024b67926
removed formal deprecation from addPropertyValue; just hinting at add now
2009-11-20 14:28:38 +00:00
Juergen Hoeller
3b9605bc57
init/destroy methods get processed in the order of declaration at each hierarchy level (SPR-6344); process DestructionAwareBeanPostProcessors in common post-processor order; aligned metadata retrieval code
2009-11-19 23:49:10 +00:00
Juergen Hoeller
46cd083976
added chaining-capable "add" method to MutablePropertyValues
2009-11-19 22:30:35 +00:00
Juergen Hoeller
b41e3956bc
revised scope inheritance: default scope is "" (empty String) now; consistent isPrototype checks
2009-11-19 18:32:10 +00:00
Juergen Hoeller
ee5330801d
BeanDefinitions return isSingleton()=true by default again (for CXF compatibility)
2009-11-19 16:40:06 +00:00
Keith Donald
d85dc01e28
moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
2009-11-19 09:10:51 +00:00
David Syer
66939ded0f
RESOLVED - issue SPR-6366: Cannot import bean definitions using classpath*: resource location
...
http://jira.springframework.org/browse/SPR-6366
2009-11-17 09:53:10 +00:00
Keith Donald
aac9107f6b
SPR-6350
2009-11-14 05:44:46 +00:00
Juergen Hoeller
a6bba67bca
added setValidating to XmlBeanDefinitionReader itself as well (SPR-6336)
2009-11-12 16:35:29 +00:00
Juergen Hoeller
5d772554ae
report error in case of constructor-arg index ambiguity (SPR-6329)
2009-11-12 16:22:42 +00:00
Juergen Hoeller
c495cbb1bf
MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
2009-11-12 02:30:12 +00:00
Juergen Hoeller
0832334648
polishing
2009-11-12 02:11:12 +00:00
Juergen Hoeller
a884a407aa
child bean definition's scope attribute can be inherited from parent bean definition now (SPR-3542)
2009-11-12 02:10:59 +00:00
Juergen Hoeller
fcaf692225
MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
2009-11-12 02:10:44 +00:00
Juergen Hoeller
d0b6891275
child bean definition's scope attribute can be inherited from parent bean definition now (SPR-3542)
2009-11-12 00:09:05 +00:00
Juergen Hoeller
4a25e2dde0
log a warning in case of ambiguous setter methods (SPR-4931)
2009-11-11 23:27:34 +00:00
Juergen Hoeller
7a10b7530e
improved context shown for non-qualifying dependency (SPR-5912)
2009-11-11 21:44:36 +00:00
Juergen Hoeller
a805819360
introduced populateDefaults template method (SPR-6010)
2009-11-11 19:47:31 +00:00
Juergen Hoeller
022b8b4d1f
allow multiple tool:exports entries
2009-11-11 19:42:12 +00:00
Juergen Hoeller
5aefb2ce77
refined javadoc (SPR-5789)
2009-11-11 19:41:13 +00:00
Costin Leau
bcc6413ef7
SPR-5762
...
+ allow unknown URL protocols to be used with import directive
2009-11-09 15:59:08 +00:00
Arjen Poutsma
7ec9f1506a
SPR-6005 - org.springframework.beans.propertyeditors.URIEditor does double escaping for % signes for URIs that contain a schema
2009-11-09 09:15:49 +00:00
David Syer
092a25d0d8
SPR-4783: missing commit for bean def parser (duh)
2009-10-27 18:03:38 +00:00
David Syer
4be237dd84
RESOLVED - issue SPR-6195
2009-10-27 13:41:22 +00:00
Juergen Hoeller
8a09c8e7da
reworked ConfigurationClass(Web)ApplicationContext into AnnotationConfig(Web)ApplicationContext; revised BeansException signatures
2009-10-23 17:46:16 +00:00
Juergen Hoeller
87b2f23692
updated version ranges for javax.el and javax.inject
2009-10-23 17:26:12 +00:00
Juergen Hoeller
cf580f024a
added first cut of getBean(Class) lookup method
2009-10-20 19:52:30 +00:00
Juergen Hoeller
94533976d0
full compliance with the JSR-330 TCK
2009-10-20 18:18:25 +00:00
Keith Donald
e4f50f5b73
SPR-6245 bean wrapper copy constructor not copying all state
2009-10-19 01:06:44 +00:00
Sam Brannen
c686035773
Updated Eclipse classpath regarding javax.inject and javax.validation.
2009-10-16 10:16:25 +00:00
Juergen Hoeller
e99cda3739
updated to final versions of JSR-330 and JSR-303 APIs
2009-10-15 14:31:41 +00:00
Juergen Hoeller
11d987009a
revised destroy method lookup after deserialization (avoiding NPE in case of default-destroy-method; SPR-6211)
2009-10-15 10:33:05 +00:00
Keith Donald
dc076ee6fe
fixed failing tests
2009-10-14 20:45:53 +00:00
Juergen Hoeller
b2129577b9
polishing
2009-10-13 22:48:25 +00:00
Juergen Hoeller
3331f16ef7
revised RootBeanDefinition constructors
2009-10-13 21:39:27 +00:00
Juergen Hoeller
b4ffdcdf18
polishing
2009-10-13 20:59:10 +00:00
Juergen Hoeller
84447cdf94
DataBinder activates autoGrowNestedPaths by default; fixed enum binding with WebRequestDataBinder
2009-10-13 20:55:57 +00:00
Juergen Hoeller
a293f50851
Enum counts as simple value type
2009-10-13 20:51:59 +00:00
Chris Beams
a48234cf5f
SPR-5682: Initial support for ConfigurationClassApplicationContext
2009-10-05 00:35:17 +00:00
Keith Donald
341835a142
mapper initial commit
2009-10-02 16:28:53 +00:00
Juergen Hoeller
71a045328c
renamed getAnnotations to getMethodAnnotations; added getMethodAnnotation and getParameterAnnotation convenience methods
2009-10-01 15:20:31 +00:00
Juergen Hoeller
b152ac34fd
CustomEditorConfigurer supports PropertyEditor instances again (with deprecation warning); for XFire compatibility (SPR-6157)
2009-10-01 13:40:55 +00:00
Keith Donald
3fa533ddd8
SPR-6032 & SPR-6033: Auto grow nested path enhancements to BeanWrapper
2009-09-29 19:54:35 +00:00
Juergen Hoeller
09e6a85edd
fixed overview files
2009-09-25 08:47:18 +00:00
Mark Pollack
c6cd1a528e
SPR-6119 - Add slf4j dependency back to orm's pom.xml but in test scope as it is needed to run tests that use Hibernate
...
SPR-5956 - Remove commons-logging dependency definitions in pom.xml for all but spring-core so as to make exclusion rule easier for user who use slf4j
2009-09-25 05:16:55 +00:00
Juergen Hoeller
0f43d6c592
PropertyPlaceholderConfigurer supports "${myKey:myDefaultValue}" defaulting syntax
2009-09-24 22:34:02 +00:00
Juergen Hoeller
811e9fc043
consistent dependencies
2009-09-24 15:09:57 +00:00
Juergen Hoeller
e2093a8414
fixed regression: looking for annotation on original bean class as well, not just on exposed bean type (SPR-5981)
2009-09-24 14:59:26 +00:00
Juergen Hoeller
ad492e906e
PropertyOverrideConfigurer's "ignoreInvalidKeys" ignores invalid property names as well (SPR-5792)
2009-09-24 14:40:13 +00:00
Juergen Hoeller
33265eecbd
polishing
2009-09-23 21:19:28 +00:00
Juergen Hoeller
9508f41a91
made InitDestroyAnnotationBeanPostProcessor's logger field transient (SPR-5962)
2009-09-23 21:17:30 +00:00
Juergen Hoeller
d4c16e91df
SPR-6094: PostConstruct now processed top-down (base class first); @PreDestroy processed bottom-up (subclass first)
2009-09-23 20:53:21 +00:00
Juergen Hoeller
6fc190ec25
AbstractBeanDefinitionParser can deal with null return value as well (SPR-5872)
2009-09-23 13:51:14 +00:00
Mark Pollack
4f94f45ec4
pom maintenance
2009-09-21 07:37:30 +00:00
Keith Donald
45c542e51e
updated for change in conversion service api; source type desc now required
2009-09-18 20:32:41 +00:00
Keith Donald
d3b43ebccb
refined generic converter concept
2009-09-18 19:57:59 +00:00
Juergen Hoeller
ac6e26388f
added default editors for "java.util.Currency" and "java.util.TimeZone"
2009-09-18 14:15:06 +00:00
Juergen Hoeller
99753f0d1c
polishing
2009-09-18 14:07:19 +00:00
Juergen Hoeller
7b42a12161
consistent loading of optional classes
2009-09-18 14:01:39 +00:00
Juergen Hoeller
9ef1d2b1ad
adapted to Converter signature change
2009-09-17 15:20:04 +00:00
Juergen Hoeller
6f2642f2d3
consistently use varargs signature
2009-09-17 10:24:56 +00:00
Juergen Hoeller
160521074b
avoid caching for expression results even when specified as TypedStringValue (SPR-6115)
2009-09-17 10:04:36 +00:00
Rob Harrop
01fb1825f5
[SPR-6063] fixed issue with inconsistent views of PropertyDescriptors
2009-09-16 09:53:14 +00:00
Juergen Hoeller
fd81aa205d
protected @Autowired method can be overridden with non-annotated method to suppress injection; private @Autowired methods with same signature will be called individually across a hierarchy (SPR-6112)
2009-09-15 15:52:13 +00:00
Juergen Hoeller
e1a3e44485
initial JSR-330 injection support
2009-09-15 12:00:55 +00:00
Juergen Hoeller
34357d2b1f
revised DefaultBindingErrorProcessor to use direct getPropertyName() and getValue() calls on PropertyAccessException itself (SPR-6111)
2009-09-15 10:51:50 +00:00
Rob Harrop
320f08ac79
[SPR-6017] a few more tweaks to how getLocalName is handled
2009-09-14 15:00:37 +00:00
Juergen Hoeller
bb70c9a4c4
@RequestParam and co support placeholders and expressions in their defaultValue attributes (SPR-5922); @Value expressions supported as MVC handler method arguments as well (against request scope)
2009-09-14 10:48:15 +00:00
Rob Harrop
7835e66abb
[SPR-6017] a few more tweaks to how getLocalName is handled
2009-09-14 10:43:04 +00:00
Rob Harrop
7d37c92e4f
[SPR-6017] a few more tweaks to the BeanDefinitionParserDelegate public contract
2009-09-14 10:02:15 +00:00
Rob Harrop
fe16447112
more work on enabling non-namespace extensions of xml parsing
2009-09-11 20:00:04 +00:00
Rob Harrop
1480202aa3
[SPR-5644] Support for Enum<?> and Enum<T> values as FQN.FIELD_NAME in type conversion
2009-09-11 18:31:51 +00:00
Juergen Hoeller
cfdb106910
polishing
2009-09-08 23:03:22 +00:00
Juergen Hoeller
634d4b4d4c
BeanFactory prefers local primary bean to primary bean in parent factory (SPR-5871)
2009-09-08 23:01:26 +00:00
Rob Harrop
8f6a42bf64
[SPR-3635] [SPR-5039] [SPR-5813] JMX annotation inheritance fixed
2009-09-08 21:37:02 +00:00
Juergen Hoeller
7f7173f790
added copy of SerializationTestUtils to beans module
2009-09-08 21:00:48 +00:00
Juergen Hoeller
209f43bee7
BeanFactory supports ObjectFactory as a dependency type for @Autowired and @Value (SPR-6079)
2009-09-08 20:55:00 +00:00
Rob Harrop
7448214657
reworked PropertyPlaceholderConfigurer to use new PropertyPlaceholderHelper
2009-09-08 20:10:26 +00:00
Rob Harrop
ae461db82a
fix to resource handling in PluggableSchemaResolver
2009-09-08 08:37:10 +00:00
Juergen Hoeller
a86a698e5b
initial JSR-303 Bean Validation support; revised ConversionService and FormatterRegistry
2009-09-07 23:58:42 +00:00
Juergen Hoeller
7aff0755a3
expression parser uses context's ConversionService by default
2009-09-07 18:53:01 +00:00
Juergen Hoeller
efaf76b46f
polishing
2009-09-07 18:37:01 +00:00
Juergen Hoeller
1045847cf7
updated to CGLIB 2.2 and EHCache 1.6.2
2009-09-07 18:04:27 +00:00
Juergen Hoeller
e6436bbbbe
fixed currently-in-creation check to apply with any log level (SPR-5996)
2009-09-07 12:50:49 +00:00
Rob Harrop
019c3c253a
[SPR-6017] updated DBDR and BDPD to allow for overriding of namespace-specific methods
2009-09-04 18:22:37 +00:00
Rob Harrop
5d17db64ec
updated javax.el dependency to match the IDEA project file
2009-09-04 18:17:38 +00:00
Rob Harrop
05fe679384
[SPR-6004] Fixed NPE in BeanDefinitionParserDelegate when using empty namespace as the default
2009-09-04 16:59:07 +00:00
Juergen Hoeller
8754f0bc85
updated dependencies
2009-08-31 11:25:54 +00:00
Juergen Hoeller
904c2358cd
adapted to changes in non-lenient mode
2009-08-27 10:45:46 +00:00
Costin Leau
015284af7c
+ add implicit (String) type for typed string values w/o a specified type
2009-08-27 09:47:15 +00:00
Juergen Hoeller
04cd95ff50
fixed accidental test failures
2009-08-25 13:49:10 +00:00
Juergen Hoeller
9a48f3f3a8
try to create unknown collection implementation types via default constructor
2009-08-25 13:29:22 +00:00
Costin Leau
0179c66d2a
+ add security manager checks to avoid the creation of inner privileged action classes
2009-08-24 15:53:48 +00:00
Juergen Hoeller
04b619ebfb
fixed accidental test failures
2009-08-24 13:48:21 +00:00
Juergen Hoeller
fee838a65e
support for default "conversionService" bean in an ApplicationContext; revised formatting package, now integrated with DataBinder and AnnotationMethodHandlerAdapter; revised AccessControlContext access from BeanFactory
2009-08-24 13:30:42 +00:00
Costin Leau
8dbf86fb7a
+ update copyright dates on some files
...
+ migrated test from JUnit 3 to 4
2009-08-09 08:47:24 +00:00
Juergen Hoeller
45a0cadf8e
revised core conversion package for BeanWrapper/BeanFactory integration
2009-08-09 00:46:49 +00:00
Costin Leau
14e983ff9a
+ removed unneeded method (one less item off the stack)
2009-08-06 22:50:13 +00:00
Costin Leau
af8af8c633
+ added fine grained privileged blocks to preserve the caller security stack when invoking the callee
2009-08-06 22:31:57 +00:00
Costin Leau
81eb11486d
+ fixed exception unwrapping
...
+ optimized path for getBean (and thus fixed another test)
2009-08-06 19:08:14 +00:00
Costin Leau
d5d3104b7b
+ interaction with user code uses now dedicated privileged when running under a security manager
2009-08-06 16:34:39 +00:00
Mark Pollack
97e3b5ca8c
SPR-5976 - Upgrade POMS to JUnit 4.6
2009-08-05 17:48:53 +00:00
Sam Brannen
372173f968
Parameterized/generified static methods in BeanUtils.
2009-08-04 12:06:14 +00:00
Juergen Hoeller
17dfc8b0fc
fixed constructor resolution algorithm to trigger ambiguity exception as late as possible
2009-07-29 16:43:12 +00:00
Juergen Hoeller
5d009a2a98
prevent non-public access to bean class as well, if demanded
2009-07-29 15:15:47 +00:00
Juergen Hoeller
3cb073abce
revised non-lenient resolution
2009-07-28 14:43:37 +00:00
Juergen Hoeller
1eabe2b441
lenientConstructorResolution flag applies to factory methods as well
2009-07-27 14:09:42 +00:00
Juergen Hoeller
c7b019cd5c
@Required does not get processed on beans returned by @Bean factory methods (SPR-5744)
2009-07-24 13:29:28 +00:00
Christian Dupuis
a4bbd9abda
xsds now use schemaLocation attribute on xsd:import elements to specify the concrete schema version to import
2009-07-22 14:06:44 +00:00
Juergen Hoeller
4deef3796e
@PostConstruct works for multiple private init methods of the same name in a hierarchy (SPR-5945)
2009-07-22 12:52:47 +00:00
Juergen Hoeller
ea8f628c9c
polishing
2009-07-21 14:14:53 +00:00
Juergen Hoeller
364641e9bc
revised static annotation check
2009-07-21 14:12:16 +00:00
Juergen Hoeller
8e2797153b
revised lenient constructor resolution (follow-up to SPR-5816)
2009-07-16 17:22:03 +00:00
Juergen Hoeller
7eabd2da56
introduced "nonPublicAccessAllowed" flag (SPR-5882)
2009-07-16 15:52:27 +00:00
Juergen Hoeller
a9254b34d1
introduced "lenientConstructorResolution" flag (SPR-5816)
2009-07-16 13:27:47 +00:00
Juergen Hoeller
f4a83c5c74
consistently allow array element
2009-07-16 11:35:25 +00:00
Juergen Hoeller
cf29d1c367
constructor argument type matching supports arrays and simple class names now (SPR-5844)
2009-07-16 11:25:52 +00:00
Juergen Hoeller
68363f17a7
avoid potential NPE (SPR-5930)
2009-07-15 15:07:37 +00:00
Chris Beams
9163d8043b
updated .jms dependency on junit 4.6.0 from test->runtime to test->compile. touched all org.eclipse.jdt.core.prefs (during the process of importing the projects). only the date comments within each have changed.
2009-07-15 07:26:31 +00:00
Mark Pollack
0d98baa5c1
SPR-5619
2009-07-10 04:02:08 +00:00
Andy Clement
d3c54d979e
SPR-5906: test and fix for using expressions in property list keys and values
2009-07-07 20:13:21 +00:00
Sam Brannen
620c9b1f96
[SPR-5895] Upgraded to EasyMock 2.5.1.
2009-07-03 09:32:15 +00:00
Sam Brannen
8bfb56c75b
[SPR-5887] Upgraded to JUnit 4.6.0.
2009-07-02 18:07:55 +00:00
Sam Brannen
c996f7ea7b
copyright and typo
2009-06-21 12:54:04 +00:00
Juergen Hoeller
2e0f663092
@Configurable injection failure logged with refined message and without a full stacktrace (SPR-5752)
2009-06-08 15:54:00 +00:00
Juergen Hoeller
81a8b8fd19
strict matching of named arguments
2009-06-03 13:16:01 +00:00
Juergen Hoeller
53333c3ed0
XML constructor-arg element allows for specifying a constructor argument by name now, with target argument names read from the class file via ASM or from Java 6's @ConstructorProperties annotation (SPR-3313)
2009-06-03 10:21:57 +00:00
Chris Beams
a9696c7282
RESOLVED - SPR-5523: Replace all 'package.html' artifacts with 'package-info.java'
...
* Applied patch submitted by Carlos Zuniga
2009-06-01 04:14:22 +00:00
Juergen Hoeller
aaa9fc73ae
polishing
2009-05-27 12:54:19 +00:00
Christian Dupuis
6cc33fc609
added spring.tooling descriptor and images for all namespaces
2009-05-26 11:58:09 +00:00
Juergen Hoeller
e137b10978
polishing
2009-05-19 22:33:30 +00:00
Christian Dupuis
eb3ece4208
added spring-tool-3.0.xsd; new expected-method element to describe possible methods for an attribute
2009-05-15 11:03:37 +00:00
Juergen Hoeller
da71f266ae
ConfigurationClassBeanDefinition implements AnnotatedBeanDefinition
2009-05-12 23:12:51 +00:00
Juergen Hoeller
bbd69da37f
updated all Spring Framework OSGI manifests to list unversioned imports explicitly; relaxed several OSGi bundle dependencies to optional and extended version ranges
2009-05-12 16:43:15 +00:00
Arjen Poutsma
eca1cad7e1
Fixing build.
2009-05-12 08:26:33 +00:00
Juergen Hoeller
0297116542
generified TypeConverter interface
2009-05-11 22:44:33 +00:00
Arjen Poutsma
bf7a947559
SPR-5732 - When no type conversion strategy is found on a @Controller handler method bind target, a 500 error code should be returned not a 400.
2009-05-11 14:52:14 +00:00
Juergen Hoeller
266a65982d
Servlet/Portlet ApplicationContexts use a specific id based on servlet/portlet name; DefaultListableBeanFactory references are serializable now when initialized with an id; scoped proxies are serializable now, for web scopes as well as for singleton beans; injected request/session references are serializable proxies for the current request now
2009-05-07 22:29:55 +00:00
Juergen Hoeller
a2fdb68a0b
fixed potential race condition through additional synchronization (SPR-5658)
2009-04-27 22:53:40 +00:00
Juergen Hoeller
ac16101f98
polishing
2009-04-26 11:39:00 +00:00
Juergen Hoeller
423809543a
polishing
2009-04-24 11:25:27 +00:00
Juergen Hoeller
ea9d8925a2
next cut of JavaConfig metadata reading revision: using cached MetadataReaders
2009-04-22 10:46:24 +00:00
Juergen Hoeller
10d8abea3b
EntityResolvers and DefaultNamespaceHandlerResolver support concurrent access now (SPR-5679)
2009-04-20 12:07:00 +00:00
Juergen Hoeller
14bd475519
revised support for annotated factory methods (merged @FactoryMethod functionality into JavaConfig facility)
2009-04-19 23:45:31 +00:00
Juergen Hoeller
1b5812da20
storing type information as specified (SPR-5556, SPR-5562); explicit XML array element in spring-beans-3.0.xsd (SPR-5543)
2009-04-15 22:27:32 +00:00
Thomas Risberg
1facd45c5e
switched to use XInclude
2009-04-14 21:37:40 +00:00
Juergen Hoeller
5649f2f31d
fixed generic registerCustomEditor signature
2009-04-10 13:44:23 +00:00
Juergen Hoeller
a9f4eeeabf
fixed javadoc
2009-04-09 18:24:07 +00:00
Mark Pollack
362629d03b
Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT (again)
2009-04-09 14:38:35 +00:00
Juergen Hoeller
859497b171
@Resource names may use ${...} placeholders (SPR-5656)
2009-04-09 09:14:06 +00:00
Mark Pollack
8f76197485
Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT
2009-04-03 14:03:48 +00:00
Arjen Poutsma
ed5647a270
Fixing the build...
2009-04-01 08:58:23 +00:00
Juergen Hoeller
9dd70ca9fe
polishing
2009-03-31 20:34:57 +00:00
Juergen Hoeller
b85d45725d
@Value values may use ${...} placeholders (driven by PropertyPlaceholderConfigurer); @Autowired uses field/parameter name as fallback qualifier value (SPR-5152)
2009-03-31 20:27:42 +00:00
Mark Pollack
351fba1a04
POM maintenance
...
Place parent pom in publicly accessible directory (org.sf.spring-parent).
Create a component list pom in org.sf.spring-library.
2009-03-29 09:56:38 +00:00
Juergen Hoeller
bcf6f23225
declarative destroy-method="..." specifications get validated at bean creation time (SPR-5602)
2009-03-27 17:45:53 +00:00
Juergen Hoeller
82fd947712
polishing
2009-03-27 17:41:03 +00:00
Juergen Hoeller
fbfbb88032
introduced "matchesName" method on BeanDefinitionHolder
2009-03-27 17:40:25 +00:00
Juergen Hoeller
2e378a8049
added further generic property resolution test
2009-03-27 17:31:15 +00:00
Juergen Hoeller
81e683b3ee
CachedIntrospectionResults always caches bean classes except in case of custom BeanInfo (SPR-4876)
2009-03-26 23:15:23 +00:00
Mark Pollack
0b463c0838
SPR-5385, SPR-5301 - partial work committed.
2009-03-24 05:56:56 +00:00
Juergen Hoeller
423c4113ee
ConstructorArgumentValues exposed indexed arguments in the order of definition (SPR-5554)
2009-03-23 16:06:24 +00:00
Juergen Hoeller
d42e24a752
polishing
2009-03-23 14:15:47 +00:00
Juergen Hoeller
4344832a47
qualifier annotations and @Value can be used at method level as well (applying to all parameters);
...
fixed EL evaluation of prepared constructor arguments for repeated prototype creation
2009-03-23 14:13:41 +00:00
Chris Beams
3ae3de19a9
+ Updated all projects to use the re-introduced org.springframework.asm instead of org.objectweb.asm (.java, template.mf, ivy.xml, and .classpath files have been updated)
...
+ Finished support for @Import, including detection of circular imports
2009-03-21 19:00:57 +00:00
Mark Pollack
fc9c3009fe
Initial cut of feature to create factory beans using the @FactoryBean annotation within a @Component
2009-03-07 07:42:25 +00:00
Juergen Hoeller
092de0107c
improved NoClassDefFoundError handling during constructor resolution (SPR-5522)
2009-02-25 10:07:57 +00:00
Juergen Hoeller
160249c012
generified FactoryBeans and further Java 5 code style updates
2009-02-25 00:34:22 +00:00
Arjen Poutsma
778a00a595
javadoc
2009-02-24 16:20:26 +00:00
Arjen Poutsma
2fde8ef4d9
Fixed URI encoding in URIEditor to be RFC 2396 compliant
2009-02-24 15:12:54 +00:00
Juergen Hoeller
dc1edccc56
prototype beans receive independent collection/array even when based on single value (SPR-5512)
2009-02-21 18:04:08 +00:00
Juergen Hoeller
5fed34bdb4
testing the exception message when conversion of a generic collection element fails
2009-02-20 17:12:29 +00:00
Juergen Hoeller
eb1631f458
SimpleAliasRegistry detects resolved aliases that loop back to the original name (SPR-5419); PropertyPlaceholderConfigurer does not modify Map in case of equal String keys (SPR-5318); inner class names in Java source style ("java.lang.Thread.State") supported as well (SPR-5210)
2009-02-19 16:17:35 +00:00
Juergen Hoeller
43caa57296
optimized OrderComparator usage
2009-02-17 18:19:57 +00:00
Juergen Hoeller
5a09a2d642
polishing
2009-02-16 01:43:49 +00:00
Juergen Hoeller
46cbaa9729
pre-converted property values are preserved more eagerly for re-created beans (SPR-5293)
2009-02-16 01:36:13 +00:00
Juergen Hoeller
e58d036c73
generic collection type resolution respects upper bound as well
2009-02-13 09:09:56 +00:00
Juergen Hoeller
08dd18df58
revised expression parser API design
2009-02-12 23:03:58 +00:00
Juergen Hoeller
fb057bb5f6
generified NumberUtils signature
2009-02-12 17:40:51 +00:00
Juergen Hoeller
5a04ed502b
registered plain singletons will be fully matched according to their qualifiers; "systemProperties" bean is not considered a default match for type Properties anymore (SPR-5355)
2009-02-09 22:06:07 +00:00
Juergen Hoeller
fc6d7358ef
polishing
2009-02-09 18:28:04 +00:00
Juergen Hoeller
6609386e41
polishing
2009-02-09 15:38:17 +00:00
Arjen Poutsma
1b6c4929ad
Renamed ShortcutTests to SimplePropertyNamespaceHandlerTests
2009-01-22 11:41:14 +00:00
Chris Beams
d116c8733a
polishing .beans tests
2008-12-24 22:02:08 +00:00
Chris Beams
46722fa946
removing unintentionally added file
2008-12-24 21:52:44 +00:00
Chris Beams
62db6af879
polishing .beans tests
2008-12-24 21:52:19 +00:00
Chris Beams
a0bf1b4ade
polishing .beans tests
2008-12-24 20:29:14 +00:00
Chris Beams
915ad0a8d9
polishing .beans tests
2008-12-24 20:17:43 +00:00
Chris Beams
751daf95a1
polishing .beans tests
2008-12-24 19:34:04 +00:00
Chris Beams
670bfd5ee2
+ polishing .beans tests
...
+ removed unnecessary dependency on hibernate
2008-12-24 19:14:15 +00:00
Chris Beams
3d634f1eb7
polishing .beans tests
2008-12-24 18:16:53 +00:00
Chris Beams
ac8f37439b
removing svn:externals usage approach to common test artifacts
2008-12-18 18:44:45 +00:00
Chris Beams
579280d7bf
Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
2008-12-18 14:50:25 +00:00