Juergen Hoeller
5f9b2db90b
turn NotReadablePropertyException into JSR-303 oriented IllegalStateException
2010-06-07 22:30:11 +00:00
Juergen Hoeller
d684e49462
added "expose-proxy" attribute to aop namespace (enforcing AopContext proxy exposure with CGLIB; SPR-7261)
2010-06-07 21:28:05 +00:00
Juergen Hoeller
5b420e20c7
revised TaskScheduler javadoc (SPR-7253)
2010-06-07 20:52:12 +00:00
Chris Beams
0dc29cb2d3
Added a test to prove that @Qualifier works in conjunction with @Bean methods after some confusion by users that it may not.
2010-06-02 12:58:59 +00:00
Juergen Hoeller
dea5918d66
CronTrigger defensively protects itself against accidental re-fires if a task runs too early (SPR-7004)
2010-05-26 20:35:42 +00:00
David Syer
b4af04ba9d
SPR-7239: fix CronTrigger
2010-05-26 17:41:54 +00:00
Juergen Hoeller
1532119787
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)
2010-05-26 13:58:37 +00:00
Juergen Hoeller
b90fa49ebc
polishing
2010-05-25 14:23:08 +00:00
Juergen Hoeller
bca067abb2
ScheduledTaskRegistrar (as used for @Scheduled processing) properly shuts down its default executor (SPR-6901)
2010-05-25 14:22:49 +00:00
Juergen Hoeller
6fe5871e91
check for "org.joda.time.LocalDate" in order to catch JodaTime 1.3 and higher only (SPR-7222)
2010-05-20 08:30:32 +00:00
Juergen Hoeller
469e30b507
refined LifecycleProcessor exception handling, properly wrapping a start exception from a bean (SPR-7106)
2010-05-19 19:44:57 +00:00
Juergen Hoeller
2c2df7f555
consistent postProcessBeanFactory treatment for BeanDefinitionRegistryPostProcessors (SPR-7167)
2010-05-17 22:40:15 +00:00
Juergen Hoeller
2ad2022058
revised BeanWrapper's exception wrapping to consistently handle ConversionExceptions (SPR-7177)
2010-05-17 21:59:02 +00:00
Chris Beams
57a503b274
BeanDefinitionRegistryPostProcessors' postProcessBeanDefinitionRegistry() method now gets called before postProcessBeanFactory() (SPR-7167)
2010-05-17 16:21:36 +00:00
Juergen Hoeller
738d84f75c
filter for duplicate listeners in "getApplicationListeners()" as well (SPR-7204)
2010-05-16 19:08:12 +00:00
Juergen Hoeller
68055ba4c9
AsyncAnnotationBeanPostProcessor consistently adds @Async processing as first Advisor in the chain (SPR-7147)
2010-05-13 22:13:29 +00:00
Juergen Hoeller
59d2d35f4a
polishing
2010-05-13 14:44:34 +00:00
Juergen Hoeller
103c1aa82f
exclude abstract lazy-init beans from MBean exposure as well (SPR-6784)
2010-05-13 14:38:58 +00:00
Costin Leau
159f98728e
SPR-7137
...
+ fixed incorrect message when unregistering services from passed in registries
2010-04-29 14:42:24 +00:00
Juergen Hoeller
4cab4a7545
introspect decorated definition for getType calls as well (SPR-7006)
2010-04-21 20:06:38 +00:00
Keith Donald
a71514222a
preserving desc context for collection/map elements
2010-04-18 14:09:41 +00:00
Keith Donald
ebbf63f4e0
polish
2010-04-17 06:47:08 +00:00
Keith Donald
e6018afe8b
restored resource conversion test
2010-04-17 06:31:34 +00:00
Keith Donald
b9aeba23ef
fixed failing test
2010-04-17 06:28:06 +00:00
Keith Donald
64d6a42dfd
improved conversion system logging, collection converter simplification/polish, several optimizations, annotation-driven formatting caching
2010-04-17 04:43:28 +00:00
David Syer
eb7f8309e2
Update version in POMs to 3.0.3
2010-04-15 10:26:14 +00:00
Juergen Hoeller
7f90e3bcf7
enable JPATraversableResolver to introspect test domain classes
2010-04-01 11:45:01 +00:00
Juergen Hoeller
092241a632
fixed decorated BeanDefinition condition for early type checking in AbstractBeanFactory (SPR-7006)
2010-03-31 15:21:48 +00:00
Juergen Hoeller
282de41f06
AbstractInterceptorDrivenBeanDefinitionDecorator exposes decorated BeanDefinition for early type checking in AbstractBeanFactory (SPR-7006)
2010-03-30 15:40:47 +00:00
Juergen Hoeller
53b6e1c1b0
fixed DataBinder's conversion error handling for direct field access with ConversionService (SPR-6953)
2010-03-24 17:40:45 +00:00
Juergen Hoeller
2c2cf32b8a
polishing
2010-03-24 10:35:50 +00:00
Juergen Hoeller
89755542da
BeanPostProcessors are allowed to return a null bean value in the middle of the chain (SPR-6926)
2010-03-24 10:34:21 +00:00
Mark Fisher
0d8a020684
updated commons-pool version in .classpath to match ivy config
2010-03-23 21:44:52 +00:00
Mark Pollack
1e388a894e
Change version of Hibernate Validator to 4.0.2 in pom.xml and eclipse .classpath to agree with version in ivy.xml
2010-03-23 16:44:46 +00:00
Juergen Hoeller
296aa96d71
AopUtils.getTargetClass(...) never returns null (SPR-7011)
2010-03-22 18:31:13 +00:00
Juergen Hoeller
a2c3274b8e
fixed double fixedField call for getFieldType (SPR-7019)
2010-03-22 15:08:57 +00:00
Sam Brannen
0543036ec9
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.
2010-03-19 12:39:34 +00:00
Juergen Hoeller
4c39f90466
made CronSequenceGenerator public (SPR-6920)
2010-03-12 19:34:45 +00:00
David Syer
8d7df01d73
RESOLVED - issue SPR-6955, SPR-6901 added DisposableBean to TaskExecutorFactoryBean
2010-03-08 12:13:30 +00:00
Juergen Hoeller
0444ab236a
fixed TypeDescriptor toString for MethodParameter annotations (SPR-6924)
2010-03-04 13:50:43 +00:00
Juergen Hoeller
9ede9fe697
"conversionService" bean gets ignored if not of type ConversionService (SPR-6916)
2010-03-04 11:27:09 +00:00
Costin Leau
20a8039642
+ improve template for spring-context so that the import-package is updated automatically
2010-02-25 15:46:54 +00:00
Chris Beams
f25d2a9416
Removed hard-coded local path from .core/.classpath; removed duplicate asm entry in .context/.classpath
2010-02-22 01:55:38 +00:00
David Syer
1a351db6e0
Update Central POMs to 3.0.2
2010-02-21 15:32:18 +00:00
Juergen Hoeller
5063c6dd00
upgraded to Hibernate Validator 4.0.2 and Jackson 1.4.2
2010-02-19 13:58:19 +00:00
Costin Leau
8d0bb00188
+ make use or property placeholders inside template.mf
2010-02-19 09:43:22 +00:00
Juergen Hoeller
60ac239091
BeanDefinitionReader and ClassPath/FileSystemXmlApplicationContext use varargs where possible (SPR-6849)
2010-02-16 11:59:29 +00:00
Juergen Hoeller
870507cc36
context-specific "conversionService" bean may refer to annotation-configured converter beans (SPR-6800)
2010-02-15 00:42:39 +00:00
Juergen Hoeller
9adb01a4a6
added PropertyPlaceholderConfigurer test
2010-02-15 00:22:06 +00:00
Juergen Hoeller
cdee538129
fixed rendering of select options for multi-list (SPR-6799)
2010-02-15 00:04:30 +00:00
Juergen Hoeller
315c16de5f
relaxed test conditions
2010-02-12 00:02:32 +00:00
Juergen Hoeller
09998b2434
relaxed test conditions
2010-02-11 23:15:15 +00:00
Juergen Hoeller
3db5a299bb
canConvert checks Collection/Map element types as well (SPR-6564)
2010-02-11 12:23:57 +00:00
Juergen Hoeller
cef44f6d53
made PersistenceAnnotationBeanPostProcessor's JNDI API references optional - for compatibility with Google App Engine (SPR-6679)
2010-02-11 11:36:33 +00:00
Juergen Hoeller
03e9e4568f
avoid double closing in case of shutdown hook (SPR-6793)
2010-02-10 13:49:51 +00:00
Juergen Hoeller
b670b19429
setAutoGrowNestedPaths throws an IllegalStateException if being called too late (SPR-6718)
2010-02-09 15:54:48 +00:00
Costin Leau
a9386f5c79
SPR-5246
...
+ clarify order of annotation and XML injection
2010-02-09 11:17:07 +00:00
Chris Beams
0f7f749ada
Updated Eclipse .classpath to aspectj 1.6.8
2010-02-04 13:45:14 +00:00
Juergen Hoeller
82178b8d93
ignore IllegalStateException when removing shutdown hook (SPR-6793)
2010-02-04 12:30:39 +00:00
Costin Leau
0fd4a45070
+ upgrade to AspectJ 1.6.8
...
+ externalize some of the jar versions
+ align the versions of some dependencies between pom.xml and ivy.xml
2010-02-04 11:46:21 +00:00
Costin Leau
ac93b81a78
SPR-6794
...
+ fix test
2010-02-04 11:33:58 +00:00
Costin Leau
4f0876de39
SPR-6794
...
+ added setter for encoding (in case the default UTF-8 is not enough)
2010-02-04 10:13:04 +00:00
Costin Leau
fab29dfee7
+ add explicit dependency on commons-pool to prevent version 1.3 from being used (since it contains a memory leak)
2010-02-04 10:05:54 +00:00
Costin Leau
0224cbc3de
SPR-6794
...
+ used UTF-8 as the implicit encoding for reading scripts
2010-02-04 10:04:48 +00:00
Juergen Hoeller
4d09809f17
ApplicationListeners will reliably get invoked through their proxy (if any)
2010-02-03 23:52:56 +00:00
Juergen Hoeller
ce6f14bd8b
refined addApplicationListener to work any time during the refresh phase
2010-02-03 23:09:42 +00:00
Juergen Hoeller
d96a6914a8
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)
2010-02-03 22:54:59 +00:00
Juergen Hoeller
e3cdabfaac
fixed MBeanExporter regression: do not try to expose abstract beans (SPR-6784)
2010-02-01 17:56:03 +00:00
Juergen Hoeller
56d2c9daf5
component-scan's scoped-proxy attribute applies to scope-annotated singleton beans as well (SPR-6683)
2010-02-01 16:30:21 +00:00
Juergen Hoeller
83c018a0b4
call processConfigBeanDefinitions lazily if postProcessBeanDefinitionRegistry hasn't been called
2010-01-31 16:10:11 +00:00
Juergen Hoeller
a897e3f01f
refined DefaultLifecycleProcessor's start/stop logging and stop exception handling (SPR-6769, SPR-6770)
2010-01-31 15:52:13 +00:00
Juergen Hoeller
59b8a139d7
JndiObjectFactoryBean explicitly only chooses public interfaces as default proxy interfaces (SPR-5869)
2010-01-31 14:59:27 +00:00
Juergen Hoeller
9c44f9252d
fixed cron example (SPR-6772)
2010-01-31 14:17:44 +00:00
Juergen Hoeller
6070a498fe
BeanNameAutoProxyCreator detects alias matches for specified bean names as well (SPR-6774)
2010-01-31 14:12:48 +00:00
Juergen Hoeller
6b2b5c4c23
introduced BeanDefinitionRegistryPostProcessor extension to BeanFactoryPostProcessor; @Configuration classes support definition of BeanFactoryPostProcessor beans as well (SPR-6455, SPR-6611)
2010-01-31 14:05:28 +00:00
Chris Beams
fbd797e50b
RESOLVED - issue SPR-6779: imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements
...
refactoring, polishing.
2010-01-29 23:31:53 +00:00
Chris Beams
110b032ad9
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.
2010-01-29 20:55:03 +00:00
Chris Beams
5fdee47841
Unit test cornering bug SPR-6779, 'imported @Configuration classes do not get enhanced and fail to satisfy scoping requirements'
2010-01-29 19:48:25 +00:00
Juergen Hoeller
dd93a40e7a
added test for expression re-evaluation
2010-01-22 16:03:17 +00:00
Juergen Hoeller
6fcca3cd93
accept Set<?> instead of Set<Object> (SPR-6742)
2010-01-22 10:03:13 +00:00
Juergen Hoeller
5abd3b99b9
fixed getPropertyTypeDescriptor to work for nested indexed property as well (SPR-6710)
2010-01-20 15:10:22 +00:00
Juergen Hoeller
95c695eb2f
fixed BeanPostProcessor invocation for null bean (SPR-6700)
2010-01-18 18:51:28 +00:00
Chris Beams
f82563fb6f
polishing
2010-01-18 15:45:10 +00:00
Chris Beams
4c05eaeb16
Resolved SPR-6602, relating to FactoryBean behavior in @Configuration classes. See issue and code comments for full details.
2010-01-18 08:54:45 +00:00
David Syer
b077d5ba97
SPR-6678: fix poms for 3.0.1
2010-01-13 11:07:08 +00:00
Juergen Hoeller
1ff99f2569
MBeanClientInterceptor understands CompositeData/TabularData arrays (SPR-6548)
2010-01-12 15:10:07 +00:00
Juergen Hoeller
38cf127c8b
mark spring-aop as required for spring-context (SPR-6578)
2010-01-12 12:49:16 +00:00
Mark Fisher
410dd0aa9f
SPR-6670 @Scheduled now supports property placeholders for cron expressions.
2010-01-11 20:20:33 +00:00
Mark Fisher
1284086ffa
SPR-6669 @Scheduled may now be used as a meta-annotation
2010-01-11 18:36:48 +00:00
David Syer
543515e36c
RESOLVED - issue SPR-6666: CronTrigger/CronSequenceGenerator fails to handle daylight saving timezone changes
2010-01-11 16:05:12 +00:00
Juergen Hoeller
4ca54fb415
fixed @Scheduled processing to kick in once only even in an ApplicationContext hierarchy (SPR-6656)
2010-01-08 16:00:07 +00:00
Juergen Hoeller
b9a3d3f392
polishing
2010-01-07 23:29:13 +00:00
Juergen Hoeller
b56328aa9e
replaced references to "spring-agent.jar" with "org.springframework.instrument.jar" (SPR-6597)
2010-01-07 13:32:42 +00:00
Juergen Hoeller
8af7f27942
ApplicationListeners will only be executed once per event (even for scripted objects; SPR-6589)
2010-01-07 12:58:18 +00:00
Juergen Hoeller
a939c4ea4e
polishing
2010-01-06 22:24:30 +00:00
Juergen Hoeller
431fd5bb22
allow for overriding specific DefaultLifecycleProcessor hooks (SPR-6617)
2010-01-06 19:48:48 +00:00
Mark Fisher
4ab4fa7042
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.
2010-01-05 22:27:47 +00:00
Juergen Hoeller
265084cb6c
fixed retriever cache putting
2010-01-05 14:46:15 +00:00
Juergen Hoeller
e5d4ffc166
reset retriever cache when adding/removing listeners (SPR-6624)
2010-01-05 13:09:03 +00:00
Chris Beams
d1b3f57320
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.
2009-12-30 19:42:12 +00:00