Commit Graph

106 Commits

Author SHA1 Message Date
Keith Donald
a437fdfc7d binding result tracking 2009-06-09 15:21:34 +00:00
Keith Donald
9a5c4cab72 polish 2009-06-08 20:42:09 +00:00
Keith Donald
065102bca9 date subpackage 2009-06-08 04:22:10 +00:00
Keith Donald
65c90c56c0 Added AnnotatioFormatterFactory allowing Formatters to be created from property @Annotation values; polish 2009-06-07 21:22:37 +00:00
Keith Donald
534871e6f6 UI message system initial commit; support for adding UI messages of different severities INFO, WARNING, ERROR, FATAL 2009-06-06 19:13:27 +00:00
Mark Fisher
df6ba69bc5 The <task:annotation-driven/> element now registers the post-processor for @Scheduled in addition to the already existing @Async support. Both "scheduler" and "executor" attributes are available. 2009-06-06 02:11:39 +00:00
Mark Fisher
2c7463262c Initial commit of @Scheduled annotation and ScheduledAnnotationBeanPostProcessor. 2009-06-06 01:57:45 +00:00
Mark Fisher
6dd2ce940f fixed NPE on latch in test 2009-06-06 01:37:15 +00:00
Mark Fisher
044cc965c4 closing context at end of test methods 2009-06-06 01:25:10 +00:00
Mark Fisher
ec6cea54bc Added tests for AsyncAnnotationBeanPostProcessor. 2009-06-06 01:15:05 +00:00
Mark Fisher
6c98e444fe Added tests for ExecutorBeanDefinitionParser. 2009-06-06 01:07:18 +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
Keith Donald
0a0b10b2ff polish 2009-06-02 23:00:26 +00:00
Keith Donald
a696d78bd1 polish 2009-06-02 22:29:27 +00:00
Andy Clement
12923f196a new feature for binder - automatically create lists and entries in lists upon referencing nulls 2009-06-02 16:42:43 +00:00
Andy Clement
ac9e42fa29 BinderTests - two ignored tests reactivated. Binder - modified how annotation based formatters are registered/looked up 2009-06-02 00:24:43 +00:00
Keith Donald
6ea55e9bda more tests 2009-06-01 23:03:19 +00:00
Mark Fisher
e67aa6cbb2 Added tests for the 'scheduled-tasks' element parsing within the 'task' namespace. 2009-06-01 21:40:45 +00:00
Mark Fisher
b9a3065c0c Added tests for the 'scheduler' element parsing within the 'task' namespace. 2009-06-01 21:16:11 +00:00
Mark Fisher
b0d11e8c15 Added package declarations and comments to package-info.java files where they had been missing. 2009-06-01 18:47:52 +00:00
Keith Donald
16ad6a3617 initial data binder commit; dateformatter 2009-06-01 18:34:22 +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
Keith Donald
07f19f7441 format system initial commit 2009-05-26 16:18:42 +00:00
Sam Brannen
af56f6497c Updated regarding generics; fixed typos. 2009-05-25 09:04:05 +00:00
Juergen Hoeller
a3af9e7330 revised use of id and display name (id may be null; SPR-5761) 2009-05-20 00:12:19 +00:00
Jennifer Hickey
822ed03826 SPR-5256 2009-05-19 21:02:43 +00:00
Juergen Hoeller
14732c5dc2 @Import detects and accepts existing configuration class in any order of processing 2009-05-13 20:49:45 +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
4ccb352aac ReloadableResourceBundleMessageSource correctly calculates filenames for locales with variant but without country now (SPR-5716) 2009-05-07 09:24:34 +00:00
Juergen Hoeller
1b5a433f22 added ScheduledTaskRegistrar etc 2009-05-05 18:40:43 +00:00
Juergen Hoeller
636d1db36d avoid NPE for definitions without bean class specified 2009-05-05 18:33:20 +00:00
Juergen Hoeller
cea8f7f69e 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 2009-04-26 11:41:06 +00:00
Juergen Hoeller
b5d21108da @Configuration parsing fully relies on Spring's MetadataReader abstraction now 2009-04-24 11:16:46 +00:00
Juergen Hoeller
ea9d8925a2 next cut of JavaConfig metadata reading revision: using cached MetadataReaders 2009-04-22 10:46:24 +00:00
Chris Beams
4d509cebdb Temporarily ignoring GroovyScriptFactoryTests#testResourceScriptFromTag in order to allow more important fixes to roll out. 2009-04-21 18:14:08 +00:00
Chris Beams
7ba4c563a6 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.
2009-04-21 17:20:39 +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
859497b171 @Resource names may use ${...} placeholders (SPR-5656) 2009-04-09 09:14:06 +00:00
Chris Beams
d08d73f274 Renamed ConfigurationPostProcessorTests -> ConfigurationClassPostProcessorTests 2009-04-06 21:29:30 +00:00
Chris Beams
254bf7e403 Fixed SPR-5655 - dm Server issues with ConfigurationClassPostProcessor attempting to read .class files with ASM with incorrect class loader 2009-04-06 21:23:37 +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
Chris Beams
1b13d8fadf Added test using custom properties file with util:properties and dereferenced with @Value("#{...}") 2009-03-30 17:17:44 +00:00
Chris Beams
cebc85067a polishing @Configuration tests 2009-03-30 16:02:04 +00:00
Chris Beams
cc713ad524 RESOLVED - issue SPR-5600: Make naming of @Configuration class processing-related artifacts consistent 2009-03-30 15:26:21 +00:00
Chris Beams
68051ec72b Updated BeanMethodTests to reflect change from IllegalArgumentException -> IllegalStateException 2009-03-28 22:29:28 +00:00
Chris Beams
69a762e86a resolved:
+ Provide @Primary annotation (SPR-5590)
+ Provide @Lazy annotation (SPR-5591)
+ Test @Bean initMethod/destroyMethod functionality (SPR-5592)
+ Test @Bean dependsOn functionality (SPR-5593)
2009-03-28 22:21:50 +00:00
Chris Beams
aee7f1ce53 RESOLVED - issue SPR-5596: Test @Autowired @Configuration class constructors 2009-03-27 05:36:29 +00:00
Chris Beams
1697932c57 consolidated context.annotation.support -> context.annotation 2009-03-27 04:57:13 +00:00
Chris Beams
6698ed8420 IN PROGRESS - issue SPR-5599: Hook @Configuration class processing into <context:component-scan/> and <context:annotation-config/> through AnnotationConfigUtils#registerAnnotationConfigProcessors 2009-03-26 19:52:50 +00:00
Juergen Hoeller
40b06b5f19 fixed broken "setManagedInterfaces" interface assertion (SPR-5615) 2009-03-26 13:49:21 +00:00