Mark Fisher
84ed6543ae
fixed NPE on latch in test
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1314 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 01:37:15 +00:00
Mark Fisher
fc3f49ff40
closing context at end of test methods
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1313 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 01:25:10 +00:00
Mark Fisher
f71c8c4141
Added tests for AsyncAnnotationBeanPostProcessor.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1312 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 01:15:05 +00:00
Mark Fisher
e3866c8b73
Added tests for ExecutorBeanDefinitionParser.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1311 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-06 01:07:18 +00:00
Mark Fisher
39a3dead76
Added support for the 'executor' element within the 'task' namespace for creating a ThreadPoolTaskExecutor instance.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1310 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-05 01:18:53 +00:00
Juergen Hoeller
661c96a5ca
prepared 3.0 versions of the remaining namespaces
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1306 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-03 10:29:17 +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
Keith Donald
24ae71908d
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1304 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 23:00:26 +00:00
Keith Donald
c0ea120e96
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1303 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 22:29:27 +00:00
Mark Fisher
7c9b459aa5
Added support for the 'annotation-driven' element within the 'task' namespace to enable detection of the @Async annotation on Spring-managed objects.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1301 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 16:58:43 +00:00
Andy Clement
1e2cecfd76
new feature for binder - automatically create lists and entries in lists upon referencing nulls
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1300 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 16:42:43 +00:00
Andy Clement
3342a7acaf
BinderTests - two ignored tests reactivated. Binder - modified how annotation based formatters are registered/looked up
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1294 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-02 00:24:43 +00:00
Keith Donald
bf179533e6
fixed issue that did not compile with sun compiler
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1293 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 23:23:13 +00:00
Keith Donald
3a5a2e3a0d
more tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1292 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 23:03:19 +00:00
Mark Fisher
5c47370315
initial commit of the AsyncAnnotationBeanPostProcessor
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1291 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 22:23:40 +00:00
Mark Fisher
3796ab35ed
Added tests for the 'scheduled-tasks' element parsing within the 'task' namespace.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1290 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 21:40:45 +00:00
Mark Fisher
f233fd6fd0
Added tests for the 'scheduler' element parsing within the 'task' namespace.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1289 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 21:16:11 +00:00
Keith Donald
63123f9486
forgot to commit
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1285 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 18:49:00 +00:00
Mark Fisher
73dc29f9e6
Added package declarations and comments to package-info.java files where they had been missing.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1284 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 18:47:52 +00:00
Keith Donald
b523dbc37d
initial data binder commit; dateformatter
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1283 50f2f4bb-b051-0410-bef5-90022cba6387
2009-06-01 18:34:22 +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
086be262a5
revised Java 6 checks to test for the presence of specific Java 6 interfaces/classes only
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1275 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-28 11:16:42 +00:00
Christian Dupuis
1e633230ec
use the annotation meta data in problem reporting
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1267 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 15:53:35 +00:00
Christian Dupuis
34b1a72a25
use the annotation meta data in problem reporting
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1266 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 15:20:25 +00:00
Andy Clement
075ae5e65c
remove antlr dependency
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1262 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 04:37:45 +00:00
Andy Clement
fcf09e4004
use new SpEL parser
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1261 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-27 04:33:21 +00:00
Keith Donald
c4fa35deb3
polish
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1255 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-26 16:22:09 +00:00
Keith Donald
88a935a00d
format system initial commit
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1254 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-26 16:18:42 +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
Sam Brannen
01023ec911
Updated regarding generics; fixed typos.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1245 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-25 09:04:05 +00:00
Mark Fisher
ce0017a838
SPR-4359 renamed 'concurrent' namespace to 'task'
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1229 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-22 03:12:43 +00:00
Mark Fisher
716070be36
SPR-4359 the 'scheduling' namespace is now 'concurrent'
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1226 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-21 18:41:13 +00:00
Juergen Hoeller
4d7576ef85
revised use of id and display name (id may be null; SPR-5761)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1224 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-20 00:12:19 +00:00
Juergen Hoeller
087d4f57f0
revised use of id and display name (id may be null; SPR-5761)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1223 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 23:48:44 +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
Juergen Hoeller
61be0a4427
fixed build; revised generic declarations
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1216 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 22:31:31 +00:00
Jennifer Hickey
9f87467445
SPR-5256
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1214 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-19 21:02:43 +00:00
Keith Donald
ba721e73cd
removed unused import
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1211 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-18 13:14:55 +00:00
Keith Donald
05ae07ed98
costin code review comments
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1210 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-18 13:13:34 +00:00
Keith Donald
c9c26c6c6c
BindingPoint to ConversionPoint, javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1192 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 20:32:23 +00:00
Keith Donald
a2f085d87c
renamed TypeDescriptor to BindingPoint
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1190 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 17:30:03 +00:00
Christian Dupuis
19234d89fc
minor change to use registerBeanComponent instead of directly registering the BeanDefinition
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1185 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 13:42:24 +00:00
Christian Dupuis
1f065e9daa
some minor tweaks to the scheduling namespace parser to make it more tooling friendly; applied new tools:annotation to method attribute in scheduling xsd
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1183 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 13:24:28 +00:00
Christian Dupuis
8acad83009
fixed tooling related problem where empty value of an attribute that should take a bean reference would call the RuntimeBeanReference constructor in the namespace parser and throw a IllegalArgumentException although the problem has already been reported using the ProblemReporter API
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1182 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-15 13:22:30 +00:00
Juergen Hoeller
f67c8bcfd8
@Import detects and accepts existing configuration class in any order of processing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1176 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-13 20:49:45 +00:00
Juergen Hoeller
6068053628
@Import detects and accepts existing configuration class of the desired type
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1173 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-13 16:19:56 +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
cef99d42b5
added SourceExtractor support
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1164 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 22:27:37 +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
Juergen Hoeller
5a29d0355e
removed outdated Attributes references
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1158 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 16:14:09 +00:00
Juergen Hoeller
ca99081916
added setMetadataReaderFactory method
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1157 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-12 16:13:36 +00:00
Juergen Hoeller
ec26065e84
explicitly declared SmartApplicationListener as ApplicationListener<ApplicationEvent>
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1152 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-11 22:49:07 +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
Mark Fisher
035c489129
SPR-4359 Added support for a 'task-scheduler' element.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1132 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-08 20:32:11 +00:00
Mark Fisher
55320b2c11
SPR-4359 Initial commit of scheduling namespace support.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1129 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-08 18:32:07 +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
b34a260984
ReloadableResourceBundleMessageSource correctly calculates filenames for locales with variant but without country now (SPR-5716)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1126 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-07 09:24:34 +00:00
Juergen Hoeller
65a871eaa9
moved ScheduledTaskRegistrar to new config package (where the scheduling namespace will live as well)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1118 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-06 08:47:18 +00:00
Juergen Hoeller
151cf74a10
added ScheduledTaskRegistrar etc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1105 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 18:40:43 +00:00
Juergen Hoeller
7205948651
avoid NPE for definitions without bean class specified
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1102 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 18:33:20 +00:00
Juergen Hoeller
f7642c4e30
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1092 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 09:36:53 +00:00
Juergen Hoeller
699d3f7bbc
removed StandardScopes pseudo-enum (superseded by meta-annotated scopes)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1091 50f2f4bb-b051-0410-bef5-90022cba6387
2009-05-05 09:32:55 +00:00
Thomas Risberg
3fa3fcac40
fixed JavaDoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1075 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-29 21:12:45 +00:00
Juergen Hoeller
906adab5a4
custom stereotype annotations can be meta-annotated with @Service, @Controller etc as well; @Scope and @Transactional are now supported as meta-annotations on custom annotations
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1065 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-26 11:41:06 +00:00
Juergen Hoeller
bf86e7cc9d
@Configuration parsing fully relies on Spring's MetadataReader abstraction now
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1061 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-24 11:16:46 +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
Chris Beams
79cf4ce20a
Temporarily ignoring GroovyScriptFactoryTests#testResourceScriptFromTag in order to allow more important fixes to roll out.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1041 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 18:14:08 +00:00
Chris Beams
8217d81d02
Fixing build breakage with GroovyScriptFactoryTests.
...
The problem was that the Messenger object was not being proxed (assertTrue(AopUtils.isAopProxy(messenger)) was returning false). The cause for this seemed to be that the
pointcut was malformed / out of date, reading execution(* org.springframework.scripting.Messenger.*(..)), when the groovy Messenger class is actually declared in the org.springframework.scripting.groovy package.
I tried updating the fully-qualified package name in the pointcut expression, and this caused AspectJ matching errors saying that there was not such type that matches that FQ name.
So as a final resort, I removed the full-qualification entirely and went with execution(* *..Messenger.*(..)). All tests pass now, but it raises the question, why was AJ having matching errors? Is it because
the pointcut matching is being done before the groovy class is loaded? There could be a potential bug here.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1040 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 17:20:39 +00:00
Chris Beams
95d6f50fc8
(temporarily) increasing visibility of the ConfigurationClassAnnotation interface in an attempt to resolve the issue encountered at http://is.gd/tCud
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1039 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-21 16:24:54 +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
Arjen Poutsma
6b1983e944
Added AspectJ dependency
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1025 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-18 09:06:04 +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
30ad8839cb
reintroduced "removeApplicationListener" method as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@980 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-12 20:59:52 +00:00
Costin Leau
4b80e4abdd
+ osgi manifest updates
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@978 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-11 20:57:09 +00:00
Juergen Hoeller
2986c24bf6
reintroduced "removeAllListeners()" method since Spring DM uses it
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@961 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-09 18:18:54 +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
Chris Beams
b818dd91a3
Renamed ConfigurationPostProcessorTests -> ConfigurationClassPostProcessorTests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@936 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-06 21:29:30 +00:00
Chris Beams
610a8b70ea
Fixed SPR-5655 - dm Server issues with ConfigurationClassPostProcessor attempting to read .class files with ASM with incorrect class loader
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@935 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-06 21:23:37 +00:00
Chris Beams
e5e5fa678f
Fixed mystyped dependency on org.antlr 3.0.1 in context's Eclipse .classpath
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@933 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-06 19:43:41 +00:00
Andy Clement
5eb884a7db
objects flowing around in expression evaluation are now TypedValue's - these carry generics info, used for conversions.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@925 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-03 23:39:14 +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
Andy Clement
2fb46e48c0
design change - no longer surfacing typeDescriptor through property accessor. conversion done internally in property write() code
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@914 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 23:27:49 +00:00
Andy Clement
0dec424147
implement new interface method
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@913 50f2f4bb-b051-0410-bef5-90022cba6387
2009-04-01 21:58:24 +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
Juergen Hoeller
c759465a5e
added "unregisterManagedResource" method to MBeanExporter/MBeanExportOperations (SPR-5517)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@886 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-31 14:28:14 +00:00
Chris Beams
532426a10d
Added test using custom properties file with util:properties and dereferenced with @Value("#{...}")
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@874 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 17:17:44 +00:00
Chris Beams
463f1e07de
polishing @Configuration tests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@872 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 16:02:04 +00:00
Chris Beams
8d0d8a4de8
RESOLVED - issue SPR-5600: Make naming of @Configuration class processing-related artifacts consistent
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@871 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 15:26:21 +00:00
Mark Pollack
e721a1f911
Change antlr version to be 3.0.1 so that is consistent across the project
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@869 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-30 14:42:34 +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
Chris Beams
d3e7583a50
Updated BeanMethodTests to reflect change from IllegalArgumentException -> IllegalStateException
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@867 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 22:29:28 +00:00
Chris Beams
eac93ebd59
resolved:
...
+ Provide @Primary annotation (SPR-5590)
+ Provide @Lazy annotation (SPR-5591)
+ Test @Bean initMethod/destroyMethod functionality (SPR-5592)
+ Test @Bean dependsOn functionality (SPR-5593)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@866 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-28 22:21:50 +00:00
Mark Pollack
f8adb82ab3
POM maintenance
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@861 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 21:28:51 +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
53243273a4
refined version ranges in OSGi manifests
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@852 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 17:29:48 +00:00
Scott Andrews
89af3cf91d
updating eclipse classpath settings
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@845 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 14:21:04 +00:00
Chris Beams
3e7fe100e2
RESOLVED - issue SPR-5596: Test @Autowired @Configuration class constructors
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@843 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 05:36:29 +00:00
Chris Beams
d96ebc4385
consolidated context.annotation.support -> context.annotation
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@842 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 04:57:13 +00:00
Chris Beams
8af119314a
don't assert that CGLIB must be present unless there is at least one @Configuration class found
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@841 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 03:10:41 +00:00
Chris Beams
6f767bb3da
fixing tests in .test package that were failing due to missing CGLIB dependency
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@840 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 02:10:41 +00:00
Juergen Hoeller
81d1315cd1
updated to JRuby 1.2 (remaining compatible with JRuby 1.1 and above)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@835 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-27 00:01:41 +00:00
Chris Beams
f1a5d20a6c
IN PROGRESS - issue SPR-5599: Hook @Configuration class processing into <context:component-scan/> and <context:annotation-config/> through AnnotationConfigUtils#registerAnnotationConfigProcessors
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@832 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 19:52:50 +00:00
Chris Beams
e39fc90fac
SPR-5615 - Improved error message: s/is no interface/is not an interface
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@829 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 13:56:14 +00:00
Juergen Hoeller
40f9643c51
fixed broken "setManagedInterfaces" interface assertion (SPR-5615)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@827 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-26 13:49:21 +00:00
Mark Pollack
f39cb005f6
SPR-5385, SPR-5301 - initial pass completed of POMs for maven central repository upload. N.B. Can not build spring with these POMs.
...
Cleanup remains to meet maven central metadata requirements
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@816 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 08:06:34 +00:00
Chris Beams
41a4353644
Re-adding ConfigurationPostProcessorTests after its brief removal in r814. @Ignore-ing the testCglibClassesAreLoadedJustInTimeForEnhancement() method as it turns out this was one of the culprits in the recent build breakage. The classloader hacking causes subtle downstream effects, breaking unrelated tests. The test method is still useful, but should only be run on a manual basis to ensure CGLIB is not prematurely classloaded, and should not be run as part of the automated build.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@815 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 06:01:17 +00:00
Chris Beams
4776108767
fixed two build-breaking issues:
...
+ reverted ClassMetadataReadingVisitor to revision 794
+ eliminated ConfigurationPostProcessorTests until further investigation determines why it causes downstream tests to fail (such as the seemingly unrelated ClassPathXmlApplicationContextTests)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@814 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-25 03:14:35 +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
4ef6b776db
RmiServiceExporter and RmiRegistryFactoryBean synchronize registry lookup/creation
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@810 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-24 00:05:21 +00:00
Juergen Hoeller
3c71a0b81e
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@803 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:39:25 +00:00
Juergen Hoeller
118cf8b4c2
added TaskScheduler interface and Trigger abstraction; added ConcurrentTaskScheduler and ThreadPoolTaskScheduler; added CommonJ TimerManagerTaskScheduler; added CronTrigger implementation for cron expression support
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@802 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:38:55 +00:00
Juergen Hoeller
68d67d83de
TimerTaskExecutor creates non-daemon Timer and uses bean name as default Timer name
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@801 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 14:35:16 +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
7e8c6e57cc
Tweaks to package-info.java files
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@791 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 07:36:44 +00:00
Chris Beams
5f9c23f04f
Consolidated Util and MutableAnnotationUtils classes into existing AsmUtils
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@790 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 07:01:01 +00:00
Chris Beams
255c03a1d7
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@789 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 06:23:01 +00:00
Chris Beams
34116c57f9
+ JavaDoc updates
...
+ added objectweb.asm back to .classpath to satisfy transitive need from groovy tests
+ package.html -> package-info.java
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@788 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 05:28:58 +00:00
Chris Beams
868ca2bb4a
+ Moving .config.java module -> .context
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@786 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-23 04:48:04 +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
1748a09613
Add support for @ScopedProxy for factory beans using the @FactoryBean annotation within a @Component
...
Add missing unit tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@771 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-13 18:14:40 +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
Chris Beams
1832156349
Javadoc polish & pruning dead code
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@747 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 05:49:12 +00:00
Chris Beams
bb86f785be
+ Added 'proxyMode' attribute to @Scope annotation
...
+ Eliminated @ScopedProxy in favor of @Scope(proxyMode=NO|INTERFACES|TARGET_CLASS)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@746 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 04:54:31 +00:00
Chris Beams
873723313c
@Scope is now allowed on methods (for use in conjunction with @Bean)
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@745 50f2f4bb-b051-0410-bef5-90022cba6387
2009-03-07 03:37:10 +00:00
Juergen Hoeller
65f0eb6db2
updated compile and test dependencies
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@694 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 13:42:45 +00:00
Juergen Hoeller
d6438bf151
added Commons DBCP as test dependency
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@690 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-25 10:08:50 +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
Juergen Hoeller
5b1320432b
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@675 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-24 00:27:36 +00:00
Juergen Hoeller
18e805eac2
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@652 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-18 23:51:03 +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
1d82467565
SimpleAliasRegistry's "getAliases" method returns transitive aliases now; @Qualifier value matching takes chained aliases of target beans into account as well
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@648 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-17 18:18:33 +00:00
Juergen Hoeller
6ad7cabd2c
SmartApplicationListener interface supports source type checking; SimpleApplicationEventMulticaster caches information about event/source matches
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@646 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-17 17:46:14 +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
c6b1150adc
default post-processors use their default component order now
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@642 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-16 01:43:24 +00:00
Juergen Hoeller
0e27639083
refined OSGi version constraints for "javax.annotation" and "junit.framework"
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@621 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 23:36: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
0f0f2d37ba
made SpringBeanAutowiringInterceptor callback signature compatible with WebSphere
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@617 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 18:05:37 +00:00
Juergen Hoeller
45632781a2
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@616 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-12 17:41:46 +00:00
Juergen Hoeller
3e9e9e2267
added @Async annotation, AsyncExecutionInterceptor, AsyncAnnotationAdvisor
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@613 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-10 11:24:05 +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
47f3b9881b
ApplicationListener beans get obtained on demand, supporting non-singletons as well; ApplicationListeners will be called in the order according to the Ordered contract; generified ApplicationListener interface
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@607 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-09 18:26:30 +00:00
Juergen Hoeller
a3a4171c41
added "Future submit(Runnable)" and "Future submit(Callable)" to AsyncTaskExecutor; SchedulingTaskExecutor interface extends AsyncTaskExecutor; added ExecutorServiceAdapter class as a standard wrapper for a Spring TaskExecutor; added ThreadPoolExecutorFactoryBean; reduced backport-concurrent support to TaskExecutor adapters
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@599 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 22:45:35 +00:00
Juergen Hoeller
4050980b80
all "taskExecutor" bean properties now accept any "java.util.concurrent.Executor"
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@598 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:18:10 +00:00
Juergen Hoeller
d4888bfebe
Java 5 code style
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@596 50f2f4bb-b051-0410-bef5-90022cba6387
2009-02-05 21:04:13 +00:00
Juergen Hoeller
cb13c1c042
polishing
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@586 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-25 23:29:45 +00:00
Arjen Poutsma
b62e6238d1
Fixed usage of wrong TestBean package.
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@577 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-23 11:57:58 +00:00
Arjen Poutsma
a768f11634
SPR-2581: Provide out of the box implementation of the thread scope
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@574 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-22 15:41:29 +00:00
Arjen Poutsma
df70cd2c62
javadoc
...
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@573 50f2f4bb-b051-0410-bef5-90022cba6387
2009-01-22 12:02:30 +00:00