Juergen Hoeller
a6a47671bf
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2104 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 22:48:25 +00:00
Juergen Hoeller
9b75d3589f
revised RootBeanDefinition constructors
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2102 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 21:39:27 +00:00
Juergen Hoeller
fd54577c86
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2100 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:59:10 +00:00
Juergen Hoeller
3f2884910a
DataBinder activates autoGrowNestedPaths by default; fixed enum binding with WebRequestDataBinder
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2099 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:55:57 +00:00
Juergen Hoeller
e35ed65ff9
Enum counts as simple value type
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2098 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-13 20:51:59 +00:00
Chris Beams
d2cef2201b
SPR-5682: Initial support for ConfigurationClassApplicationContext
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2048 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-05 00:35:17 +00:00
Keith Donald
722bdb7222
mapper initial commit
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2042 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-02 16:28:53 +00:00
Juergen Hoeller
c6444ee017
renamed getAnnotations to getMethodAnnotations; added getMethodAnnotation and getParameterAnnotation convenience methods
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2037 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 15:20:31 +00:00
Juergen Hoeller
bac9fee0be
CustomEditorConfigurer supports PropertyEditor instances again (with deprecation warning); for XFire compatibility (SPR-6157)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2036 50f2f4bb-b051-0410-bef5-90022cba6387
2009-10-01 13:40:55 +00:00
Keith Donald
06201b5eb4
SPR-6032 & SPR-6033: Auto grow nested path enhancements to BeanWrapper
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2030 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-29 19:54:35 +00:00
Juergen Hoeller
599910699a
fixed overview files
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2005 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 08:47:18 +00:00
Mark Pollack
4e2aaf7934
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
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2001 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-25 05:16:55 +00:00
Juergen Hoeller
7d68ca8992
PropertyPlaceholderConfigurer supports "${myKey:myDefaultValue}" defaulting syntax
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1994 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 22:34:02 +00:00
Juergen Hoeller
c032a53d71
consistent dependencies
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1989 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 15:09:57 +00:00
Juergen Hoeller
0708205690
fixed regression: looking for annotation on original bean class as well, not just on exposed bean type (SPR-5981)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1988 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 14:59:26 +00:00
Juergen Hoeller
7f532b126d
PropertyOverrideConfigurer's "ignoreInvalidKeys" ignores invalid property names as well (SPR-5792)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1987 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-24 14:40:13 +00:00
Juergen Hoeller
c96e42e41e
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1979 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 21:19:28 +00:00
Juergen Hoeller
3cc2a42bec
made InitDestroyAnnotationBeanPostProcessor's logger field transient (SPR-5962)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1978 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 21:17:30 +00:00
Juergen Hoeller
4a95222c98
SPR-6094: PostConstruct now processed top-down (base class first); @PreDestroy processed bottom-up (subclass first)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1977 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 20:53:21 +00:00
Juergen Hoeller
5446706ec7
AbstractBeanDefinitionParser can deal with null return value as well (SPR-5872)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1968 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-23 13:51:14 +00:00
Mark Pollack
b5e25453d2
pom maintenance
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1952 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-21 07:37:30 +00:00
Keith Donald
aa9794526d
updated for change in conversion service api; source type desc now required
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1935 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 20:32:41 +00:00
Keith Donald
fad7b691bf
refined generic converter concept
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1932 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 19:57:59 +00:00
Juergen Hoeller
09cb11776e
added default editors for "java.util.Currency" and "java.util.TimeZone"
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1929 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:15:06 +00:00
Juergen Hoeller
472af43b0e
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1928 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:07:19 +00:00
Juergen Hoeller
e8a9ef9bcf
consistent loading of optional classes
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1926 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-18 14:01:39 +00:00
Juergen Hoeller
56d0246713
adapted to Converter signature change
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1908 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 15:20:04 +00:00
Juergen Hoeller
5713ee318c
consistently use varargs signature
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1907 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 10:24:56 +00:00
Juergen Hoeller
7fbf1cf583
avoid caching for expression results even when specified as TypedStringValue (SPR-6115)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1905 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-17 10:04:36 +00:00
Rob Harrop
b4f29862b1
[SPR-6063] fixed issue with inconsistent views of PropertyDescriptors
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1900 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-16 09:53:14 +00:00
Juergen Hoeller
856b7edc51
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)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1897 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 15:52:13 +00:00
Juergen Hoeller
a65d974b14
initial JSR-330 injection support
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1894 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 12:00:55 +00:00
Juergen Hoeller
44c7ef0d16
revised DefaultBindingErrorProcessor to use direct getPropertyName() and getValue() calls on PropertyAccessException itself (SPR-6111)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1892 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-15 10:51:50 +00:00
Rob Harrop
23e67fbe1c
[SPR-6017] a few more tweaks to how getLocalName is handled
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1878 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 15:00:37 +00:00
Juergen Hoeller
05ab1cea77
@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)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1877 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:48:15 +00:00
Rob Harrop
f809d37db3
[SPR-6017] a few more tweaks to how getLocalName is handled
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1876 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:43:04 +00:00
Rob Harrop
8bfc41077f
[SPR-6017] a few more tweaks to the BeanDefinitionParserDelegate public contract
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1874 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-14 10:02:15 +00:00
Rob Harrop
ebf625b081
more work on enabling non-namespace extensions of xml parsing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1871 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-11 20:00:04 +00:00
Rob Harrop
fc6156dde9
[SPR-5644] Support for Enum<?> and Enum<T> values as FQN.FIELD_NAME in type conversion
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1869 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-11 18:31:51 +00:00
Juergen Hoeller
49e0531f37
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1858 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 23:03:22 +00:00
Juergen Hoeller
641f1eb58d
BeanFactory prefers local primary bean to primary bean in parent factory (SPR-5871)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1857 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 23:01:26 +00:00
Rob Harrop
b98d52b16b
[SPR-3635] [SPR-5039] [SPR-5813] JMX annotation inheritance fixed
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1852 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 21:37:02 +00:00
Juergen Hoeller
54f08aeb88
added copy of SerializationTestUtils to beans module
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1851 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 21:00:48 +00:00
Juergen Hoeller
1e16aecadd
BeanFactory supports ObjectFactory as a dependency type for @Autowired and @Value (SPR-6079)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1850 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 20:55:00 +00:00
Rob Harrop
fd5b40d1cc
reworked PropertyPlaceholderConfigurer to use new PropertyPlaceholderHelper
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1849 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 20:10:26 +00:00
Rob Harrop
2103fde78f
fix to resource handling in PluggableSchemaResolver
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1842 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-08 08:37:10 +00:00
Juergen Hoeller
317022ee8e
initial JSR-303 Bean Validation support; revised ConversionService and FormatterRegistry
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1836 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 23:58:42 +00:00
Juergen Hoeller
75e4b86c95
expression parser uses context's ConversionService by default
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1834 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:53:01 +00:00
Juergen Hoeller
e4c3adba2d
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1832 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:37:01 +00:00
Juergen Hoeller
4354ffd683
updated to CGLIB 2.2 and EHCache 1.6.2
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1830 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 18:04:27 +00:00
Juergen Hoeller
4446156e2f
fixed currently-in-creation check to apply with any log level (SPR-5996)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1829 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-07 12:50:49 +00:00
Rob Harrop
4d0b327678
[SPR-6017] updated DBDR and BDPD to allow for overriding of namespace-specific methods
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1820 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-04 18:22:37 +00:00
Rob Harrop
17821d8d39
updated javax.el dependency to match the IDEA project file
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1819 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-04 18:17:38 +00:00
Rob Harrop
f00f605469
[SPR-6004] Fixed NPE in BeanDefinitionParserDelegate when using empty namespace as the default
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1818 50f2f4bb-b051-0410-bef5-90022cba6387
2009-09-04 16:59:07 +00:00
Juergen Hoeller
a521abefcc
updated dependencies
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1791 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-31 11:25:54 +00:00
Juergen Hoeller
c103aa7733
adapted to changes in non-lenient mode
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1779 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-27 10:45:46 +00:00
Costin Leau
b2b4682332
+ add implicit (String) type for typed string values w/o a specified type
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1776 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-27 09:47:15 +00:00
Juergen Hoeller
dacde6959a
fixed accidental test failures
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1760 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-25 13:49:10 +00:00
Juergen Hoeller
1cbc4ac602
try to create unknown collection implementation types via default constructor
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1759 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-25 13:29:22 +00:00
Costin Leau
503c7d9faa
+ add security manager checks to avoid the creation of inner privileged action classes
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1753 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 15:53:48 +00:00
Juergen Hoeller
5ff66e9757
fixed accidental test failures
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1752 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 13:48:21 +00:00
Juergen Hoeller
3d9dfb340f
support for default "conversionService" bean in an ApplicationContext; revised formatting package, now integrated with DataBinder and AnnotationMethodHandlerAdapter; revised AccessControlContext access from BeanFactory
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1750 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-24 13:30:42 +00:00
Costin Leau
b3f6d339c0
+ update copyright dates on some files
...
+ migrated test from JUnit 3 to 4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1725 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 08:47:24 +00:00
Juergen Hoeller
2194ae2c67
revised core conversion package for BeanWrapper/BeanFactory integration
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1721 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-09 00:46:49 +00:00
Costin Leau
4fa3a9ca15
+ removed unneeded method (one less item off the stack)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1710 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 22:50:13 +00:00
Costin Leau
c8a037ce93
+ added fine grained privileged blocks to preserve the caller security stack when invoking the callee
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1708 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 22:31:57 +00:00
Costin Leau
92bffc2fb5
+ fixed exception unwrapping
...
+ optimized path for getBean (and thus fixed another test)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1707 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 19:08:14 +00:00
Costin Leau
657b0c5f2a
+ interaction with user code uses now dedicated privileged when running under a security manager
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1705 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-06 16:34:39 +00:00
Mark Pollack
2f66da5293
SPR-5976 - Upgrade POMS to JUnit 4.6
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1696 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-05 17:48:53 +00:00
Sam Brannen
68d07767ec
Parameterized/generified static methods in BeanUtils.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1681 50f2f4bb-b051-0410-bef5-90022cba6387
2009-08-04 12:06:14 +00:00
Juergen Hoeller
5b6b05cb5a
fixed constructor resolution algorithm to trigger ambiguity exception as late as possible
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1656 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-29 16:43:12 +00:00
Juergen Hoeller
7d40e1d032
prevent non-public access to bean class as well, if demanded
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1654 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-29 15:15:47 +00:00
Juergen Hoeller
0d93975a05
revised non-lenient resolution
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1648 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-28 14:43:37 +00:00
Juergen Hoeller
1b37f79e4e
lenientConstructorResolution flag applies to factory methods as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-27 14:09:42 +00:00
Juergen Hoeller
e49820d4b0
@Required does not get processed on beans returned by @Bean factory methods (SPR-5744)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1601 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-24 13:29:28 +00:00
Christian Dupuis
e81fd7b5d3
xsds now use schemaLocation attribute on xsd:import elements to specify the concrete schema version to import
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1589 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-22 14:06:44 +00:00
Juergen Hoeller
d67c11d48b
@PostConstruct works for multiple private init methods of the same name in a hierarchy (SPR-5945)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1588 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-22 12:52:47 +00:00
Juergen Hoeller
eda499c4d0
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1577 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 14:14:53 +00:00
Juergen Hoeller
53cfa5d4fa
revised static annotation check
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1576 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-21 14:12:16 +00:00
Juergen Hoeller
0874513d0e
revised lenient constructor resolution (follow-up to SPR-5816)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1552 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 17:22:03 +00:00
Juergen Hoeller
98a82fe328
introduced "nonPublicAccessAllowed" flag (SPR-5882)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1551 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 15:52:27 +00:00
Juergen Hoeller
6d0e3ced2e
introduced "lenientConstructorResolution" flag (SPR-5816)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1549 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 13:27:47 +00:00
Juergen Hoeller
2a699594df
consistently allow array element
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1548 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 11:35:25 +00:00
Juergen Hoeller
acd0fb7199
constructor argument type matching supports arrays and simple class names now (SPR-5844)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1547 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-16 11:25:52 +00:00
Juergen Hoeller
3cb902ef21
avoid potential NPE (SPR-5930)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1542 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-15 15:07:37 +00:00
Chris Beams
b33d28d6cf
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.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1541 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-15 07:26:31 +00:00
Mark Pollack
bed23619b7
SPR-5619
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1506 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-10 04:02:08 +00:00
Andy Clement
898f8192c8
SPR-5906: test and fix for using expressions in property list keys and values
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1486 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-07 20:13:21 +00:00
Sam Brannen
aef72ba508
[SPR-5895] Upgraded to EasyMock 2.5.1.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-03 09:32:15 +00:00
Sam Brannen
887f8b3c10
[SPR-5887] Upgraded to JUnit 4.6.0.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1461 50f2f4bb-b051-0410-bef5-90022cba6387
2009-07-02 18:07:55 +00:00
Sam Brannen
3115f99bf7
copyright and typo
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1406 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-21 12:54:04 +00:00
Juergen Hoeller
eaf7430d2e
@Configurable injection failure logged with refined message and without a full stacktrace (SPR-5752)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1327 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-08 15:54:00 +00:00
Juergen Hoeller
a233fe2c9f
strict matching of named arguments
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1307 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-03 13:16:01 +00:00
Juergen Hoeller
efa6b14250
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)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1305 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-03 10:21:57 +00:00
Chris Beams
49b6bbc8fa
RESOLVED - SPR-5523: Replace all 'package.html' artifacts with 'package-info.java'
...
* Applied patch submitted by Carlos Zuniga
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1281 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 04:14:22 +00:00
Juergen Hoeller
960e07bc5d
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1264 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 12:54:19 +00:00
Christian Dupuis
fc602eb256
added spring.tooling descriptor and images for all namespaces
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1252 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-26 11:58:09 +00:00
Juergen Hoeller
d13225968b
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1217 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 22:33:30 +00:00
Christian Dupuis
dfbcd4f190
added spring-tool-3.0.xsd; new expected-method element to describe possible methods for an attribute
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1180 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 11:03:37 +00:00
Juergen Hoeller
52c241e14f
ConfigurationClassBeanDefinition implements AnnotatedBeanDefinition
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1165 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 23:12:51 +00:00
Juergen Hoeller
11450f1fdb
updated all Spring Framework OSGI manifests to list unversioned imports explicitly; relaxed several OSGi bundle dependencies to optional and extended version ranges
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1159 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 16:43:15 +00:00
Arjen Poutsma
4c8894fb33
Fixing build.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1153 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 08:26:33 +00:00
Juergen Hoeller
ca0a5b63ff
generified TypeConverter interface
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1150 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 22:44:33 +00:00
Arjen Poutsma
2b1d156acf
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.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1144 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 14:52:14 +00:00
Juergen Hoeller
1d1dba1693
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
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1127 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-07 22:29:55 +00:00
Juergen Hoeller
d7836b9fcc
fixed potential race condition through additional synchronization (SPR-5658)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1069 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-27 22:53:40 +00:00
Juergen Hoeller
72a131cf34
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1064 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-26 11:39:00 +00:00
Juergen Hoeller
e6a1566854
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1063 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-24 11:25:27 +00:00
Juergen Hoeller
3eae3501e8
next cut of JavaConfig metadata reading revision: using cached MetadataReaders
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1046 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-22 10:46:24 +00:00
Juergen Hoeller
c8ee279f7c
EntityResolvers and DefaultNamespaceHandlerResolver support concurrent access now (SPR-5679)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1036 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-20 12:07:00 +00:00
Juergen Hoeller
b4b61316a7
revised support for annotated factory methods (merged @FactoryMethod functionality into JavaConfig facility)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1033 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-19 23:45:31 +00:00
Juergen Hoeller
448b018f47
storing type information as specified (SPR-5556, SPR-5562); explicit XML array element in spring-beans-3.0.xsd (SPR-5543)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1003 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-15 22:27:32 +00:00
Thomas Risberg
8fe2a89d43
switched to use XInclude
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1001 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-14 21:37:40 +00:00
Juergen Hoeller
6e1e0b8c51
fixed generic registerCustomEditor signature
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@969 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-10 13:44:23 +00:00
Juergen Hoeller
884ff14359
fixed javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@962 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 18:24:07 +00:00
Mark Pollack
5f3ac321cb
Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT (again)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@959 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 14:38:35 +00:00
Juergen Hoeller
7a4bcafcc6
@Resource names may use ${...} placeholders (SPR-5656)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@955 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 09:14:06 +00:00
Mark Pollack
9feacc0375
Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@919 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-03 14:03:48 +00:00
Arjen Poutsma
35a3940008
Fixing the build...
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@907 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 08:58:23 +00:00
Juergen Hoeller
8ce4e9c646
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@903 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-31 20:34:57 +00:00
Juergen Hoeller
c25fe064ce
@Value values may use ${...} placeholders (driven by PropertyPlaceholderConfigurer); @Autowired uses field/parameter name as fallback qualifier value (SPR-5152)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@899 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-31 20:27:42 +00:00
Mark Pollack
f17f9ef0f5
POM maintenance
...
Place parent pom in publicly accessible directory (org.sf.spring-parent).
Create a component list pom in org.sf.spring-library.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@868 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-29 09:56:38 +00:00
Juergen Hoeller
c90e6f7641
declarative destroy-method="..." specifications get validated at bean creation time (SPR-5602)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@858 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:45:53 +00:00
Juergen Hoeller
1d77442f69
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@856 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:41:03 +00:00
Juergen Hoeller
3cae153148
introduced "matchesName" method on BeanDefinitionHolder
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@855 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:40:25 +00:00
Juergen Hoeller
985e2b0068
added further generic property resolution test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@853 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:31:15 +00:00
Juergen Hoeller
be471b9c87
CachedIntrospectionResults always caches bean classes except in case of custom BeanInfo (SPR-4876)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@833 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 23:15:23 +00:00
Mark Pollack
4f514aac1e
SPR-5385, SPR-5301 - partial work committed.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@811 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-24 05:56:56 +00:00
Juergen Hoeller
05919c1cd3
ConstructorArgumentValues exposed indexed arguments in the order of definition (SPR-5554)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@805 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 16:06:24 +00:00
Juergen Hoeller
14b7c182d0
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@800 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:15:47 +00:00
Juergen Hoeller
cc21b308e2
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
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@799 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:13:41 +00:00
Chris Beams
7f82764cb2
+ 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
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@775 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-21 19:00:57 +00:00
Mark Pollack
3f024d2f4b
Initial cut of feature to create factory beans using the @FactoryBean annotation within a @Component
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@752 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 07:42:25 +00:00
Juergen Hoeller
e7f99fd584
improved NoClassDefFoundError handling during constructor resolution (SPR-5522)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@688 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 10:07:57 +00:00
Juergen Hoeller
f6c70c07c5
generified FactoryBeans and further Java 5 code style updates
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@686 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 00:34:22 +00:00
Arjen Poutsma
21659ac68e
javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@683 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-24 16:20:26 +00:00
Arjen Poutsma
39d5376d73
Fixed URI encoding in URIEditor to be RFC 2396 compliant
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@682 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-24 15:12:54 +00:00
Juergen Hoeller
6656a76cae
prototype beans receive independent collection/array even when based on single value (SPR-5512)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@663 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-21 18:04:08 +00:00
Juergen Hoeller
3819be4316
testing the exception message when conversion of a generic collection element fails
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@660 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-20 17:12:29 +00:00
Juergen Hoeller
305deb9631
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)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@657 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-19 16:17:35 +00:00
Juergen Hoeller
5fa3d7ae48
optimized OrderComparator usage
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@649 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-17 18:19:57 +00:00
Juergen Hoeller
b9f25bc30b
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@643 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:43:49 +00:00
Juergen Hoeller
4c5ab74c41
pre-converted property values are preserved more eagerly for re-created beans (SPR-5293)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@641 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:36:13 +00:00
Juergen Hoeller
613f744990
generic collection type resolution respects upper bound as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@624 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-13 09:09:56 +00:00
Juergen Hoeller
793bf07941
revised expression parser API design
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@619 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 23:03:58 +00:00
Juergen Hoeller
5405f247e8
generified NumberUtils signature
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@615 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 17:40:51 +00:00
Juergen Hoeller
699b370990
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)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@611 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 22:06:07 +00:00
Juergen Hoeller
a0d20fb424
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@608 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 18:28:04 +00:00
Juergen Hoeller
ed42fb056e
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@606 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 15:38:17 +00:00
Arjen Poutsma
1aa53e5199
Renamed ShortcutTests to SimplePropertyNamespaceHandlerTests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@571 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-22 11:41:14 +00:00