Commit Graph

197 Commits

Author SHA1 Message Date
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