Commit Graph

1026 Commits

Author SHA1 Message Date
Juergen Hoeller 56f7b00dff polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3594 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:04:19 +00:00
Juergen Hoeller d2a5c927ce lazy creation of MessageFormats
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3593 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-15 23:04:02 +00:00
David Syer 122d313f9c SPR-7463: switched to instance variable
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3576 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-14 11:09:42 +00:00
Juergen Hoeller 4e33c7d442 Spring's constructor resolution consistently finds non-public multi-arg constructors (SPR-7453)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3565 50f2f4bb-b051-0410-bef5-90022cba6387
2010-08-11 19:24:30 +00:00
Juergen Hoeller 74ac938aac AutodetectCapableMBeanInfoAssembler signature consistently refers to Class<?> (SPR-7405)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3514 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-29 20:29:32 +00:00
Juergen Hoeller 250c3546b9 TaskExecutorFactoryBean (as used by task:executor) exposes full ThreadPoolTaskExecutor type (SPR-7403)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3511 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-28 17:39:03 +00:00
Juergen Hoeller 085449cf1e fixed @PathVariable regression in combination with ConversionService usage on DataBinder
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3504 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-26 20:14:57 +00:00
Juergen Hoeller 63bfe5e8e4 Spring field error arguments include actually declared annotation attributes in alphabetical order (SPR-6730)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3496 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-21 14:24:10 +00:00
Chris Beams 3f51f1dc14 Fix dependency issues in .context pom and .classpath
Hibernate validator had been updated to 4.1.0 in the ivy metadata, but
not yet reflected in the .classpath file.  The pom.xml had been updated
but there was a typo - scope read 'coompile', instead of 'compile'.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3495 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-21 12:04:06 +00:00
Juergen Hoeller 038ee9ff86 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3492 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-20 20:02:43 +00:00
Juergen Hoeller 424e10e173 JSR-303 Pattern message resolvable through Spring MessageSource (despite special characters; SPR-7329)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3491 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-20 20:02:23 +00:00
David Syer 5252d9c1ec Fix hibernate-validatin version
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3490 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-20 15:41:41 +00:00
David Syer b1c2d1ea2c SPR-7384: switch to using 1-12 for month numbers
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3489 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-20 15:25:00 +00:00
Juergen Hoeller 3d06c7229c BeanWrapper preserves annotation information for individual array/list/map elements (SPR-7348)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3482 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 20:56:22 +00:00
Juergen Hoeller 6b55137d3e JSP EvalTag resolves "@myBeanName" references in expressions against the WebApplicationContext (SPR-7312); for consistency, expressions in an ApplicationContext support the same syntax against the local BeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3479 50f2f4bb-b051-0410-bef5-90022cba6387
2010-07-12 19:36:26 +00:00
Chris Beams 49ae2e809d attempted to repro SPR-7318 to no avail
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3467 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-28 22:57:26 +00:00
Juergen Hoeller 0d6536ca53 added "validationMessageSource" property to LocalValidatorFactoryBean, for Spring-based messages (SPR-7307)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3466 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-28 22:08:31 +00:00
Juergen Hoeller 9fb510c139 turned formatter implementations non-final
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3451 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-23 19:34:29 +00:00
Juergen Hoeller 391ecafe55 fixed order
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3435 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 19:11:51 +00:00
Juergen Hoeller 9e57fc0ff9 added test for invalid binding to ClassLoader
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3434 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-20 19:11:36 +00:00
Arjen Poutsma 7f54fe732f Upgrading version to 3.0.4
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3428 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-15 14:18:29 +00:00
Juergen Hoeller d693442474 smarter guessing of the element type (SPR-7283)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3420 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-14 23:26:44 +00:00
Juergen Hoeller 979517d182 added EmbeddedValueResolver support to FormattingConversionServiceFactoryBean (SPR-7087)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3404 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 20:40:54 +00:00
Juergen Hoeller 52c6a7a6a4 revised DefaultLifecycleProcessor's handling of circular dependencies to avoid stack overflow (SPR-7266)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3400 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-08 10:08:33 +00:00
Juergen Hoeller e4a8a1c38d introduced EmbeddedValueResolverAware callback interface for convenient placeholder resolution
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3395 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 22:41:21 +00:00
Juergen Hoeller 8b16c8edfb added assertions for correct postProcess invocation order
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3394 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 22:36:19 +00:00
Juergen Hoeller ce260c505b turn NotReadablePropertyException into JSR-303 oriented IllegalStateException
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3393 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 22:30:11 +00:00
Juergen Hoeller f8954b4b45 added "expose-proxy" attribute to aop namespace (enforcing AopContext proxy exposure with CGLIB; SPR-7261)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3390 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 21:28:05 +00:00
Juergen Hoeller 3fcb1f3de2 revised TaskScheduler javadoc (SPR-7253)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3387 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-07 20:52:12 +00:00
Chris Beams db1e3ffd79 Added a test to prove that @Qualifier works in conjunction with @Bean methods after some confusion by users that it may not.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3378 50f2f4bb-b051-0410-bef5-90022cba6387
2010-06-02 12:58:59 +00:00
Juergen Hoeller f0e971c755 CronTrigger defensively protects itself against accidental re-fires if a task runs too early (SPR-7004)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3373 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-26 20:35:42 +00:00
David Syer a818ab8c60 SPR-7239: fix CronTrigger
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3371 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-26 17:41:54 +00:00
Juergen Hoeller a7e259435e ConversionService is able to apply Converters to interface-based array elements (SPR-7150); a context ConversionService is able to override an ApplicationContext's resource editors (SPR-7079)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3369 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-26 13:58:37 +00:00
Juergen Hoeller 5a41813180 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3367 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-25 14:23:08 +00:00
Juergen Hoeller 4aec5dd5ae ScheduledTaskRegistrar (as used for @Scheduled processing) properly shuts down its default executor (SPR-6901)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3366 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-25 14:22:49 +00:00
Juergen Hoeller e22cb45715 check for "org.joda.time.LocalDate" in order to catch JodaTime 1.3 and higher only (SPR-7222)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3355 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-20 08:30:32 +00:00
Juergen Hoeller 927346144c refined LifecycleProcessor exception handling, properly wrapping a start exception from a bean (SPR-7106)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3353 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-19 19:44:57 +00:00
Juergen Hoeller 27c7dc858b consistent postProcessBeanFactory treatment for BeanDefinitionRegistryPostProcessors (SPR-7167)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3346 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-17 22:40:15 +00:00
Juergen Hoeller 798f34810e revised BeanWrapper's exception wrapping to consistently handle ConversionExceptions (SPR-7177)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3345 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-17 21:59:02 +00:00
Chris Beams 50241ca741 BeanDefinitionRegistryPostProcessors' postProcessBeanDefinitionRegistry() method now gets called before postProcessBeanFactory() (SPR-7167)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3344 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-17 16:21:36 +00:00
Juergen Hoeller a4fa1f694f filter for duplicate listeners in "getApplicationListeners()" as well (SPR-7204)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3341 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-16 19:08:12 +00:00
Juergen Hoeller 3c541242f2 AsyncAnnotationBeanPostProcessor consistently adds @Async processing as first Advisor in the chain (SPR-7147)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3329 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-13 22:13:29 +00:00
Juergen Hoeller 8ecac57161 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3327 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-13 14:44:34 +00:00
Juergen Hoeller 5552c241c2 exclude abstract lazy-init beans from MBean exposure as well (SPR-6784)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3326 50f2f4bb-b051-0410-bef5-90022cba6387
2010-05-13 14:38:58 +00:00
Costin Leau deb8a9f9b8 SPR-7137
+ fixed incorrect message when unregistering services from passed in registries

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3305 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-29 14:42:24 +00:00
Juergen Hoeller 64228e966c introspect decorated definition for getType calls as well (SPR-7006)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3285 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-21 20:06:38 +00:00
Keith Donald b4a9591e40 preserving desc context for collection/map elements
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3263 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-18 14:09:41 +00:00
Keith Donald ef2409017c polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3260 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 06:47:08 +00:00
Keith Donald 2e128337be restored resource conversion test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3259 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 06:31:34 +00:00
Keith Donald 90fb3dcfe3 fixed failing test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3258 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 06:28:06 +00:00
Keith Donald eca3e5d0b8 improved conversion system logging, collection converter simplification/polish, several optimizations, annotation-driven formatting caching
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3255 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-17 04:43:28 +00:00
David Syer faa0f29f0f Update version in POMs to 3.0.3
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3246 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-15 10:26:14 +00:00
Juergen Hoeller 760d2a9e0a enable JPATraversableResolver to introspect test domain classes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3219 50f2f4bb-b051-0410-bef5-90022cba6387
2010-04-01 11:45:01 +00:00
Juergen Hoeller 193c2c4fb7 fixed decorated BeanDefinition condition for early type checking in AbstractBeanFactory (SPR-7006)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3206 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-31 15:21:48 +00:00
Juergen Hoeller ab15578566 AbstractInterceptorDrivenBeanDefinitionDecorator exposes decorated BeanDefinition for early type checking in AbstractBeanFactory (SPR-7006)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3192 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-30 15:40:47 +00:00
Juergen Hoeller 8c437a8214 fixed DataBinder's conversion error handling for direct field access with ConversionService (SPR-6953)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3163 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 17:40:45 +00:00
Juergen Hoeller 639f4581e8 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3155 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 10:35:50 +00:00
Juergen Hoeller e62e56a1a4 BeanPostProcessors are allowed to return a null bean value in the middle of the chain (SPR-6926)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3154 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-24 10:34:21 +00:00
Mark Fisher 2afaf4870f updated commons-pool version in .classpath to match ivy config
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3148 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 21:44:52 +00:00
Mark Pollack 845001054a Change version of Hibernate Validator to 4.0.2 in pom.xml and eclipse .classpath to agree with version in ivy.xml
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3147 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-23 16:44:46 +00:00
Juergen Hoeller d609376c10 AopUtils.getTargetClass(...) never returns null (SPR-7011)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3136 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 18:31:13 +00:00
Juergen Hoeller 1d8ce7d5cf fixed double fixedField call for getFieldType (SPR-7019)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3134 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-22 15:08:57 +00:00
Sam Brannen 677a3d2615 FooConfig, Foo, Bar, and BarFactory are now public static classes in order to avoid a bug with JDT/Spring IDE where the classes cannot be found in the XML application context.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3117 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-19 12:39:34 +00:00
Juergen Hoeller 7b00d3d07d made CronSequenceGenerator public (SPR-6920)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3097 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-12 19:34:45 +00:00
David Syer 0c5a876ff2 RESOLVED - issue SPR-6955, SPR-6901 added DisposableBean to TaskExecutorFactoryBean
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3062 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-08 12:13:30 +00:00
Juergen Hoeller 50c8258e26 fixed TypeDescriptor toString for MethodParameter annotations (SPR-6924)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3051 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 13:50:43 +00:00
Juergen Hoeller 2dfb983d92 "conversionService" bean gets ignored if not of type ConversionService (SPR-6916)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3050 50f2f4bb-b051-0410-bef5-90022cba6387
2010-03-04 11:27:09 +00:00
Costin Leau 9a5e75861d + improve template for spring-context so that the import-package is updated automatically
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3037 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-25 15:46:54 +00:00
Chris Beams 4a410d0466 Removed hard-coded local path from .core/.classpath; removed duplicate asm entry in .context/.classpath
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3024 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-22 01:55:38 +00:00
David Syer 25ef81476d Update Central POMs to 3.0.2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3022 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-21 15:32:18 +00:00
Juergen Hoeller 7a0d88b799 upgraded to Hibernate Validator 4.0.2 and Jackson 1.4.2
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3017 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-19 13:58:19 +00:00
Costin Leau 4be6044db9 + make use or property placeholders inside template.mf
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@3014 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-19 09:43:22 +00:00
Juergen Hoeller f96ccfa39e BeanDefinitionReader and ClassPath/FileSystemXmlApplicationContext use varargs where possible (SPR-6849)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2988 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-16 11:59:29 +00:00
Juergen Hoeller 8bd58f9e19 context-specific "conversionService" bean may refer to annotation-configured converter beans (SPR-6800)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2975 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 00:42:39 +00:00
Juergen Hoeller 0aea1fe59a added PropertyPlaceholderConfigurer test
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2974 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 00:22:06 +00:00
Juergen Hoeller ea753974d9 fixed rendering of select options for multi-list (SPR-6799)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2972 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-15 00:04:30 +00:00
Juergen Hoeller 6298f7bcdc relaxed test conditions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2961 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-12 00:02:32 +00:00
Juergen Hoeller 2f48d5f2ba relaxed test conditions
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2959 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 23:15:15 +00:00
Juergen Hoeller 588e320284 canConvert checks Collection/Map element types as well (SPR-6564)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2954 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 12:23:57 +00:00
Juergen Hoeller 09d3d8b8fe made PersistenceAnnotationBeanPostProcessor's JNDI API references optional - for compatibility with Google App Engine (SPR-6679)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2953 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-11 11:36:33 +00:00
Juergen Hoeller 0760179df8 avoid double closing in case of shutdown hook (SPR-6793)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2941 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-10 13:49:51 +00:00
Juergen Hoeller 439b6f072c setAutoGrowNestedPaths throws an IllegalStateException if being called too late (SPR-6718)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2939 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-09 15:54:48 +00:00
Costin Leau b443d3ad7a SPR-5246
+ clarify order of annotation and XML injection

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2934 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-09 11:17:07 +00:00
Chris Beams f86e3bcfd2 Updated Eclipse .classpath to aspectj 1.6.8
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2920 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 13:45:14 +00:00
Juergen Hoeller 488060fbd1 ignore IllegalStateException when removing shutdown hook (SPR-6793)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2919 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 12:30:39 +00:00
Costin Leau 5e677feda0 + upgrade to AspectJ 1.6.8
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2918 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:46:21 +00:00
Costin Leau ece44a3ff7 SPR-6794
+ fix test

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2917 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 11:33:58 +00:00
Costin Leau 48df1fd669 SPR-6794
+ added setter for encoding (in case the default UTF-8 is not enough)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2915 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 10:13:04 +00:00
Costin Leau 0ade90451c + add explicit dependency on commons-pool to prevent version 1.3 from being used (since it contains a memory leak)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2914 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 10:05:54 +00:00
Costin Leau 14d2235034 SPR-6794
+ used UTF-8 as the implicit encoding for reading scripts

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2913 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-04 10:04:48 +00:00
Juergen Hoeller 7473330885 ApplicationListeners will reliably get invoked through their proxy (if any)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2911 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 23:52:56 +00:00
Juergen Hoeller 0ce0de3eab refined addApplicationListener to work any time during the refresh phase
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2910 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 23:09:42 +00:00
Juergen Hoeller 6325a81b7d ApplicationListeners will get detected lazily as well (e.g. on @Bean's concrete result); inner bean ApplicationListeners will be invoked through their proxy (if any)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2909 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-03 22:54:59 +00:00
Juergen Hoeller a983d181aa fixed MBeanExporter regression: do not try to expose abstract beans (SPR-6784)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2896 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 17:56:03 +00:00
Juergen Hoeller 153ff751ab component-scan's scoped-proxy attribute applies to scope-annotated singleton beans as well (SPR-6683)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2894 50f2f4bb-b051-0410-bef5-90022cba6387
2010-02-01 16:30:21 +00:00
Juergen Hoeller d4ef342ff6 call processConfigBeanDefinitions lazily if postProcessBeanDefinitionRegistry hasn't been called
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2886 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 16:10:11 +00:00
Juergen Hoeller 044a329629 refined DefaultLifecycleProcessor's start/stop logging and stop exception handling (SPR-6769, SPR-6770)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2883 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 15:52:13 +00:00
Juergen Hoeller 907cee1539 JndiObjectFactoryBean explicitly only chooses public interfaces as default proxy interfaces (SPR-5869)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2882 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:59:27 +00:00
Juergen Hoeller 439ab024e2 fixed cron example (SPR-6772)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2881 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:17:44 +00:00
Juergen Hoeller 6a41d6b2a0 BeanNameAutoProxyCreator detects alias matches for specified bean names as well (SPR-6774)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2880 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:12:48 +00:00
Juergen Hoeller a7b4dd195f introduced BeanDefinitionRegistryPostProcessor extension to BeanFactoryPostProcessor; @Configuration classes support definition of BeanFactoryPostProcessor beans as well (SPR-6455, SPR-6611)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2879 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-31 14:05:28 +00:00
Chris Beams 04bed0c1d7 RESOLVED - issue SPR-6779: imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements
refactoring, polishing.


git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2877 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-29 23:31:53 +00:00
Chris Beams 7c0a31fb36 IN PROGRESS - issue SPR-6779: imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements
All tests in ImportedConfigurationClassEnhancementTests now pass.  The fix was simple - imported @Configuration class bean definitions were not getting marked with the attribute that indicates that they are indeed @Configuration class bean definitions.  To make this happen, ConfigurationClassPostProcessor's protected checkConfigurationClassCandidate(beanDef) method is being called from within ConfigurationClassBeanDefinitionReader when imported @Configuration classes are being processed.  This is quick and dirty, and the subsequent check-in will refactor the solution appropriately.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2876 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-29 20:55:03 +00:00
Chris Beams b157c5dbad Unit test cornering bug SPR-6779, 'imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2875 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-29 19:48:25 +00:00
Juergen Hoeller b33728c991 added test for expression re-evaluation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2851 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 16:03:17 +00:00
Juergen Hoeller 61c1b4fc9e accept Set<?> instead of Set<Object> (SPR-6742)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2850 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-22 10:03:13 +00:00
Juergen Hoeller bdca327c35 fixed getPropertyTypeDescriptor to work for nested indexed property as well (SPR-6710)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2842 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-20 15:10:22 +00:00
Juergen Hoeller b35b9fdc5c fixed BeanPostProcessor invocation for null bean (SPR-6700)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2832 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-18 18:51:28 +00:00
Chris Beams 58e1f08112 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2828 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-18 15:45:10 +00:00
Chris Beams 8be158bd0a Resolved SPR-6602, relating to FactoryBean behavior in @Configuration classes. See issue and code comments for full details.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2824 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-18 08:54:45 +00:00
David Syer e6d2f9428c SPR-6678: fix poms for 3.0.1
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2809 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-13 11:07:08 +00:00
Juergen Hoeller 951c70682b MBeanClientInterceptor understands CompositeData/TabularData arrays (SPR-6548)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2805 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-12 15:10:07 +00:00
Juergen Hoeller 5dcec02f6d mark spring-aop as required for spring-context (SPR-6578)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2802 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-12 12:49:16 +00:00
Mark Fisher 2429a08243 SPR-6670 @Scheduled now supports property placeholders for cron expressions.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2799 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-11 20:20:33 +00:00
Mark Fisher 50c9dfe649 SPR-6669 @Scheduled may now be used as a meta-annotation
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2798 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-11 18:36:48 +00:00
David Syer efb1a30329 RESOLVED - issue SPR-6666: CronTrigger/CronSequenceGenerator fails to handle daylight saving timezone changes
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2797 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-11 16:05:12 +00:00
Juergen Hoeller ff228e3977 fixed @Scheduled processing to kick in once only even in an ApplicationContext hierarchy (SPR-6656)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2794 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-08 16:00:07 +00:00
Juergen Hoeller 8225c29b39 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2792 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-07 23:29:13 +00:00
Juergen Hoeller 750529de99 replaced references to "spring-agent.jar" with "org.springframework.instrument.jar" (SPR-6597)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2790 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-07 13:32:42 +00:00
Juergen Hoeller d6829ab28d ApplicationListeners will only be executed once per event (even for scripted objects; SPR-6589)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2788 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-07 12:58:18 +00:00
Juergen Hoeller 97928d1186 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2780 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-06 22:24:30 +00:00
Juergen Hoeller a5c05d7f9f allow for overriding specific DefaultLifecycleProcessor hooks (SPR-6617)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2777 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-06 19:48:48 +00:00
Mark Fisher 17c01fae30 SPR-6644 The 'id' value from an 'executor' element in the task namespace is now used as the thread name prefix for the resulting ThreadPoolTaskExecutor instance.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2772 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 22:27:47 +00:00
Juergen Hoeller 195667d8eb fixed retriever cache putting
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2759 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 14:46:15 +00:00
Juergen Hoeller eadbf7a057 reset retriever cache when adding/removing listeners (SPR-6624)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2751 50f2f4bb-b051-0410-bef5-90022cba6387
2010-01-05 13:09:03 +00:00
Chris Beams 2887b74448 Resolved SPR-6618. Restrictions were too tight on overloaded bean methods and were preventing it altogether. Overloading is now allowed, as long as there is no ambiguity at runtime which bean method should be invoked.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2745 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-30 19:42:12 +00:00
Juergen Hoeller 5edc17473d generic ApplicationListener event type gets detected through proxy as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2723 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-28 18:57:15 +00:00
Juergen Hoeller a9a3fe28d0 fixed getBeansWithAnnotation to ignore beans with non-determinable type (SPR-6579)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2718 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-23 19:11:19 +00:00
Juergen Hoeller 53a71fe962 removed hard ScopedProxyUtils dependency in ConfigurationClassEnhancer
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2686 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 20:45:45 +00:00
Keith Donald b34a2ab777 TypeDescriptor.valueOf usage in favor of constants; TypedValue usage simplification
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2681 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 19:41:52 +00:00
Juergen Hoeller b1dba5f5aa BeanValidationPostProcessor runs in before-initialization phase by default (SPR-6565)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2678 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 18:04:44 +00:00
Juergen Hoeller 5add86419d catch ConversionException and ConvertedNotFoundException in BeanWrapper's convertIfNecessary as well, in order to support constructor resolution (SPR-6563)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2672 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 12:53:36 +00:00
Juergen Hoeller 246bb34e08 introspect element type in case of incoming Collection/Map in order to not accidentally say canConvert=true (SPR-6564)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2671 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 12:36:22 +00:00
Juergen Hoeller 95d1eccd65 refined PropertyEditor exposure for the ConversionService case
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2670 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 11:34:19 +00:00
Juergen Hoeller 18336e3732 introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2668 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 10:21:16 +00:00
Juergen Hoeller d39acb224e only try to convert to String if canConvert returns true
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2667 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 09:59:11 +00:00
Chris Beams 45ec0d2086 JavaDoc on AnnotationConfigApplicationContext#scan(String...)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2666 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-15 07:24:12 +00:00
Juergen Hoeller f22aebd590 added special handling of String array values for required fields, e.g. for WebRequestDataBinder (SPR-6552)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2660 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:42:17 +00:00
Juergen Hoeller 18ec90aff9 revised default converters; renamed ConverterRegistry's addGenericConverter to addConverter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2658 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 21:14:26 +00:00
Costin Leau e77354546e SPR-5764
+ improved JBoss LTW by using the proper class loader for loading reflection types

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2657 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 18:56:16 +00:00
Keith Donald 2dbe05aa24 long style formatting tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2650 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 02:02:09 +00:00
Juergen Hoeller 9efda7f94b @ManagedBean coverage in javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2648 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 00:58:04 +00:00
Juergen Hoeller f7b6f34ddc support @ManagedBean for name retrieval in AnnotationBeanNameGenerator as well; support @ManagedBean and @Named for direct use only
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2647 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-14 00:53:56 +00:00
Juergen Hoeller 9fe730018b updated javadoc (SPR-6546)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2645 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:45:16 +00:00
Juergen Hoeller 197c2d7ca2 MBeanExporter detects FactoryBean-exported resources independent from declaration order
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2643 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:28:07 +00:00
Juergen Hoeller d4fe543bf5 removed getBeansWithAnnotation(Class,boolean,boolean) method from ListableBeanFactory; reimplemented getBeansWithAnnotation(Class) to avoid use of getBeanNamesForType(Object.class)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2642 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 23:24:43 +00:00
Juergen Hoeller a03c3e30a1 fixed non-Lifecycle-FactoryBean with exposed Lifecycle object case (SPR-6545)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2639 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 15:47:52 +00:00
Juergen Hoeller eb07dd4636 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2638 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 15:30:52 +00:00
Juergen Hoeller 057acab1ab SmartLifecycle retrieval fix, properly taking FactoryBeans into account (SPR-6545)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2637 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 15:28:34 +00:00
Juergen Hoeller 38ef760372 detect Lifecycle-implementing FactoryBeans as well (SPR-6545)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2636 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 14:08:08 +00:00
Juergen Hoeller 70cfa58b28 fixed JSR-303 Validator delegation code (SPR-6557)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2634 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-13 12:31:34 +00:00
Juergen Hoeller ee442d7808 component scanning autodetects the new EE 6 "javax.annotation.ManagedBean" stereotype
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2621 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 20:40:02 +00:00
Juergen Hoeller 4625700fbc autodetect GlassFish V3 as well (SPR-6152)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2620 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-10 18:42:59 +00:00
Juergen Hoeller fa07470e40 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2613 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 17:54:02 +00:00
Juergen Hoeller f1151210f1 added "converters" property to FormattingConversionServiceFactoryBean as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2612 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 17:53:25 +00:00
Juergen Hoeller 7a8d8b7c98 removed unnecessary logging
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2606 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 14:59:44 +00:00
Costin Leau f1190d4ee9 SPR-6492
+ upgrade to JRuby 1.4.0

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2605 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-09 10:57:54 +00:00
Chris Beams 5900cd6daa Renamed tests for AnnotationConfig[Web]ApplicationContext; added tests for scan() and register() methods.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2604 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 15:29:27 +00:00
Juergen Hoeller 1c5590cbab SmartLifecycle beans will get auto-started on demand even if marked as lazy-init (SPR-6515)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2603 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 13:27:15 +00:00
Juergen Hoeller aac72ddbed SmartLifecycle beans will get auto-started on demand even if marked as lazy-init (SPR-6515)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2602 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 12:17:01 +00:00
Juergen Hoeller 743c1894ec use varargs for scan method as well
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2601 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 10:17:27 +00:00
Costin Leau d9d46d03b2 SPR-6492
EBR-551
+ seems I spoke too soon - JRuby is still not in the EBR

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2600 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 09:19:32 +00:00
Costin Leau affe698425 SPR-6492
+ upgrade to JRuby 1.4.0

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2599 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-08 08:57:48 +00:00
Juergen Hoeller 08828377c3 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2597 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 20:33:33 +00:00
Juergen Hoeller 3f78a1b561 fail when @DateTimeFormat is being used without JodaTime on the classpath (SPR-6508)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2596 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 20:33:03 +00:00
Arjen Poutsma 7a6fb39dd4 SPR-6529 - DateTimeFormatAnnotationFormatterFactory calls String.isEmpty(), which exists only in JDK1.6+
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2592 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-07 14:41:30 +00:00
David Syer 2bad74c238 SPR-5327: tweak the ivy.xml so that commons-logging is a separate configuration. It already comes out as optional in the generated poms (including core), which isn't great, but I can't see what is causing that
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2579 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 18:25:31 +00:00
David Syer 1380a7e322 SPR-5327: tidy up aopalliance dependency
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2572 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 11:33:56 +00:00
Juergen Hoeller 54f6989469 full support for formatters on array/collection elements (SPR-6504)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2569 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-04 00:34:40 +00:00
Juergen Hoeller 9970eda08a lenient property name casing, beyond standard JavaBeans conventions (SPR-6491)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2568 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 23:34:37 +00:00
Juergen Hoeller 3f4e30193b do not register default formatters for Date and Calendar (requiring explicit use of @DateTimeFormat there)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2567 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 23:26:08 +00:00
Juergen Hoeller e0915ad9c6 do not register a default NumberFormatter (SPR-6490)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2566 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 22:41:44 +00:00
Juergen Hoeller e7b5fc2631 added since tag
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2565 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 16:30:51 +00:00
Juergen Hoeller 5560f45f35 fixed dependencies
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2562 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-03 13:15:33 +00:00
Juergen Hoeller f5cc78e6a0 JSR-303 SpringValidatorAdapter uses field name as first argument (analogous to bind errors; SPR-6407)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2555 50f2f4bb-b051-0410-bef5-90022cba6387
2009-12-01 02:25:48 +00:00
David Syer 9b7928b808 SPR-5327: tidy up Maven dependencies (keeping commons-logging)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2548 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:56:25 +00:00
Juergen Hoeller 65df1c6f4c constructor arguments can be overridden by name in child bean definitions (SPR-6463)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2546 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-30 12:17:28 +00:00
Keith Donald 61ad147135 javadoc polishing--named Parser String arg name to 'text'
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2540 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-28 21:16:01 +00:00
Mark Fisher a4ade65348 Added tests for the DefaultLifecycleProcessor and a custom "lifecycleProcessor" bean.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2537 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 20:38:43 +00:00
Mark Fisher 6ab737cc87 SPR-5507 When determining start/stop order, the DefaultLifecycleProcessor checks for the new Phased interface rather than SmartLifecycle now.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2534 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 17:30:35 +00:00
Mark Fisher afa4807f58 SPR-5507 Factored out the Phased interface.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2532 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 15:59:12 +00:00
Keith Donald e0cd89a139 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2528 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 04:31:09 +00:00
Juergen Hoeller 00e6745d26 fixed tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2527 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 02:15:48 +00:00
Juergen Hoeller 5f212a34e6 FormatterRegistry extends ConverterRegistry now; FormattingConversionService extends GenericConversionService
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2526 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:58:31 +00:00
Juergen Hoeller c02717aec6 polishing
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2525 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:49:18 +00:00
Juergen Hoeller 6dd447bdbc clarified double role of id property
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2524 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:45:53 +00:00
Juergen Hoeller 4a60c50104 updated to Groovy 1.6.5
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2521 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-27 01:37:43 +00:00
David Syer 6deff08db2 RESOLVED - issue SPR-6444: TaskExecutor not initialized in task namespace
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2508 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 13:18:31 +00:00
Juergen Hoeller d0790eca4d added configurable "autoGrowNestedPaths" property to DataBinder (SPR-6430)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2505 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-25 00:17:29 +00:00
Juergen Hoeller 191bbd909b fixed LifecycleProcessor lookup in a Spring Dynamic Modules context (SPR-6356); moved ConversionService lookup to prepareBeanFactory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2502 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 23:46:44 +00:00
Mark Fisher 8e92336f2b SPR-5507 The 'shutdownOrder' property of SmartLifecycle has been renamed 'phase'. The order no longer applies to shutdown only; now startup order is determined by the phase value as well. Components start in ascending order and stop in descending order.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2501 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 16:07:23 +00:00
Costin Leau 26d4c0df55 + update pom
SPR-6333
SPR-6394

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2498 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 09:33:39 +00:00
David Syer d28fd0a46c Change groovy dependency to 1.6.3 to match ANT/ivy
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2497 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-24 09:24:03 +00:00
Keith Donald 71c88d39bd additional javadoc and tests
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2491 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 18:30:34 +00:00
Juergen Hoeller 6218b0a869 extended CGLIB version range (SPR-6400)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2486 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-21 00:30:50 +00:00
Mark Fisher 4fdef7cda1 SPR-6368 The parser for the 'executor' element in the task namespace now creates a FactoryBean so that the pool-size range can be configured after property placeholder resolution when necessary.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2485 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 22:21:45 +00:00
Costin Leau 04da2f250f SPR-6401
+ increase cglib range in OSGi manifest

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2479 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 20:23:21 +00:00
Costin Leau b37725c6ad SPR-6333
SPR-6393
+ fix invalid static field

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2478 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 20:04:13 +00:00
Mark Fisher 057d31b338 SPR-6354 DefaultLifecycleProcessor no longer waits for the shutdown of SmartLifecycle beans that are not actually running.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2477 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 18:09:14 +00:00
Costin Leau 8b085ec84a SPR-6394
SPR-6333
+ eliminated compile-time dependency on GlassFish custom API for the GlassFish LTW
+ added support for GlassFish 3

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2476 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 17:48:13 +00:00
Keith Donald 9d1daf3232 found hotspot; added ConverisonServiceFactoryBean
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2473 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 14:43:12 +00:00
David Syer f8fcb83af5 RESOLVED - issue SPR-6398: Document attributes in @Scheduled and friends
http://jira.springframework.org/browse/SPR-6398

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2469 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-20 12:36:02 +00:00
Costin Leau fcdee85d54 SPR-6333
SPR-6393
+ fixed the tests

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2465 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 23:01:36 +00:00
Costin Leau 51a29707be + fix filename problem
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2463 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:33:15 +00:00
Juergen Hoeller 39bf8dc02e added chaining-capable "add" method to MutablePropertyValues
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2462 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:30:35 +00:00
Keith Donald 2aa1f47933 improved toString method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2461 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:16:22 +00:00
Keith Donald 61495fb127 improved toString method
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2460 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 22:16:06 +00:00
Costin Leau 9ad4fbbb7e SPR-6333
SPR-6393
+ eliminated compile-time dependency on oc4j classes

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2459 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 20:28:16 +00:00
Keith Donald 12b6feacac moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2447 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-19 09:10:51 +00:00
Keith Donald 449889af84 SPR-6350
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2435 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-14 05:44:46 +00:00
Luke Taylor 9350f6ef70 Removed javadoc refs to JMX commons attribute source
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2430 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 15:40:17 +00:00
Juergen Hoeller de81b27a46 introduced dedicated Jsr330ScopeMetadataResolver
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2422 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 00:36:39 +00:00
Juergen Hoeller ac8543438b added dedicated onClose notification to differentiate between manual stop and close-driven stop
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2420 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-13 00:05:54 +00:00
Juergen Hoeller 5913d15e31 inner beans detected as ApplicationListeners as well (SPR-6049)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2410 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 17:47:34 +00:00
Juergen Hoeller 3c0a34f74a added setValidating to XmlBeanDefinitionReader itself as well (SPR-6336)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2406 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 16:35:29 +00:00
Mark Fisher f3e3ffb38e SPR-5507 javadoc
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2396 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 13:10:10 +00:00
David Syer f80b9a139c RESOLVED - issue SPR-6321: Regression: ResourceEditor in 3.0 does not ignore unresolvable placeholders, but it did in 2.5.6
Different initialization exception popped up in app context

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2395 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 11:20:51 +00:00
Chris Beams 87482bc394 Added Javadoc where necessary; polishing.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2388 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 07:29:52 +00:00
Keith Donald e9b484b20e fixed failing tests due to generic object to object converter fallback being over eager
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2383 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 06:57:51 +00:00
Keith Donald 4a8bac56d3 Deferring object mapper until Spring 3.1 when it will be used by other projects
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2379 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 03:53:59 +00:00
Juergen Hoeller d101a5e8f4 fixed validating to be true by default and to set namespaceAware accordingly
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2378 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:36:53 +00:00
Costin Leau 6bd9c4001a + commit actual jboss adapter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2377 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:31:50 +00:00
Costin Leau 542d793688 + add minor fix to the internal weblogic adapter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2375 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:29:08 +00:00
Costin Leau 6b75dbdbb2 SPR-5764
+ add dynamic classfiletransformer -> JBoss translator adaptor (since there isn't any in JBoss 5.0.x)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2374 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:28:42 +00:00
Juergen Hoeller a9a8706825 added setValidating method to AbstractXmlApplicationContext, analogous to GenericXmlApplicationContext
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2372 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:14:01 +00:00
Mark Fisher 5c1a7cc953 SPR-5507 Added support for shutdown order on SmartLifecycle. DefaultLifecycleProcessor now manages the shutdown in phases depending on that order (with a timeout value per group).
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2368 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 02:09:44 +00:00
Juergen Hoeller b1d48fe13f added GenericXmlApplicationContext with flexible configuration options for its XML support
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2367 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 01:59:15 +00:00
Juergen Hoeller c9d74e4eb4 MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2366 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 01:43:34 +00:00
Costin Leau e03687cc19 + internal improvement of WebLogic LTW
+ minor improvements to the LTW files (mainly trailing blank lines)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2365 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 01:28:32 +00:00
Costin Leau d377afe8ed SPR-5764
+ redone the JBossLTW (no dependency on the JBoss API)
- removed JBoss jars
- removed JBoss imports (Spring code doesn't rely on it)

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2364 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 01:25:39 +00:00
Juergen Hoeller ad0168d2f7 child bean definition's scope attribute can be inherited from parent bean definition now (SPR-3542)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2363 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-12 00:09:05 +00:00
Juergen Hoeller d37875b4e9 turned FormattingPropertyEditorAdapter into ConvertingPropertyEditorAdapter
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2354 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 21:19:20 +00:00
Sam Brannen bd428f98fd Deleting unused imports.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2353 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 21:14:25 +00:00
Sam Brannen a616e7031e Deleting unused imports.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2352 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 21:08:32 +00:00
Juergen Hoeller c1ff125fb8 AnnotationMetadata returns Class values by default (again), allowing for explicit retrieval of String class names where preferred (SPR-5827)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2345 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:11:41 +00:00
Keith Donald f46bbd14fe polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2344 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:04:21 +00:00
Keith Donald 79be476095 polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2343 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:02:57 +00:00
Keith Donald 78390ae84e polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2342 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 19:00:52 +00:00
Keith Donald 0e721e124a polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2341 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 18:57:52 +00:00
Keith Donald a3d019b656 annotation driven number formatting with default number formatting rules
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2340 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 18:53:28 +00:00
Keith Donald ad93204090 annotation driven number formatting with default number formatting rules
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2339 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 18:53:02 +00:00
Juergen Hoeller a9b1658089 added JBoss jars
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2338 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 18:19:47 +00:00
Arjen Poutsma e1d7fd856f SPR-6308 - Spring Expression Language creates systemProperties bean calling System.getProperties() which in enterprise shared containers is locked down
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2335 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 16:39:20 +00:00
Chris Beams 1452b2ffd1 SPR-6328: Rename @ImportXml -> @ImportResource and allow for usage of non-XML BeanDefinitionReader types
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2325 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-11 00:48:30 +00:00
Keith Donald f1c336404d polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2322 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 20:46:06 +00:00
Keith Donald 943ee480ea polish
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2319 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 20:42:33 +00:00
Keith Donald dd4c123427 date time format code review
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2318 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 20:34:59 +00:00
Mark Fisher d9f1daeafc SPR-5507 Added SmartLifecycle interface with 'isAutoStartup' method and added an 'onRefresh' method to the LifecycleProcessor.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2309 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 04:49:13 +00:00
Keith Donald a504e85dfc added test dep to ivy.xml causing build failure
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2308 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 04:32:48 +00:00
Mark Fisher 59a45337de SPR-5507 Factored out Lifecycle management to a LifecycleProcessor strategy with the default implementation as DefaultLifecycleProcessor. The 'lifecycleProcessor' bean may be defined to override the default.
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2307 50f2f4bb-b051-0410-bef5-90022cba6387
2009-11-10 04:00:42 +00:00