Spring Buildmaster
79c9ca1a26
Release version 3.1.1.RELEASE
2012-02-16 15:33:27 -08:00
Chris Beams
7535e24deb
Warn re Environment construction and instance vars
...
- Add warning regarding access to default instance variable values
during AbstractEnvironment#customizePropertySources callback
- Polish AbstractEnvironment Javadoc and formatting
Issue: SPR-9013
2012-02-16 21:31:10 +01:00
Chris Beams
80dd32e95c
Disallow empty @PropertySource(value = {})
...
Previously, a user could specify an empty array of resource locations
to the @PropertySource annotation, which amounts to a meaningless no-op.
ConfigurationClassParser now throws IllegalArgumentException upon
encountering any such misconfiguration.
2012-02-16 18:25:53 +01:00
Chris Beams
41ade68b50
Fix @PropertySource bug with multiple values
...
Prior to this commit, specifying a named @PropertySource with multiple
values would not work as expected. e.g.:
@PropertySource(
name = "ps",
value = { "classpath:a.properties", "classpath:b.properties" })
In this scenario, the implementation would register a.properties with
the name "ps", and subsequently register b.properties with the name
"ps", overwriting the entry for a.properties.
To fix this behavior, a CompositePropertySource type has been introduced
which accepts a single name and a set of PropertySource objects to
iterate over. ConfigurationClassParser's @PropertySource parsing routine
has been updated to use this composite approach when necessary, i.e.
when both an explicit name and more than one location have been
specified.
Note that if no explicit name is specified, the generated property
source names are enough to distinguish the instances and avoid
overwriting each other; this is why the composite wrapper is not used
in these cases.
Issue: SPR-9127
2012-02-16 18:25:03 +01:00
Juergen Hoeller
ff862addbe
final preparations for 3.1.1 release
2012-02-16 17:34:53 +01:00
Juergen Hoeller
94e3f08a44
added "receive-timeout" attribute to "jms:listener-container" element in JMS namespace (SPR-9114)
2012-02-16 12:03:09 +01:00
Chris Beams
1c2b1d2c85
Demonstrate use of @Configuration as meta-annotation
...
Issue: SPR-9090
2012-02-15 22:01:35 +01:00
Chris Beams
58e270f7da
Prune dead code from JmsTransactionManager#doBegin
2012-02-15 21:11:29 +01:00
Chris Beams
fc416bcb0b
Apply @Configuration BeanNameGenerator consistently
...
Since the introduction of the AnnotationConfig(Web)ApplicationContext
types in Spring 3.0, it has been possible to specify a custom
bean name generation strategy via the #setBeanNameGenerator methods
available on each of these classes.
If specified, that BeanNameGenerator was delegated to the underlying
AnnotatedBeanDefinitionReader and ClassPathBeanDefinitionScanner. This
meant that any @Configuration classes registered or scanned directly
from the application context, e.g. via #register or #scan methods would
respect the custom name generation strategy as intended.
However, for @Configuration classes picked up via @Import or implicitly
registered due to being nested classes would not be aware of this
strategy, and would rather fall back to a hard-coded default
AnnotationBeanNameGenerator.
This change ensures consistent application of custom BeanNameGenerator
strategies in the following ways:
- Introduction of AnnotationConfigUtils#CONFIGURATION_BEAN_NAME_GENERATOR
singleton
If a custom BeanNameGenerator is specified via #setBeanNameGenerator
the AnnotationConfig* application contexts will, in addition to
delegating this object to the underlying reader and scanner, register
it as a singleton bean within the enclosing bean factory having the
constant name mentioned above.
ConfigurationClassPostProcessor now checks for the presence of this
singleton, falling back to a default AnnotationBeanNameGenerator if
not present. This singleton-based approach is necessary because it is
otherwise impossible to parameterize CCPP, given that it is
registered as a BeanDefinitionRegistryPostProcessor bean definition
in AnnotationConfigUtils#registerAnnotationConfigProcessors
- Introduction of ConfigurationClassPostProcessor#setBeanNameGenerator
As detailed in the Javadoc for this new method, this allows for
customizing the BeanNameGenerator via XML by dropping down to direct
registration of CCPP as a <bean> instead of using
<context:annotation-config> to enable @Configuration class
processing.
- Smarter defaulting for @ComponentScan#beanNameGenerator
Previously, @ComponentScan's #beanNameGenerator attribute had a
default value of AnnotationBeanNameGenerator. The value is now the
BeanNameGenerator interface itself, indicating that the scanner
dedicated to processing each @ComponentScan should fall back to an
inherited generator, i.e. the one originally specified against the
application context, or the original default provided by
ConfigurationClassPostProcessor. This means that name generation
strategies will be consistent with a single point of configuration,
but that individual @ComponentScan declarations may still customize
the strategy for the beans that are picked up by that particular
scanning.
Issue: SPR-9124
2012-02-15 15:33:35 +01:00
Chris Beams
e81df2ef3e
Improve @Configuration bean name discovery
...
Prior to this commit, and based on earlier changes supporting SPR-9023,
ConfigurationClassBeanDefinitionReader employed a simplistic strategy
for extracting the 'value' attribute (if any) from @Configuration in
order to determine the bean name for imported and nested configuration
classes. An example case follows:
@Configuration("myConfig")
public class AppConfig { ... }
This approach is too simplistic however, given that it is possible in
'configuration lite' mode to specify a @Component-annotated class with
@Bean methods, e.g.
@Component("myConfig")
public class AppConfig {
@Bean
public Foo foo() { ... }
}
In this case, it's the 'value' attribute of @Component, not
@Configuration, that should be consulted for the bean name. Or indeed if
it were any other stereotype annotation meta-annotated with @Component,
the value attribute should respected.
This kind of sophisticated discovery is exactly what
AnnotationBeanNameGenerator was designed to do, and
ConfigurationClassBeanDefinitionReader now uses it in favor of the
custom approach described above.
To enable this refactoring, nested and imported configuration classes
are no longer registered as GenericBeanDefinition, but rather as
AnnotatedGenericBeanDefinition given that AnnotationBeanNameGenerator
falls back to a generic strategy unless the bean definition in question
is assignable to AnnotatedBeanDefinition.
A new constructor accepting AnnotationMetadata
has been added to AnnotatedGenericBeanDefinition in order to support
the ASM-based approach in use by configuration class processing. Javadoc
has been updated for both AnnotatedGenericBeanDefinition and its now
very similar cousin ScannedGenericBeanDefinition to make clear the
semantics and intention of these two variants.
Issue: SPR-9023
2012-02-15 15:33:35 +01:00
Chris Beams
08e2669b84
Fix infinite recursion bug in nested @Configuration
...
Prior to this commit, an infinite recursion would occur if a
@Configuration class were nested within its superclass, e.g.
abstract class Parent {
@Configuration
static class Child extends Parent { ... }
}
This is because the processing of the nested class automatically
checks the superclass hierarchy for certain reasons, and each
superclass is in turn checked for nested @Configuration classes.
The ConfigurationClassParser implementation now prevents this by
keeping track of known superclasses, i.e. once a superclass has been
processed, it is never again checked for nested classes, etc.
Issue: SPR-8955
2012-02-15 15:33:35 +01:00
Chris Beams
f3651c9998
Polish static imports
2012-02-15 15:33:35 +01:00
Rossen Stoyanchev
a3484aebb3
Minor fix in ServletResponseMethodArgumentResolver
...
Issues: SPR-8983
2012-02-15 09:20:02 -05:00
Juergen Hoeller
6fd476e2c5
extracted ResourceUtils.useCachesIfNecessary(URLConnection) method (SPR-9117)
2012-02-14 21:55:29 +01:00
Juergen Hoeller
ab98f288e9
prepared for 3.1.1 release
2012-02-14 21:30:12 +01:00
Juergen Hoeller
acaf820941
CustomSQLExceptionTranslatorRegistry/Registrar etc
2012-02-14 21:29:52 +01:00
Juergen Hoeller
ddf0d071ad
revised CustomSQLExceptionTranslatorRegistry/Registrar method naming
2012-02-14 21:29:22 +01:00
Juergen Hoeller
2fa87a71fa
use custom InputStream traversal instead of a full byte array (SPR-9118)
2012-02-14 21:16:10 +01:00
Juergen Hoeller
fe57f74c1a
PathMatchingResourcePatternResolver preserves caching for JNLP jar connections (SPR-9117)
2012-02-14 18:26:56 +01:00
Juergen Hoeller
81861ca7a8
Resource "contentLength()" implementations work with OSGi bundle resources and JBoss VFS resources (SPR-9118)
2012-02-14 14:46:45 +01:00
Juergen Hoeller
4831ca27d2
fixed MethodInvokingJobDetailFactoryBean for compatibility with Quartz 2.0/2.1 (SPR-8889)
2012-02-14 14:43:37 +01:00
Juergen Hoeller
1bfa7013a0
fixed MethodInvokingJobDetailFactoryBean for compatibility with Quartz 2.0/2.1 ()
2012-02-14 14:09:41 +01:00
Chris Beams
1d9d3e6ff7
Fix false negative test failure in ResourceTests
...
Prior to changes in commit 57851de88e ,
AbstractResource#getFilename threw IllegalStateException unless
overridden by a subclass. Following that change, this method now throws
null instead, but ResourceTests#testAbstractResourceExceptions had not
been updated to reflect, resulting in a false negative failure. This has
now been fixed.
Issue: SPR-9043
2012-02-13 15:52:37 +01:00
Chris Beams
8e0b1c3a5f
Compensate for Eclipse vs Sun compiler discrepancy
...
Eclipse allows autoboxing on type inference; Sun javac does not. This
means that variables assigned from calls to
AnnotationAttributes#getNumber should consistently use object wrappers
as opposed to number primitives. There was only one such instance
anyway, and has now been updated accordingly.
2012-02-13 15:37:19 +01:00
Chris Beams
0a5392e37d
Compensate for changes in JDK 7 Introspector
...
Prior to JDK 7, java.beans.Introspector registered indexed write methods
irrespective of return type, for example either of the following methods
were legal
void setFoo(int i, Foo foo)
Object setFoo(int i, Foo foo)
This was considered a bug and disallowed starting with JDK 7, such that
only the former signature is a candidate.
Supporting non-void returning setter methods is exactly what
ExtendedBeanInfo was designed to do, and prior to this commit, the
implementation of ExtendedBeanInfo assumed this (somewhat surprising)
behavior from the underlying Introspector, and because it worked out of
the box, took no extra steps to recognize and register these methods.
For this reason, non-void returning indexed write methods were not
registered under JDK 7+, causing test failures in ExtendedBeanInfoTests.
Now the implementation is careful to detect these methods without any
assumption about Introspector behavior, such that they are registered in
exactly the same fashion across JDK versions.
Issue: SPR-9014
2012-02-13 15:01:06 +01:00
Chris Beams
b787a68f20
Avoid 'type mismatch' errors in ExtendedBeanInfo
...
Prior to this commit, ExtendedBeanInfo would add non-indexed write
methods without consideration for the presence of indexed read/write
methods, which is invalid per the JavaBeans spec and per the behavior
of java.beans.Introspector. That is, a method with the signature
void setFoo(Foo foo)
Should never be registered as a write method if the following method
signature is also present in the class
void setFoo(int i, Foo foo)
In most cases, this oversight caused no problems, but in certain
situations where a bean actually contains such a mismatch of methods,
"type mismatch" errors were thrown when ExtendedBeanInfo attempted the
illegal addition against the underlying property descriptor.
The implementation is now more careful about checking the parameter type
of write methods -- if the property descriptor in question is an
IndexedPropertyDescriptor, i.e. has an indexed write method, then any
non-indexed write method candidate must have a single *array* parameter,
which conforms to the spec and to Introspector behavior.
Issue: SPR-8937
2012-02-13 15:01:06 +01:00
Chris Beams
ef143d363e
Polish ExtendedBeanInfo and tests
...
ExtendedBeanInfo
- Reduce log messages from warn to debug
- Remove now-incorrect comment indicating underlying property
descriptors are never modified (they actually are as of SPR-8806)
ExtendedBeanInfoTests
- Consolidate SPR-8949 tests
- Eliminate compiler warnings
Issue: SPR-8949, SPR-8806
2012-02-13 15:01:05 +01:00
Chris Beams
e25f1cbca9
Infer AnnotationAttributes method return types
...
- Drop 'expectedType' parameter from #getClass and #getEnum methods and
rely on compiler inference based on type of assigned variable, e.g.
public @interface Example {
Color color();
Class<? extends UserType> userType();
int order() default 0;
}
AnnotationAttributes example =
AnnotationUtils.getAnnotationAttributes(Example.class, true, true);
Color color = example.getEnum("color");
Class<? extends UserType> userType = example.getClass("userType");
or in cases where there is no variable assignment (and thus no
inference possible), use explicit generic type, e.g.
bean.setColor(example.<Color>getEnum("color"));
- Rename #get{Int=>Number} and update return type from int to
<N extends Number>, allowing invocations such as:
int order = example.getNumber("order");
These changes reduce the overall number of methods exposed by
AnnotationAttributes, while at the same time providing comprehensive
access to all possible annotation attribute types -- that is, instead of
requiring explicit #getInt, #getFloat, #getDouble methods, the
single #getNumber method is capabable of handling them all, and without
any casting required. And the obvious additional benefit is more concise
invocation as no redundant 'expectedType' parameters are required.
2012-02-13 15:01:05 +01:00
Rossen Stoyanchev
997c6c56f7
Minor fix in MVC reference doc chapter
...
Issues: SPR-9111
2012-02-12 19:54:17 -05:00
jhoeller
caa50a1d41
Merge pull request #33 from trisberg/SQLException-translation-enhancements
...
SQL exception translation enhancements
2012-02-12 07:19:21 -08:00
jhoeller
6e00456e67
Merge pull request #25 from trisberg/fixes-for-SimpleJdbcInsert
...
Fixes for SimpleJdbcInsert [SPR-9006]
2012-02-12 07:17:15 -08:00
Juergen Hoeller
a46facc2f9
Hibernate 4.1 etc
2012-02-11 19:15:42 +01:00
Juergen Hoeller
9e21d2f741
TypeDescriptor equals implementation accepts annotations in any order (SPR-9084)
2012-02-11 19:15:41 +01:00
Juergen Hoeller
9470323724
"setBasenames" uses varargs now (for programmatic setup; SPR-9106)
2012-02-11 19:15:40 +01:00
Juergen Hoeller
b17d545bb7
@ActiveProfiles mechanism works with @ImportResource as well (SPR-8992)
2012-02-11 19:15:39 +01:00
Juergen Hoeller
1bd260adaf
polishing
2012-02-11 19:15:38 +01:00
Juergen Hoeller
57851de88e
clarified Resource's "getFilename" method to consistently return null if resource type does not have a filename (SPR-9043)
2012-02-11 19:15:37 +01:00
Juergen Hoeller
1e1f8c912b
substituteNamedParameters detects and unwraps SqlParameterValue objects (SPR-9052)
2012-02-11 19:15:35 +01:00
Rossen Stoyanchev
66bc214a79
Replace spaces with tabs
2012-02-10 18:24:58 -05:00
Chris Beams
45ad183331
Consider security in ClassUtils#getMostSpecificMethod
...
Recent changes in ExtendedBeanInfo involve invoking
ClassUtils#getMostSpecificMethod when determining JavaBeans get/set
pairs; if Java security settings control disallow reflective access,
this results in an AccessControlException.
This change defends against this (comparatively rare) scenario by
catching the exception and falling back to returning the method
originally supplied by the user.
This change was a result of noticing CallbacksSecurityTests failing
following the ExtendedBeanInfo modifications mentioned above
Issue: SPR-8949
2012-02-10 00:13:24 +01:00
Thomas Risberg
66012b951e
Adding null check for username being null.
...
The username is usually not null, but it could be for some embedded databases.
Always setting generatedKeysColumnNameArraySupported to false when getGeneratedKeysSupported is false, since it can't be supported without having generated keys supported. This change only affects logging messages.
Issue: SPR-9006
2012-02-09 17:55:04 -05:00
Thomas Risberg
f6c7d99ba4
Improvements for registering custom SQL exception translators in app contexts.
...
Adding a static CustomSQLExceptionTranslatorRegistry and a CustomSQLExceptionTranslatorRegistrar that can be used to register custom SQLExceptionTranslator implementations for specific databases from any application context.
This can be used in application contexts like this:
<bean class="org.springframework.jdbc.support.CustomSQLExceptionTranslatorRegistrar">
<property name="sqlExceptionTranslators">
<map>
<entry key="H2">
<bean class="com.yourcompany.data.CustomSqlExceptionTranslator"/>
</entry>
</map>
</property>
</bean>
Issue: SPR-7675
2012-02-09 17:43:05 -05:00
Thomas Risberg
e202d89c29
SPR-7680 Adding QueryTimeoutException to the DataAccessException hierarchy
2012-02-09 17:18:38 -05:00
Rossen Stoyanchev
21aed042ea
Minor polish in WebMvcConfigurationSupport
2012-02-09 16:54:55 -05:00
Chris Beams
f1ecd1ca2a
Detect overridden boolean getters in ExtendedBeanInfo
...
Prior to this commit, and due to idiosyncracies of
java.beans.Introspector, overridden boolean getter methods were not
detected by Spring's ExtendedBeanInfo, which relied on too-strict
Method equality checks when selecting read and write methods.
Now ExtendedBeanInfo uses Spring's ClassUtils#getMostSpecificMethod
against the methods returned from java.beans.Introspector in order
to ensure that subsequent equality checks are reasonable to make.
Issue: SPR-8949
2012-02-09 22:23:57 +01:00
Chris Beams
c1df51a3b4
Polish ExtendedBeanInfoTests
...
Clean up ignored test, consolidate and document tests cornering
covariant return type edge cases.
Issue: SPR-8079, SPR-8806
2012-02-09 22:23:57 +01:00
Arjen Poutsma
edc80ffa95
Use request contentType/encoding in ServletServetHttpRequest/Response
...
ServletServerHttpRequest now falls back on the contentType and the
the characterEncoding of the ServletRequest, if the headers of the
incoming request don't specify one. Similary ServletServerHttpResponse
sets the contentType and the characterEncoding of the ServletResponse
if not already set.
This allows using the CharacterEncodingFilter to set a character
encoding where the request doesn't specify one and have it be used
in HttpMessageConverter's.
SPR-9096
2012-02-09 12:34:27 -05:00
Chris Beams
ff44c9132c
Upgrade Hibernate from 4.0.0.CR7=>4.1.0.Final
...
spring-orm now successfully builds against Hibernate 4.1.0.Final
Issue: SPR-9082
2012-02-09 12:35:58 +01:00
Juergen Hoeller
0db257cbe3
restored preference for covariant return type if applicable
2012-02-09 12:24:13 +01:00
Juergen Hoeller
35c2869875
INSTANCE constant should be marked as final (SPR-9101)
2012-02-09 11:56:06 +01:00
Juergen Hoeller
c931eaa436
documentation fixes (SPR-9025, SPR-9027)
2012-02-08 18:35:57 +01:00
Juergen Hoeller
357a5193b7
added reference documentation to IntelliJ project
2012-02-08 18:34:44 +01:00
Juergen Hoeller
e4f2cfe39e
Provider injection etc
2012-02-08 17:53:15 +01:00
Juergen Hoeller
4aa8b96687
write method parameter type preferred over read method parameter type for property conversion (fixing regression; SPR-8964)
2012-02-08 17:51:06 +01:00
Juergen Hoeller
17bbc623c1
optimized converter lookup to avoid contention in JDK proxy check (SPR-9084)
2012-02-08 17:08:57 +01:00
Juergen Hoeller
c55362c35e
Provider injection works with generically typed collections of beans as well (SPR-9030)
2012-02-08 16:29:00 +01:00
Juergen Hoeller
9a61f36d3d
removed optional javax.validation.spi dependency (SPR-8973)
2012-02-08 12:52:51 +01:00
Juergen Hoeller
95e3f486b5
fixed SpringValidatorAdapter regression to return correct error codes for class-level constraints (SPR-8958)
2012-02-08 12:46:05 +01:00
Juergen Hoeller
2a0714b41c
converted EmptyResultDataAccessException preserves JPA NoResultException as root cause (SPR-9041)
2012-02-08 12:23:15 +01:00
Juergen Hoeller
efd2783dd1
restored JBossLoadTimeWeaver compability with JBoss AS 5.1 (SPR-9065)
2012-02-08 12:14:58 +01:00
jhoeller
5b18fc44ce
Merge pull request #16 from cbeams/SPR-8954
...
Check original beanClass in #isFactoryBean calls
2012-02-08 02:58:19 -08:00
Rossen Stoyanchev
4f4a2e7fc7
Update documentation with regards to differences between @MVC 3.0/3.1
...
Although the reference documentation listed the new @MVC support
classes and their benefits, it did not explicitly mention a few
use cases that are no longer supported. There is now a specific
section on the new support classes listing exactly what is not
supported.
Similary the @RequestMapping annotation never refered explicitly
to the existence of old and new support and never made it clear
exactly what the differences are.
Both have not been corrected.
SPR-9063, SPR-9042
2012-02-07 19:49:44 -05:00
Chris Beams
bf541db5b0
Refactor to consistent use of AnnotationAttributes
...
Uses of AnnotationMetadata#getAnnotationAttributes throughout the
framework have been updated to use the new AnnotationAttributes API in
order to take advantage of the more concise, expressive and type-safe
methods there.
All changes are binary compatible to the 3.1.0 public API, save
the exception below.
A minor binary compatibility issue has been introduced in
AbstractCachingConfiguration, AbstractAsyncConfiguration and
AbstractTransactionManagementConfiguration when updating their
protected Map<String, Object> fields representing annotation attributes
to use the new AnnotationAttributes API. This is a negligible breakage,
however, as the likelilhood of users subclassing these types is very
low, the classes have only been in existence for a short time (further
reducing the likelihood), and it is a source-compatible change given
that AnnotationAttributes is assignable to Map<String, Object>.
2012-02-07 21:57:49 +01:00
Chris Beams
d9f7fdd120
Support reading nested annotations via ASM
...
Background
Spring 3.1 introduced the @ComponentScan annotation, which can accept
an optional array of include and/or exclude @Filter annotations, e.g.
@ComponentScan(
basePackages = "com.acme.app",
includeFilters = { @Filter(MyStereotype.class), ... }
)
@Configuration
public class AppConfig { ... }
@ComponentScan and other annotations related to @Configuration class
processing such as @Import, @ImportResource and the @Enable*
annotations are parsed using reflection in certain code paths, e.g.
when registered directly against AnnotationConfigApplicationContext,
and via ASM in other code paths, e.g. when a @Configuration class is
discovered via an XML bean definition or when included via the
@Import annotation.
The ASM-based approach is designed to avoid premature classloading of
user types and is instrumental in providing tooling support (STS, etc).
Prior to this commit, the ASM-based routines for reading annotation
attributes were unable to recurse into nested annotations, such as in
the @Filter example above. Prior to Spring 3.1 this was not a problem,
because prior to @ComponentScan, there were no cases of nested
annotations in the framework.
This limitation manifested itself in cases where users encounter
the ASM-based annotation parsing code paths AND declare
@ComponentScan annotations with explicit nested @Filter annotations.
In these cases, the 'includeFilters' and 'excludeFilters' attributes
are simply empty where they should be populated, causing the framework
to ignore the filter directives and provide incorrect results from
component scanning.
The purpose of this change then, is to introduce the capability on the
ASM side to recurse into nested annotations and annotation arrays. The
challenge in doing so is that the nested annotations themselves cannot
be realized as annotation instances, so must be represented as a
nested Map (or, as described below, the new AnnotationAttributes type).
Furthermore, the reflection-based annotation parsing must also be
updated to treat nested annotations in a similar fashion; even though
the reflection-based approach has no problem accessing nested
annotations (it just works out of the box), for substitutability
against the AnnotationMetadata SPI, both ASM- and reflection-based
implementations should return the same results in any case. Therefore,
the reflection-based StandardAnnotationMetadata has also been updated
with an optional 'nestedAnnotationsAsMap' constructor argument that is
false by default to preserve compatibility in the rare case that
StandardAnnotationMetadata is being used outside the core framework.
Within the framework, all uses of StandardAnnotationMetadata have been
updated to set this new flag to true, meaning that nested annotation
results will be consistent regardless the parsing approach used.
Spr9031Tests corners this bug and demonstrates that nested @Filter
annotations can be parsed and read in both the ASM- and
reflection-based paths.
Major changes
- AnnotationAttributes has been introduced as a concrete
LinkedHashMap<String, Object> to be used anywhere annotation
attributes are accessed, providing error reporting on attribute
lookup and convenient type-safe access to common annotation types
such as String, String[], boolean, int, and nested annotation and
annotation arrays, with the latter two also returned as
AnnotationAttributes instances.
- AnnotationUtils#getAnnotationAttributes methods now return
AnnotationAttributes instances, even though for binary compatibility
the signatures of these methods have been preserved as returning
Map<String, Object>.
- AnnotationAttributes#forMap provides a convenient mechanism for
adapting any Map<String, Object> into an AnnotationAttributes
instance. In the case that the Map is already actually of
type AnnotationAttributes, it is simply casted and returned.
Otherwise, the map is supplied to the AnnotationAttributes(Map)
constructor and wrapped in common collections style.
- The protected MetadataUtils#attributesFor(Metadata, Class) provides
further convenience in the many locations throughout the
.context.annotation packagage that depend on annotation attribute
introspection.
- ASM-based core.type.classreading package reworked
Specifically, AnnotationAttributesReadingVisitor has been enhanced to
support recursive reading of annotations and annotation arrays, for
example in @ComponentScan's nested array of @Filter annotations,
ensuring that nested AnnotationAttributes objects are populated as
described above.
AnnotationAttributesReadingVisitor has also been refactored for
clarity, being broken up into several additional ASM
AnnotationVisitor implementations. Given that all types are
package-private here, these changes represent no risk to binary
compatibility.
- Reflection-based StandardAnnotationMetadata updated
As described above, the 'nestedAnnotationsAsMap' constructor argument
has been added, and all framework-internal uses of this class have
been updated to set this flag to true.
Issue: SPR-7979, SPR-8719, SPR-9031
2012-02-07 21:57:49 +01:00
Juergen Hoeller
905d17d444
LocalContainerEntityManagerFactoryBean etc
2012-02-07 21:00:14 +01:00
Juergen Hoeller
62e5b9da04
LocalContainerEntityManagerFactoryBean's "persistenceUnitName" applies to "packagesToScan" as well; DefaultPersistenceUnitManager uses containing jar as persistence unit root URL for default unit (SPR-8832)
2012-02-07 20:59:48 +01:00
Juergen Hoeller
f367619b0c
added "durability" and "description" properties to JobDetailFactoryBean (SPR-9080)
2012-02-07 15:54:18 +01:00
Juergen Hoeller
afa4bb3f1b
fixed javadoc link (SPR-9089)
2012-02-07 15:54:17 +01:00
Juergen Hoeller
f8238f5243
Servlet/PortletContextResource's "isReadable()" implementation returns false for directories (SPR-9067)
2012-02-07 15:54:16 +01:00
Arjen Poutsma
7a170e8005
Updated IntelliJ project for JUnit 4.9.0
2012-02-07 15:41:49 +01:00
Arjen Poutsma
3ec78e2c04
SPR-9093: UriTemplate not throwing IllegalArgumentException when URIVariables map missing values
2012-02-07 15:40:50 +01:00
Rossen Stoyanchev
a3bb3769ba
Tighten FlashMapManager for use with alternative storage options
...
Ensure that both FlashMapManager methods - the one invoked at the
start of a request and the one invoked before a redirect, update
the underlying storage fully since it's not guaranteed that both
will be invoked on any given request.
Also move the logic to remove expired FlashMap instances to the
metohd invoked at the start of a request to ensure the check is
made frequently enough.
SPR-8997
2012-02-06 18:04:27 -05:00
Chris Beams
598b125bb2
Merge pull request #27 from trisberg/parameter-parsing
2012-02-06 09:47:35 +01:00
Thomas Risberg
9fb6e2313c
Fix single quote parsing in NamedParameterUtils
...
Prior to this change, single quotes were incorrectly parsed by
NamedParameterUtils#parseSqlStatement, resulting in incorrect parameter
counts:
ParsedSql sql = NamedParameterUtils
.parseSqlStatement("SELECT 'foo''bar', :xxx FROM DUAL");
assert sql.getTotalParameterCount() == 0 // incorrect, misses :xxx
That is, presence of the single-quoted string caused the parser to
overlook the named parameter :xxx.
This commit fixes the parsing error such that:
ParsedSql sql = NamedParameterUtils
.parseSqlStatement("SELECT 'foo''bar', :xxx FROM DUAL");
assert sql.getTotalParameterCount() == 1 // correct
Issue: SPR-8280
2012-02-06 09:47:17 +01:00
Chris Beams
ff84419f4d
Merge pull request #26 from trisberg/improved-RDP
2012-02-06 09:04:08 +01:00
Thomas Risberg
2ffa4725cd
Allow SELECT statements in ResourceDatabasePopulator
...
ResourceDatabasePopulator is a component that underlies the database
initialization support within Spring's jdbc: namespace, e.g.:
<jdbc:initialize-database data-source="dataSource">
<jdbc:script execution="INIT" location="classpath:init.sql"/>
</jdbc:initialize-database>
Prior to this commit, ResourceDatabasePopulator#executeSqlScript's use
of Statement#executeUpdate(sql) precluded the possibility of SELECT
statements because returning a result is not permitted by this method
and results in an exception being thrown.
Whether this behavior is a function of the JDBC specification or an
idiosyncracy of certain implementations does not matter as the issue
can be worked around entirely. This commit eliminates use
of #executeUpdate(sql) in favor of #execute(sql) followed by a call
to #getUpdateCount, effectively allowing any kind of SQL statement to
be executed during database initialization.
Issue: SPR-8932
2012-02-06 08:59:28 +01:00
Chris Beams
025b8abfaf
Allow ACI classes access to servlet context params
...
Prior to this commit, StandardServletEnvironment's servlet context
PropertySource remained stubbed out until it the ServletContext became
available and could be replaced during the refresh() of its enclosing
WebApplicationContext. This behavior is acceptable in most cases.
However, if the user has declared an ApplicationContextInitializer that
attempts to access servlet context-params via the Environment API, this
result in a kind of 'false negative', i.e. the context-param key and
value are actually present in the ServletContext, but the PropertySource
representing servlet context params is still a stub at this point,
meaning that it returns an empty result in all cases.
With this change, WebApplicationContextUtils#initServletPropertySources
is invoked eagerly by the ContextLoader if any ACI classes have been
declared. This swaps out the servlet context property source stub for
the real thing just in time for ACIs to use it if necessary.
Extra guard logic has been added to #initServletPropertySources to
ensure idempotency -- once the stub has been replaced, the method
never attempts the replacement again, e.g. during the normal context
refresh() when this method will be called again.
Issue: SPR-8991
2012-02-04 23:13:52 +01:00
Chris Beams
856b77bc31
Optimize ApplicationContextInitializer handling
...
- Perform early check whether any ACI classes have been declared and
exit immediately if not, avoiding any other processing
- Polish method names in ContextLoaderTests
Issue: SPR-8991
2012-02-04 23:13:48 +01:00
Chris Beams
a9451d11f6
Relax -aspects dependence on -test (compile=>test)
...
The spring-aspects Maven pom had an incorrect compile-scoped dependence
on spring-test. In fact, spring-aspects only uses spring-test in its
unit tests. The pom has been updated accordingly, meaning that use
of spring-aspects in Maven-based applications will no longer require
spring-test on the classpath at runtime.
ivy.xml metadata did not need updating, as it was already correct.
This change is only necessary on the 3.1.x line; in 3.2.x (master) Maven
poms are generated automatically from Gradle dependency metadata, which
is also already correct.
Issue: SPR-9048
2012-02-04 17:49:11 +01:00
Rossen Stoyanchev
871336a8c8
Better support for @SessionAttributes in clustered environments
...
A list of "known" session attributes (listed in @SessionAttributes)
was gradually built as attributes get added to the model. In a
failover scenario that knowledge is lost causing session attributes
to be potentially re-initialized via @ModelAttribute methods.
With this change @SessionAttributes listed by name are immediately
added to he list of "known" session attributes thus this knowledge
is not lost after a failover. Attributes listed by type however
still must be discovered as they get added to the model.
2012-02-03 12:23:24 -05:00
Chris Beams
81e25b91c2
Respect @Configuration(value) for @Imported classes
...
Prior to this commit, @Configuration classes included via @Import (or
via automatic registration of nested configuration classes) would
always be registered with a generated bean name, regardless of whether
the user had specified a 'value' indicating a customized bean name, e.g.
@Configuration("myConfig")
public class AppConfig { ... }
Now this bean name is propagated as intended in all cases, meaning that
in the example above, the resulting bean definition of type AppConfig
will be named "myConfig" regardless how it was registered with the
container -- directly against the application context, via component
scanning, via @Import, or via automatic registration of nested
configuration classes.
Issue: SPR-9023
2012-02-03 17:54:03 +01:00
Rossen Stoyanchev
6e5cc53fc9
SPR-9085 Correct typo.
2012-02-02 09:56:02 -05:00
Chris Beams
17cf465d23
Fix method equality bug in ExtendedBeanInfo
...
A number of users reported issues with comparing method identity vs
equivalence when discovering JavaBeans property methods in
ExtendedBeanInfo.
This commit updates the implementation to consistently use '.equals()'
instead of '=='.
Issue: SPR-8079, SPR-8347
2012-02-02 15:24:52 +01:00
Chris Beams
f3f73f0e32
Check original beanClass in #isFactoryBean calls
...
This issue originates from a need in Spring Data JPA, wherein a custom
InstantiationAwareBeanPostProcessor may alter the predicted type of
FactoryBean objects, effectively preventing retrieval of those beans via
calls to #getBeansOfType(FactoryBean.class).
The reason for this "masking effect" is that prior to this change, the
implementation of AbstractBeanFactory#isFactoryBean considered only the
"predicted type" returned from #predictBeanType when evaluating
assignability to FactoryBean.class
The implementation of #isFactoryBean now ensures that not only the
predicted bean type is considered, but also the original bean
definition's beanClass (if one is available).
Issue: SPR-8954
2012-02-02 12:38:23 +01:00
Rossen Stoyanchev
010abd06e3
SPR-9077 Remove empty path segments from input to UriComponentsBuilder.
2012-02-01 19:51:00 -05:00
Rossen Stoyanchev
8530828eb4
SPR-9076 Add normalize() method to UriComponents.
2012-02-01 19:12:52 -05:00
Rossen Stoyanchev
95683f5137
SPR-9075 Add fromRequestUri() methods to ServletUriComponentsBuilder
2012-02-01 18:54:08 -05:00
Chris Beams
f61410705c
Merge pull request #21 from aclement/spr9038
2012-02-01 22:47:36 +01:00
Rossen Stoyanchev
64a69f7cf8
SPR-9079 Don't check for "POST" multipart request method arg resolvers
2012-02-01 13:22:12 -05:00
Andy Clement
90bed9718f
Allow customization of SpEL method resolution
...
This change introduces a protected ReflectiveMethodResolver#getMethods,
allowing subclasses to specify additional static methods not
declared directly on the type being evaluated. These methods then become
candidates for filtering by any registered MethodFilters and ultimately
become available within for use within SpEL expressions.
Issue: SPR-9038
2012-02-01 17:36:57 +01:00
Chris Beams
c7fd03be69
Polish ReflectiveMethodResolver and unit tests
...
- Update Javadoc
- Fix whitespace errors (tabs v. spaces, trailing spaces)
- Break at 90 chars where sensible
- Remove dead test code
- Fix generics warnings, remove @SuppressWarnings
2012-02-01 17:36:57 +01:00
Rossen Stoyanchev
3d1fa4f6b6
SPR-9060 Revise HTTP Session based FlashMapManager implementation.
...
The "default" FlashMapManager implementation added in 3.1 was invoked
after the redirect, which is too late in cases where the HTTP session
has not been yet been created since as the response is committed.
This change corrects the issue and makes other improvements to the
FlashMapManager implementation such as extracting a base
AbstractFlashMapManager class and making it easier for other
implementations to be added (for example cookie-based).
2012-01-31 22:10:55 -05:00
Chris Beams
f3c3babfdf
Update Quartz links in reference and Javadoc
...
Issue: SPR-8915
2012-01-31 15:18:05 +01:00
Chris Beams
87a021d5c9
Add <license> section to 3.1.x Maven poms
...
Issue: SPR-8927
2012-01-31 15:18:05 +01:00
Chris Beams
38a62f8389
Ignore Gradle-related files and directories
...
When switching back to 3.1.x from master, ignore renamed directories,
Gradle 'build' dirs, generated IDE metadata, etc.
You may wish to clean these files with
$ git clean -dfx
Or do a dry-run beforehand with the '-n' flag:
$ git clean -dfxn
2012-01-31 15:18:05 +01:00
Rossen Stoyanchev
e9208981a6
SPR-9062 Fix bug with ambiguous path and HTTP method request mappings
...
A direct path match with incorrect HTTP request method was causing another
request mapping with a pattern and a correct HTTP method to be ignored.
The bug affects the new @MVC support classes
(i.e. RequestMappingHandlerMapping).
2012-01-30 19:52:20 -05:00
Rossen Stoyanchev
21966990c8
SPR-9016 Add flag to Redirectview to disable expanding URI vars
2012-01-30 18:39:20 -05:00
Rossen Stoyanchev
610fa618aa
SPR-9056 Make DelegatingWebMvcConfiguration config callbacks not final
...
It should be possible to progress from extending
WebMvcConfigurerAdapter (w/ @EnableWebMvc) to extending
WebMvcConfigurationSupport directly, to extending
DelegatingWebMvcConfigurationSupport. This change
makes that possible.
2012-01-30 17:55:34 -05:00
Arjen Poutsma
8980ce712d
SPR-8986 RestTemplate throws IllegalArgumentException when HTTP status is not in the HttpStatus enum
...
- Added getRawStatusCode
2012-01-23 14:26:11 +01:00
Arjen Poutsma
ff9ad7adc6
SPR-8986 RestTemplate throws IllegalArgumentException when HTTP status is not in the HttpStatus enum
...
- Added status codes from Wikipedia
2012-01-23 14:03:14 +01:00
Arjen Poutsma
79f32c7f33
SPR-8986 Add the ability to Scan Packages for JAXB Marshalling
...
Jaxb2Marshaller now has the capability to scan for classes annotated with JAXB2 annotations.
2012-01-20 16:25:33 +01:00
Rossen Stoyanchev
bcd8355e61
SPR-8974 Fix regression in UriUtils.java
2012-01-19 23:47:31 -05:00
Chris Beams
9c45acd43a
Update links to reference and api documentation
2012-01-16 22:16:43 +01:00
Juergen Hoeller
958bd49850
Hibernate 4 LocalSessionFactoryBean, etc
2012-01-15 20:09:35 +01:00
Juergen Hoeller
697bc43c40
added missing @Override annotations
2012-01-15 20:07:51 +01:00
Juergen Hoeller
3fdbe1081d
JMS SimpleMessageListenerContainer silently falls back to lazy registration of consumers ()
2012-01-15 20:07:50 +01:00
Juergen Hoeller
4a63a5b3ba
fixed "configTimeRegionFactoryHolder" reset
2012-01-15 20:07:49 +01:00
Juergen Hoeller
56d0e67581
added "getConfiguration" accessor to Hibernate 4 LocalSessionFactoryBean (SPR-8961)
2012-01-15 20:07:49 +01:00
Juergen Hoeller
96b8c46480
nicer error message indicating JAX-WS 2.1 requirement at runtime (SPR-8998)
2012-01-15 20:07:48 +01:00
Juergen Hoeller
b91e989ad4
JMS CachingConnectionFactory never caches consumers for temporary queues and topics
2012-01-15 20:07:47 +01:00
Rossen Stoyanchev
e8fc90ce3e
SPR-8917 Fix issue with quoted parameter values in MediaType.
2012-01-13 15:25:53 -05:00
Rossen Stoyanchev
b0c735feae
SPR-8976 Make flash attrs available to view controllers.
...
Previously flash attributes were automatically merged into the
model of annotated controllers only. This change extends the same
benefit to ParameterizableView- and UrlFilenameViewController,
both of which merely select a view without user controller logic
and (the views) would otherwise not have access to the flash
attributes.
2012-01-13 13:18:53 -05:00
Rossen Stoyanchev
be4e698483
SPR-9021 Correct issue in comparing Accept header media types.
...
When checking for an exact match of Accept header media types
additional parameters such as quality need to be excluded.
For example "*/*" matches "*/*;q=0.9".
2012-01-12 17:13:11 -05:00
Rossen Stoyanchev
6da6acbe54
Make AbstractHandlerMethodExceptionResolver an abstract class.
2012-01-11 11:10:52 -05:00
Arjen Poutsma
ab6a7e8e74
Polishing
2012-01-11 11:48:20 +01:00
Rossen Stoyanchev
5a2bd97c37
SPR-8997 Add getter for access to flash timeout.
2012-01-10 22:24:14 -05:00
Chris Beams
d7d1b495f2
Polish "Support flash attrs..." and related classes
...
- Eliminate trailing whitespace
- Update long method signatures to follow framework whitespace
conventions
Based on the following search,
$ git grep -A3 '^.public .* .*([^\{;]*$' */src/main
the strong convention throughout the framework when dealing with
methods having long signatures (i.e. many parameters) is to break
immediately after the opening paren, indent two tabs deeper and break
lines around 90 characters as necessary. Such signatures should also
be followed by a newline after the opening curly brace to break
things up visually.
The files edited in this commit had a particularly different style of
intenting arguments to align with each other vertically, but the
alignment only worked if one's tabstop is set at four spaces.
When viewed at a different tabstop value, the effect is is jarring,
both in that it is misaligned and significantly different from most
of the framework. The convention described above reads well at any
tabstop value.
2012-01-10 12:21:14 -05:00
Rossen Stoyanchev
92f8446eea
SPR-8997 Add HttpServletResponse to FlashMapManager contract.
...
This change makes the HttpServletResponse available to the methods
of FlashMapManager in addition to the HttpServletRequest.
2012-01-10 10:47:47 -05:00
Rossen Stoyanchev
66df039b03
SPR-8698 Support flash attrs and a ModelAndView return value.
...
Before this change, flash attributes could only be added if via
RedirectAttributes.addFlashAttribute(..) if the method returned
a view name or a View instance. With this change, the above is
supported with a ModelAndView return value as well.
2012-01-09 20:18:44 -05:00
Rossen Stoyanchev
fe0ffec8b9
SPR-7799 Minor fix in documentation.
2012-01-09 19:13:50 -05:00
Rossen Stoyanchev
a4b33533d3
SPR-9001 Javadoc fix
2012-01-06 18:23:46 -05:00
Costin Leau
66d4e45b58
add getCacheManager() for access to native class
2012-01-06 18:23:07 -05:00
Juergen Hoeller
e208a2de5f
JBoss AS 7, etc
2012-01-05 17:38:02 +01:00
Juergen Hoeller
adac38f91b
fixed documented bean class names in jdbc namespace xsd (SPR-8972)
2012-01-05 17:38:01 +01:00
Juergen Hoeller
affa733927
Hibernate exception translation covers NonUniqueObjectException to DuplicateKeyException case (SPR-8996)
2012-01-05 17:38:00 +01:00
Juergen Hoeller
211f8ea854
JBossNativeJdbcExtractor is compatible with JBoss AS 7 as well (SPR-8957)
2012-01-05 17:37:59 +01:00
Chris Beams
af38448181
Ignore spring-build 'docbook' directory
2011-12-23 09:30:04 +01:00
Juergen Hoeller
d331c5d1c9
correctly handle ParseException from Formatter for String->String case (SPR-8944)
2011-12-22 16:30:22 +01:00
Juergen Hoeller
3d5e245374
CacheNamespaceHandler etc
2011-12-22 15:54:17 +01:00
Juergen Hoeller
89ee5e2d80
DataBinder etc
2011-12-22 15:54:17 +01:00
Juergen Hoeller
86bef9030f
correctly handle ParseException from Formatter for String->String case (SPR-8944)
2011-12-22 15:54:17 +01:00
Costin Leau
0053319c62
Add test to corner potential bug with @CacheEvict
...
Cannot yet actually reproduce the issue, but this remains a useful
test case.
Issue: SPR-8934
2011-12-22 15:07:59 +01:00
Costin Leau
c39a14a130
Parse cache:annotation-driven key-generator attribute
...
Prior to this change, the spring-cache XSD allowed a 'key-generator'
attribute, but it was not actually parsed by AnnotationDrivenCacheBDP.
This commit adds the parsing logic as originally intended and the test
to prove it.
Issue: SPR-8939
2011-12-22 14:50:45 +01:00
Costin Leau
e9ab1a7abb
Update cache ref docs re 'args' vs 'params' naming
...
Prior to this change, the caching reference docs referred to
'root.params', whereas the actual naming should be 'root.args'. This
naming was also reflected in the "#p" syntax for specifying method args.
This change updates the documentation to refer to 'root.args' properly
and also adds "#a" syntax for specifying method arguments more
intuitively. Note that "#p" syntax remains in place as an alias for
backward compatibility.
Issue: SPR-8938
2011-12-22 14:31:21 +01:00
Chris Beams
02cd8681d4
Normalize whitespace in cache reference doc
2011-12-22 14:16:41 +01:00
Chris Beams
41c405998e
Convert CRLF=>LF on files missed earlier
...
Complete pass with `dos2unix` found additional files missed on earlier
related commit.
Issue: SPR-5608
2011-12-22 14:06:44 +01:00
Juergen Hoeller
f1168ea453
DefaultPersistenceUnitManager etc
2011-12-22 13:31:09 +01:00
Juergen Hoeller
103c648a92
added protected "isPersistenceUnitOverrideAllowed()" method to DefaultPersistenceUnitManager (SPR-8925)
2011-12-22 13:31:08 +01:00
Juergen Hoeller
e0252ad0b1
"file-encoding" attribute value is being applied correctly (SPR-8024)
2011-12-22 13:31:08 +01:00
Juergen Hoeller
4b138e0e50
Hibernate etc
2011-12-22 13:31:08 +01:00
Juergen Hoeller
07ddedd7bf
Hibernate synchronization properly unbinds Session even in case of afterCompletion exception (SPR-8757)
2011-12-22 13:31:08 +01:00
Juergen Hoeller
09ac195f0c
do not insist on a "dataSource" reference being set (SPR-8924)
2011-12-22 13:31:08 +01:00
Juergen Hoeller
2caca29498
deprecated TopLinkJpaDialect, etc
2011-12-22 13:31:07 +01:00
Juergen Hoeller
391434e089
officially deprecated TopLinkJpaDialect in favor of EclipseLink and Spring's EclipseLinkJpaDialect; updated supported version ranges for EclipseLink and OpenJPA
2011-12-22 13:31:07 +01:00
Juergen Hoeller
392247d674
Hibernate 4 LocalSessionFactoryBean implements PersistenceExceptionTranslator interface as well (SPR-8952); consistent extending of HibernateExceptionTranslator for Hibernate 3 as well as Hibernate 4
2011-12-22 13:26:45 +01:00
Juergen Hoeller
1c9fe623f9
further post-GA fixes
2011-12-22 13:26:09 +01:00
Juergen Hoeller
eb31528979
added "entityInterceptor" property to Hibernate 4 LocalSessionFactoryBean (SPR-8940)
2011-12-22 13:23:56 +01:00
Juergen Hoeller
00ff8fa2cc
corrected fix for QuartzJobBean to work with Quartz 2.0/2.1 (SPR-8889)
2011-12-22 13:19:18 +01:00
Juergen Hoeller
cc2e558fe0
prepared for 3.1.1
2011-12-22 13:19:18 +01:00
Juergen Hoeller
e0231438cd
fixed "packagesToScan" to avoid additional provider scan (SPR-8936)
2011-12-22 13:19:18 +01:00
Chris Beams
02452a1af9
Minor copy edits to README
2011-12-22 13:19:18 +01:00
Chris Beams
36d941fc99
Add readme
2011-12-22 13:19:18 +01:00
Chris Beams
88913f2b23
Convert CRLF (dos) to LF (unix)
...
Prior to this change, roughly 5% (~300 out of 6000+) of files under the
source tree had CRLF line endings as opposed to the majority which have
LF endings.
This change normalizes these files to LF for consistency going forward.
Command used:
$ git ls-files | xargs file | grep CRLF | cut -d":" -f1 | xargs dos2unix
Issue: SPR-5608
2011-12-21 14:52:47 +01:00
Rossen Stoyanchev
e1b645368a
Add missing (empty) source folders
2011-12-20 11:17:14 -05:00
Chris Beams
e158f61e93
Increment version to 3.1.1.BUILD-SNAPSHOT
2011-12-16 11:59:06 +01:00
Juergen Hoeller
dfc5b482c9
IntelliJ IDEA 11 project setup
2011-12-16 11:56:51 +01:00
Chris Beams
abb5fc094a
Add spring-build 2.5.2
...
spring-build was previously included via an svn:external. Adding
directly to the source tree under Git to avoid the need for a git
submodule.
In order to build from any earlier commit, it is recommended to
export spring-build or symlink an existing copy into the root
of the spring-framework project and then build normally.
$ svn export https://src.springsource.org/svn/spring-build/tags/project-build-2.5.2 spring-build
2011-12-16 11:56:51 +01:00
Chris Beams
ac107d0c2a
Release Spring Framework 3.1.0.RELEASE
2011-12-13 16:35:49 +00:00
Chris Beams
fae32cea8e
Update "What's new in 3.1" ref docs
2011-12-12 23:42:52 +00:00
Chris Beams
153d38f1c8
Polish Javadoc
2011-12-12 23:42:39 +00:00
Juergen Hoeller
8f18337543
final preparations for 3.1 GA release
2011-12-12 23:38:05 +00:00
Juergen Hoeller
6796a775d2
overhaul of support package arrangements; added missing package-info files
2011-12-12 23:32:31 +00:00
Juergen Hoeller
1c45c51fe1
overhaul of support package arrangements for handler method processing; added missing package-info files
2011-12-12 23:20:03 +00:00
Chris Beams
2065b788c4
Re-introduce system-properties-mode to spring-context 3.1 XSD
...
See JIRA issue for complete details.
Issue: SPR-8901
2011-12-12 19:20:53 +00:00
Chris Beams
e9da854848
Fix typo in MVC reference documentation
2011-12-12 19:20:05 +00:00
Juergen Hoeller
0042243a11
SmartLifecycle beans in Lifecycle dependency graphs are only being started when isAutoStartup=true (SPR-8912)
2011-12-12 18:33:29 +00:00
Juergen Hoeller
2fa9ef9f5a
do not reset Session itself on "clear()" in order to properly interact with Open Session in View (SPR-8909)
2011-12-12 15:53:18 +00:00
Juergen Hoeller
d507c2b927
"dispatchOptionsRequest" only sets the default 'Allow' header if actually needed (SPR-7837); "dispatchTraceRequest" only generates default response body if actually needed
2011-12-12 15:30:04 +00:00
Juergen Hoeller
450a3d7eee
polishing
2011-12-12 15:04:11 +00:00
Chris Beams
23e58aa718
Preserve programmatically set context config locations
...
Prior to this fix, ContextLoader(Listener)'s would overwrite any
value set directly against a WebApplicationContext's #setConfigLocation
method. This is a likely scenario when using Spring 3.1's new
WebApplicationInitializer support.
Now a check is performed to ensure that the ContextLoader init-param
value is non-null before doing the overwriting.
Added tests to ensure that all expected precedence, overwriting and
defaulting of context config locations works as expected.
Issue: SPR-8510
2011-12-12 14:42:24 +00:00
Chris Beams
ec1b016602
Improve unsupported operation messages in GenericWAC
2011-12-12 14:41:37 +00:00
Sam Brannen
5ebabcf2b3
polishing Javadoc for marshalling message converters
2011-12-12 00:29:11 +00:00
Juergen Hoeller
1141a1d610
polishing
2011-12-11 23:07:07 +00:00
Juergen Hoeller
dd7950638d
MethodValidationPostProcessor, MappingJacksonMessageConverter, etc
2011-12-11 22:10:11 +00:00
Juergen Hoeller
098342918c
reworked JsonMessageConverter contribution into MappingJacksonMessageConverter, aligned with MappingJacksonHttpMessageConverter and MappingJacksonJsonView
2011-12-11 22:09:20 +00:00
Juergen Hoeller
8f69e81197
polishing
2011-12-11 22:07:37 +00:00
Juergen Hoeller
d8e640d708
polishing
2011-12-11 22:07:12 +00:00
Juergen Hoeller
0f75cebdff
@Transactional qualifiers match against transaction manager definitions in parent contexts as well (SPR-7679)
2011-12-11 13:26:36 +00:00
Chris Beams
d4123d0637
Support use of @Scheduled against JDK proxies
...
Prior to this change, ScheduledAnnotationBeanPostProcessor found any
@Scheduled methods against the ultimate targetClass for a given bean
and then attempted to invoke that method against the bean instance. In
cases where the bean instance was in fact a JDK proxy, this attempt
would fail because the proxy is not an instance of the target class.
Now SABPP still attempts to find @Scheduled methods against the target
class, but subsequently checks to see if the bean is a JDK proxy, and if
so attempts to find the corresponding method on the proxy itself. If it
cannot be found (e.g. the @Scheduled method was declared only at the
concrete class level), an appropriate exception is thrown, explaining to
the users their options: (a) use proxyTargetClass=true and go with
subclass proxies which won't have this problem, or (b) pull the
@Scheduled method up into an interface.
Issue: SPR-8651
2011-12-11 13:00:30 +00:00
Juergen Hoeller
439b7750d4
fixed "hibernateManagedSession" mode to actually work against Hibernate 4.0 (SPR-8776)
2011-12-11 12:51:57 +00:00
Chris Beams
48836e2ebb
Allow parameters in FactoryBean-returning @Bean methods
...
Prior to this change, an assumption was made in
AbstractAutowireCapableBeanFactory that any factory-method would have
zero parameters. This may not be the case in @Bean methods.
We now look for the factory-method by name in a more flexible fashion
that accomodates the possibility of method parameters.
There remains at least one edge cases here where things could still fail,
for example a @Configuration class could have two FactoryBean-returning
methods of the same name, but each with different generic FactoryBean
types and different parameter lists. In this case, the implementation
may infer and return the wrong object type, as it currently returns
the first match for the given factory-method name. The complexity cost
of ensuring that this never happens is not likely worth the trouble
given the very low likelihood of such an arrangement.
Issue: SPR-8762
2011-12-10 19:32:02 +00:00
Chris Beams
866999764d
Polish whitespace in ConfigurationClassEnhancer
2011-12-10 19:31:18 +00:00
Chris Beams
06d06d4aa9
Mention SystemEnvironmentPropertySource in related Javadoc
...
Issue: SPR-8869
2011-12-10 19:30:57 +00:00
Chris Beams
0449f6cb84
Polish @Scope Javadoc
2011-12-10 19:30:32 +00:00
Chris Beams
34798a47ab
Fix warnings, polish Javadoc for @Validated et al.
2011-12-10 15:45:17 +00:00
Juergen Hoeller
e648245eb3
added MethodValidationInterceptor/PostProcessor for Hibernate Validator 4.2 based method validation; renamed Spring's variant of @Valid to @Validated
2011-12-09 18:09:14 +00:00
Juergen Hoeller
2dba480d9d
used specific SLF4J versions for running the test suites of individual modules (fixing the Hibernate Validator 4.2 upgrade)
2011-12-09 17:53:29 +00:00
Juergen Hoeller
9d93b5429f
fixed assertion message
2011-12-09 16:01:06 +00:00
Chris Beams
ede8482f81
Revert .web.servlet to Hibernate Validator 4.1.0.GA
...
In order to determine why classloading errors occur after
upgrading to 4.2.0.Final.
To demonstrate this error, uncomment the 4.2.0.Final dependency in
ivy.xml and run `ant test` within the .web.servlet module.
2011-12-09 13:09:38 +00:00
Chris Beams
615bb29f92
Revert .context to Hibernate Validator 4.1.0.GA
...
In order to determine why Ehcache classloading errors occur after
upgrading to 4.2.0.Final.
To demonstrate this error, uncomment the 4.2.0.Final dependency in
ivy.xml and run `ant test` within the .context module.
2011-12-09 13:09:25 +00:00
Chris Beams
1c58dd9d89
Upgrade to Hibernate Validator 4.2.0.Final
...
4.1/4.2 use is optional; users may compile and run against validator
versions back to 4.0.
2011-12-09 13:09:11 +00:00
Chris Beams
481c8455fd
Upgrade to Hibernate Core 4.0.0.CR7
...
From earlier dependence on 4.0.0.CR4.
Spring 3.1.x will upgrade to Hibernate 4.0.0.Final as soon as possible
after its release.
Pom files have also been updated to 'recommend' use of Hibernate
3.6.0.Final or better (earlier value was 3.3.1.GA).
2011-12-09 13:08:54 +00:00
Chris Beams
a962bd0677
Revert accidental changes in Eclipse/pom metadata
2011-12-09 13:08:37 +00:00
Juergen Hoeller
0f1affe931
JmsInvokerClientInterceptor/FactoryBean always uses createConnection/createSession when on JMS 1.1
2011-12-09 12:06:50 +00:00
David Syer
1adf82503b
SPR-7404: Fixed metadata
2011-12-09 11:36:54 +00:00
David Syer
4242b32624
Update spring-context dependencies in pom
2011-12-09 11:36:35 +00:00
David Syer
7ec9292e54
SPR-7404: Added JsonMessageConverter, borrowing from Spring AMQP
2011-12-09 11:03:40 +00:00
Arjen Poutsma
3beef9a92e
SPR-8883 - RestTemplate.headForHeaders throws "IllegalArgumentException: No InputStream specified" on server resource which status code are 4xx
2011-12-08 19:17:48 +00:00
Chris Beams
b94040f329
Remove unnecessary mentions of aspectjrt/aspectjweaver
...
aspectjrt is a subset of aspectjweaver. Eliminate mentions of aspectjrt
where aspectjweaver is already necessary (e.g. LTW), and do not mention
aspectjweaver where only aspectrt is required (e.g. @Aspect proxying)
Also bump required version of aspect* libs from 1.5 to 1.6.8, reflecting
OSGi and pom metadata.
Issue: SPR-8896
2011-12-08 13:46:47 +00:00
Chris Beams
690d33e14f
Update @PropertySource Javadoc re: ${...} placeholders
...
Issue: SPR-8539
2011-12-08 13:46:27 +00:00
Costin Leau
312b1aa3d6
+ add cache aspectj aspect
2011-12-08 13:20:01 +00:00
Rossen Stoyanchev
c472a163f1
SPR-8572 Support Void.class as response type in RestTemplate.
2011-12-08 03:59:28 +00:00
Rossen Stoyanchev
6f150e4f07
SPR-8898 Allow match by trailing slash in RequestMappingHandlerMapping.
2011-12-08 03:38:50 +00:00
Juergen Hoeller
569426dfdf
restored DataBinder's ability to bind to an auto-growing List with unknown element type (SPR-8828)
2011-12-07 21:27:26 +00:00
Arjen Poutsma
f9144ea1ea
SPR-8367 - 3.1.0.M2 update of the RestTemplate for Apache HTTP Components will default to sending 2 requests on authentication and doesn't support HttpContext parameters without significant extention/rewrite
2011-12-07 01:22:07 +00:00
Arjen Poutsma
29e969039d
SPR-8349 - Ability to specify ResourceResolver property for SchemaFactory in Jaxb2Marshaller
2011-12-07 00:56:03 +00:00
Juergen Hoeller
7428b57052
final refinements for 3.1 GA
2011-12-07 00:01:53 +00:00
Juergen Hoeller
83c83d4d15
fixed media type resolution algorithm
2011-12-06 23:53:22 +00:00
Juergen Hoeller
34a4fba335
ResourceHttpRequestHandler sends content without content-type header if no media type found (SPR-7713); ResourceHttpRequestHandler and ContentNegotiatingViewResolver use consistent mime type resolution
2011-12-06 22:54:47 +00:00
Juergen Hoeller
426863f790
avoid swallowing of IOException
2011-12-06 22:51:57 +00:00
Costin Leau
f74789ffbe
optimize AJ pointcut definition (SPR-8890)
2011-12-06 22:38:50 +00:00
Juergen Hoeller
e0d922d352
ConversionService is able to work with "Collections.emptyList()" as target type (again; SPR-7293)
2011-12-06 21:17:25 +00:00
Juergen Hoeller
5ab2bf16a5
fixed pointcut for type-level annotation to only apply to public methods (SPR-8890)
2011-12-06 21:14:31 +00:00
Juergen Hoeller
3a62aa053e
fixed pointcut for type-level annotation to only apply to public methods (SPR-8890)
2011-12-06 21:03:57 +00:00
Juergen Hoeller
a347e4d3c2
optimized AnnotationTransactionAspect pointcut to avoid runtime checks (SPR-8890)
2011-12-06 20:48:49 +00:00
Juergen Hoeller
d050a472a2
added "mappingResources" property to LocalContainerEntityManagerFactoryBean (pointing to orm.xml; SPR-8440)
2011-12-06 18:18:57 +00:00
Costin Leau
1a2a3dd02a
+ update AJ tests
2011-12-06 14:13:29 +00:00
Costin Leau
cb3524ff30
+ fix failing cache tests
...
+ renamed afterInvocation to beforeInvocation (and changed the docs and tests accordingly)
2011-12-06 14:05:33 +00:00
Costin Leau
735ba9dcde
SPR-8082
...
+ support generic discovery of multiple annotations of the same type (such as stereotypes)
2011-12-06 13:32:25 +00:00
Chris Beams
5fe0804017
Remove references to -with-dependencies distribution
...
Issue: SPR-7788, SPR-6575
2011-12-06 13:19:35 +00:00
Chris Beams
28ff473091
Allow multiple @Filter 'value' args for concision
...
Prior to this change, to specify two or more annotation include/exclude
filters, one would declare @ComponentScan as follows:
@ComponentScan(basePackages="example.scannable",
useDefaultFilters=false,
includeFilters={
@Filter(MyStereotype.class),
@Filter(MyComponent.class)
})
This was because @Filter's 'value' attribute accepted exactly one
argument.
Now, any given @Filter may accept one or more value arguments, allowing
for more concise @ComponentScan declarations:
@ComponentScan(basePackages="example.scannable",
useDefaultFilters=false,
includeFilters=@Filter({MyStereotype.class, MyComponent.class}))
Supplying multiple arguments in this way assumes that they are the same
type of filter, e.g. ANNOTATION, ASSIGNABLE_TYPE, or CUSTOM. To declare
multiple *different* types of filters, multiple @Filter annotations are
still required, e.g.:
@ComponentScan(
includeFilters={
@Filter(type=ANNOTATION, value=MyStereotype.class),
@Filter(type=ASSIGNABLE_TYPE, value={Foo.class, Bar.class})
})
Note that specifying zero arguments, e.g. @Filter({}) is nonsensical; it
will have no effect on component scanning, but does not raise an error.
Issue: SPR-8881
2011-12-06 12:18:10 +00:00
Chris Beams
df7bda5637
Constrain targets for @Filter declaration
...
For clarity, add @Target({}) to definition of @Filter, constraining it
to complex annotation composition only; i.e. it cannot be placed on
any element, only within annotations, e.g.
@ComponentScan(includeFilters=@Filter(...))
is legal, while
@Filter
public class MyType { }
is not.
Also, widen @Retention from SOURCE to RUNTIME, even though it is not
technically necessary, as all parsing of @Filter annotations happens via
ASM, i.e. at the source level. This change is made primarily for
consistency (@ComponentScan's Retention is RUNTIME) and in avoidance of
potential confusion or surprise on the part of those casually browsing
the code.
2011-12-06 12:17:54 +00:00
Chris Beams
c2c224958d
Polish WebApplicationInitializer Javadoc
...
Issue: SPR-8897
2011-12-06 12:17:42 +00:00
Juergen Hoeller
aedccec67e
restored SpringValidatorAdapter's ability to handle bean constraints with property paths (SPR-8895)
2011-12-05 22:37:55 +00:00
Juergen Hoeller
27471e0555
added support for JPA 2.1 unwrap method on EntityManagerFactory interface
2011-12-05 21:34:44 +00:00
Juergen Hoeller
66b4eb16a5
Portlet MVC annotation mapping allows for distributing action names across controllers (SPR-7685)
2011-12-05 21:20:27 +00:00
Juergen Hoeller
bea5016e53
fixed validation test failures
2011-12-03 17:03:33 +00:00
Juergen Hoeller
84be348cb0
log or rethrow original ConversionFailedException as appropriate
2011-12-03 15:57:19 +00:00
Juergen Hoeller
207b2315ed
added validation hints support to ValidationUtils as well (SPR-7847)
2011-12-03 15:54:52 +00:00
Juergen Hoeller
1a2bbe5c4d
consistent specification of standard meta-annotations
2011-12-03 15:47:10 +00:00
Juergen Hoeller
00133179df
added SmartValidator interface with general support for validation hints; added custom @Valid annotation with support for JSR-303 validation groups; JSR-303 SpringValidatorAdapter and MVC data binding provide support for validation groups (SPR-6373)
2011-12-03 15:46:31 +00:00
Juergen Hoeller
49a2aaf023
added SmartValidator interface with general support for validation hints; added custom @Valid annotation with support for JSR-303 validation groups; JSR-303 SpringValidatorAdapter and MVC data binding provide support for validation groups (SPR-6373)
2011-12-03 15:44:33 +00:00
Rossen Stoyanchev
4bfcb79ae3
SPR-8892 Add String constants to MediaType.
2011-12-02 18:58:41 +00:00
Juergen Hoeller
21f61e3680
Portlet session mutex uses global session attribute to be shared among all portlets in the session (SPR-8888)
2011-12-02 12:03:35 +00:00
Arjen Poutsma
53cb529162
SPR-8809 - RestTemplate headers not sent when bufferRequestBody is false
2011-12-02 11:29:47 +00:00
Rossen Stoyanchev
9f98f77c3e
SPR-8863 Add RequestContext.getPathToServlet() method.
...
This method allows a view to access the combined context path and
servlet mapping path for prefixing URLs without having to specify
the literal part of a servlet mapping such as "/main/*")
explicitly everywhere. For example:
${requestContext.pathToServlet}/css/main.css
2011-12-01 22:56:51 +00:00
Juergen Hoeller
0ef3beb462
prepared for 3.1 GA
2011-12-01 18:52:12 +00:00
Juergen Hoeller
33b53b7cca
alignment with 3.0.7 backports (SPR-8674)
2011-12-01 18:51:36 +00:00
Juergen Hoeller
71e0a506b9
polishing
2011-12-01 15:12:26 +00:00
Juergen Hoeller
45a0ae3fb9
polishing
2011-12-01 15:11:32 +00:00
Rossen Stoyanchev
ca4eafd4dd
SPR-8808 Remove excludeFilter from javadoc examples in @EnableWebMvc.
2011-12-01 14:35:36 +00:00
Juergen Hoeller
f75e832e7c
polishing
2011-12-01 13:34:12 +00:00
Juergen Hoeller
dc41daa3db
renamed 'isJava6VisibilityBridgeMethodPair' to 'isVisibilityBridgeMethodPair' (SPR-8660)
2011-12-01 13:14:06 +00:00
Juergen Hoeller
2b122816af
fixed QuartzJobBean to work with Quartz 2.0/2.1 as well (SPR-8889)
2011-12-01 12:56:47 +00:00
Juergen Hoeller
ffa4784628
polishing (SPR-8005)
2011-12-01 12:53:47 +00:00
Costin Leau
0a611aa776
SPR-8082
...
+ fix internal cache causing the multiple annotations key/conditions to overlap
2011-11-30 15:21:09 +00:00
Arjen Poutsma
91c14bd1fe
SPR-8809 - RestTemplate headers not sent when bufferRequestBody is false
2011-11-30 11:07:38 +00:00
Sam Brannen
951514a576
removed unused imports
2011-11-29 21:29:15 +00:00
Juergen Hoeller
d6d169ac56
resolved package dependency tangles
2011-11-29 01:16:09 +00:00
Juergen Hoeller
686ae8f7b3
final preparations for 3.1 RC2 release
2011-11-28 22:57:33 +00:00
Juergen Hoeller
9f3e333084
fixed NotificationListenerBean assertion in constructor (SPR-8091)
2011-11-28 22:47:48 +00:00
Juergen Hoeller
c2eafdb2fb
AbstractCachingViewResolver caches unresolved view names by default ("cacheUnresolved"=true; SPR-8173)
2011-11-28 22:46:53 +00:00
Juergen Hoeller
1bb6d29be2
AbstractCachingViewResolver caches unresolved view names by default ("cacheUnresolved"=true; SPR-8173)
2011-11-28 22:34:29 +00:00
Chris Beams
6991cd9cdf
Allow @Configuration classes to self-@ComponentScan
...
Prior to this change, a @Configuration classes that @ComponentScan
themselves would result in a ConflictingBeanDefinitionException.
For example:
package com.foo.config;
@Configuration
@ComponentScan("com.foo");
public class AppConfig {
// ...
}
This resulted in a ConflictingBeanDefinitionException that users have
typically worked around in the following fashion:
package com.foo.config;
@Configuration
@ComponentScan(basePackages="com.foo",
excludeFilters=@Filter(value=ANNOTATION_TYPE, type=Configuration.class);
public class AppConfig {
// ...
}
This is obviously more verbose and cumbersome than would be desirable,
and furthermore potentially too constraining as it prohibits the ability
to include other legitimate @Configuration classes via scanning.
The exception was being thrown because of a logic problem in
ClassPathBeanDefinitionScanner. The bean definition for AppConfig gets
registered once by the user (e.g. when constructing an
AnnotationConfigApplicationContext), then again when performing the
component scan for 'com.foo'. Prior to this change,
ClassPathBeanDefinitionScanner's #isCompatible returned false if the new
bean definition was anything other than an AnnotatedBeanDefinition. The
intention of this check is really to see whether the new bean definition
is a *scanned* bean definition, i.e. the result of a component-scanning
operation. If so, then it becomes safe to assume that the original bean
definition is the one that should be kept, as it is the one explicitly
registered by the user.
Therefore, the fix is as simple as narrowing the instanceof check from
AnnotatedBeanDefinition to its ScannedGenericBeanDefinition subtype.
Note that this commit partially reverts changes introduced in SPR-8307
that explicitly caught ConflictingBeanDefinitionExceptions when
processing recursive @ComponentScan definitions, and rethrew as a
"CircularComponentScanException. With the changes in this commit,
such CBDEs will no longer occur, obviating the need for this check and
for this custom exception type altogether.
Issue: SPR-8808, SPR-8307
2011-11-28 21:35:38 +00:00
Juergen Hoeller
450c75337f
fixed getAsText javadoc (SPR-7890)
2011-11-28 21:14:40 +00:00
Juergen Hoeller
fa9a7b18c6
refined Resource "exists()" check for HTTP URLs to always return false for 404 status (SPR-7881)
2011-11-28 21:11:57 +00:00
Juergen Hoeller
2cb287a01b
JPA EntityManagerFactoryUtils silently ignores IllegalArgumentExceptions from setHint calls (SPR-7947)
2011-11-28 20:54:37 +00:00
Juergen Hoeller
e6272312a8
allow "packagesToScan" to be optional on LocalSessionFactoryBean (SPR-8812)
2011-11-28 20:48:21 +00:00
Juergen Hoeller
b391629de1
LinkedCaseInsensitiveMap overrides putAll method as well (for IBM JDK 1.6 compatibility; SPR-7969)
2011-11-28 20:48:02 +00:00
Juergen Hoeller
e7d1b5e0ee
JDO PersistenceManager synchronization performs close attempt after completion (if necessary; SPR-8846)
2011-11-28 19:38:28 +00:00
Juergen Hoeller
c9b36fb4e6
TransactionSynchronizationManager eagerly cleans up void ResourceHolders on any access (SPR-8844, SPR-8845)
2011-11-28 18:54:11 +00:00
Rossen Stoyanchev
a9a068e678
SPR-8867 Fix issue with Content-Length header and UTF-8 charset.
...
The AbstractHttpMessageConverter was using the requested Content-Type
rather than the actual response Content-Type to determine the length
of the content. This can lead to a problem when a controller returns
a ResponseEntity with a Content-Type header that ignores (overrides)
the requested Content-Type. The fix ensures that actual response
Content-Type is the one used both to write to the response and to
determine the length of the content.
2011-11-28 18:42:57 +00:00
Juergen Hoeller
aa7fcb5431
polishing
2011-11-28 18:38:26 +00:00
Juergen Hoeller
81e9f6cc2c
fixed setRootObject check in StandardEvaluationContext (SPR-8241)
2011-11-28 17:34:47 +00:00
Juergen Hoeller
1843bdde35
added "forwarder" property to ConnectorServerFactoryBean, accepting an MBeanServerForwarder (SPR-8820)
2011-11-28 17:17:47 +00:00
Juergen Hoeller
b55040cf02
Servlet/PortletContextResource's getFile prefers "file:" URL resolution over calling getRealPath (SPR-8461)
2011-11-28 16:51:42 +00:00
Juergen Hoeller
bba70a7f12
renamed ValueWrapperImpl to SimpleValueWrapper (for use in Cache implementations)
2011-11-28 15:52:42 +00:00
Juergen Hoeller
372d461bef
upgraded compile-time dependency to EHCache 2.0.0
2011-11-28 15:10:03 +00:00
Juergen Hoeller
a09a0316b7
exposed EHCache 1.7's "statisticsEnabled"/"sampledStatisticsEnabled" on EhCacheFactoryBean ()
2011-11-28 15:05:53 +00:00
Juergen Hoeller
61a5ab9d34
fixed "formMultiSelect"/"formCheckboxes" FreeMarker macros to compare against actual field value (SPR-7721)
2011-11-28 14:42:03 +00:00
Juergen Hoeller
3f7dccddd2
added getObjectMapper() accessor to MappingJacksonHttpMessageConverter (SPR-8605)
2011-11-28 14:34:59 +00:00
Costin Leau
ac52433004
+ update cache docs
2011-11-28 14:00:26 +00:00
Juergen Hoeller
263dd559b7
SimpleJdbcTestUtils executeSqlScript properly closes its LineNumberReader after use (SPR-8872)
2011-11-28 13:27:21 +00:00
Costin Leau
d10f2258e8
+ update aspectj cache aspects
...
+ update integration tests
2011-11-28 13:05:59 +00:00
Juergen Hoeller
1e2f49104d
SpringValidatorAdapter accepts non-indexed set paths (for Hibernate Validator compatibility; SPR-8634)
2011-11-28 12:54:03 +00:00
Costin Leau
f91f778fb5
+ align @CacheEvict behaviour with @Cacheable and @CachePut
...
+ add flag for post method execution
+ add integration tests
2011-11-28 12:06:34 +00:00
Costin Leau
b2bc7534c2
+ minor doc fix
2011-11-28 10:28:14 +00:00
Chris Beams
d35620511e
Introduce @EnableSpringConfigured
...
Equivalent to <context:spring-configured/>.
Also update @EnableLoadTimeWeaving Javadoc and spring-configured XSD
documentation to reflect.
Issue: SPR-7888
2011-11-28 06:57:17 +00:00
Chris Beams
4318ccd9d5
Refactor BeanConfigurerTests
...
In preparation for the introduction of @EnableSpringConfigured
Issue: SPR-7888
2011-11-28 06:57:09 +00:00
Chris Beams
22e37aac44
Polish .aop copy of SpringConfiguredBDP
...
Add 'infrastructure' bean role to follow suit with original .context SCPDP
Encountered while working on SPR-7888 (@EnableSpringConfigured)
2011-11-28 06:57:04 +00:00
Sam Brannen
e90c7eadc2
[SPR-7996] Improved documentation of the context caching mechanism in the TestContext framework:
...
- now discussing cache key generation and uniqueness
- now discussing cache scope, test suites, and forking
2011-11-28 00:45:24 +00:00
Juergen Hoeller
93db3df35b
added "namingStrategy" property to Hibernate 4 LocalSessionFactoryBean variant (SPR-8864)
2011-11-28 00:04:55 +00:00
Juergen Hoeller
f50f3d2405
HibernateJpaDialect does NOT expose underlying Session for underlying SessionFactory anymore (SPR-8771)
2011-11-27 23:50:37 +00:00
Juergen Hoeller
16933a511d
introduced JobDetail/CronTrigger/SimpleTriggerFactoryBean variants for Quartz 2.0/2.1 support (SPR-8275?)
2011-11-27 23:32:03 +00:00
Chris Beams
68f61f3b3c
Fix nested @Component annotation instantiation bug
...
3.1 M2 introduced a regression that causes false positives during
@Configuration class candidate checks. Now performing a call to
AnnotationMetadata#isInterface in addition to checks for @Component and
@Bean annotations when determining whether a candidate is a 'lite'
configuration class. Annotations are in the end interfaces, so both
are filtered out at once.
Issue: SPR-8761
2011-11-26 08:04:39 +00:00
Chris Beams
faba5941f7
Provide ConfigurationClass#toString implementation
...
For ease during debugging; prompted while fixing SPR-8761.
2011-11-26 08:04:35 +00:00
Chris Beams
c6a0f1ef25
Polish logging for core.env package
2011-11-26 05:20:32 +00:00
Chris Beams
91f05c8b9d
Avoid creation of unnecessary Environment objects
...
Prior to this change, any instantiation of an
AnnotationConfigApplicationContext would trigger the creation of three
StandardEnvironment objects: one for the ApplicationContext, one for the
AnnotatedBeanDefinitionReader, and one for the
ClassPathBeanDefinitionScanner.
The latter two are immediately swapped out when the ApplicationContext
delegates its environment to these subordinate objects anyway. Not only
is it inefficient to create these two extra Environments, it creates
confusion when debug-level logging is turned on. From the user's
perspective and in practice, there is only one Environment; logging
should reflect that.
This change ensures that only one Environment object is ever created for
a given ApplicationContext. If an AnnotatedBeanDefinitionReader or
ClassPathBeanDefinitionScanner are used in isolation, e.g. against a
plain BeanFactory/BeanDefinitionRegistry, then they will still create
their own local StandardEnvironment object.
All public API compatibility is preserved; new constructors have been
added where necessary to accommodate passing an Environment directly
to ABDR ar CPBDS.
2011-11-26 05:20:29 +00:00
Chris Beams
143db0d8de
Introduce SystemEnvironmentPropertySource
...
Properties such as 'spring.profiles.active' cannot be specified at the
command line under Bash and other shells due to variable naming
constraints. This change allows for exchanging underscores for periods
as well as capitalizing property names for more idiomatic naming when
dealing with environment variables.
For example, Spring will respect equally either of the following:
spring.profiles.active=p1 java -classpath ... MyApp
SPRING_PROFILES_ACTIVE=p1 java -classpath ... MyApp
The former is not possible under Bash, while the latter is. No code or
configuration changes are required; SystemEnvironmentPropertySource
adapts for these varations automatically.
SystemEnvironmentPropertySource is added by default as
"systemEnvironment" to StandardEnvironment and all subtypes, taking the
place of the plain MapPropertySource that was in use before this change.
Issue: SPR-8869
2011-11-26 05:20:25 +00:00
Chris Beams
2c26a23c46
Rename EnvironmentTests => StandardEnvironmentTests
2011-11-26 05:20:20 +00:00
Chris Beams
a53d592f62
Use 'name' vs 'key' consistently in PropertySource
2011-11-26 05:20:17 +00:00
Chris Beams
03f6d23536
Reference @EnableCaching from spring-cache XSD
2011-11-26 05:20:08 +00:00
Chris Beams
333f9f31a7
Polish imports
2011-11-26 05:20:04 +00:00
Costin Leau
3416a26136
+ add docs
...
+ rename cache:definitions to cache:caching (to be consistent with annotations)
2011-11-25 19:40:05 +00:00
Chris Beams
549c663fba
Fix generics warnings in AbstractBeanFactory
2011-11-24 21:40:02 +00:00
Chris Beams
0113ea91a3
Support by-type lookup/injection of primitive types
...
Allowing beans of primitive type to be looked up via getBean(Class), or
to be injected using @Autowired or @Injected or @Resource. Prior to
these changes, an attempt to lookup or inject a bean of, for example,
type boolean would fail because all spring beans are Objects, regardless
of initial type due to the way that ObjectFactory works.
Now these attempts to lookup or inject primitive types work, thanks to
simple changes in AbstractBeanFactory using ClassUtils#isAssignable
methods instead of the built-in Class#isAssignableFrom. The former takes
into account primitives and their object wrapper types, whereas the
latter does not.
The need to declare, look up or inject primitive-typed beans is probably
low -- how often does one need a bean of type boolean or int after all?.
Prior to the introduction of @Bean methods in Spring 3.0, it was not
possible in practice to register primitive beans, so this issue never
came up. Now that one can declare primitive-typed beans, it does make
sense that we properly support by-type lookup and injection without
forcing the user to work with object wrappers.
Issue: SPR-8874
2011-11-24 21:39:58 +00:00
Rossen Stoyanchev
ca3d774f5c
Add detectHandlerMethodsInAncestorContexts property to AbstractHandlerMethodMapping.
2011-11-23 18:59:08 +00:00
Rossen Stoyanchev
b5bcfa0ae3
SPR-8858 Fix in AntPathMatcher.combine(..)
...
Currently the combine method consolidates "/*" and "/hotel"
into "/hotel". However if the first pattern contains URI template
variables, the consolidation seems wrong. The fix is to prevent
the consolidation if the first pattern contains "{".
2011-11-23 17:53:18 +00:00
Rossen Stoyanchev
e695a21688
SPR-8862 Fix issue with matching negated header values.
2011-11-23 15:23:55 +00:00
Rossen Stoyanchev
6eba6f2059
Document MVC Java config side-by-side with the MVC namespace.
2011-11-22 23:25:12 +00:00
Chris Beams
b2ae3dbb47
Avoid 'type mismatch' errors in ExtendedBeanInfo
...
Certain edge cases around return type covariance can trigger an
IntrospectionException when trying to create a new PropertyDescriptor;
particularly around the addition of write methods with parameter types
that do not match read method return types.
These type mismatch exceptions are raised during normal Introspector
operations as well (i.e. without ExtendedBeanInfo in the mix), but
the Introspector intentionally supresses them. In covariance cases,
there is often already a suitable write method present, e.g. discovered
in a supertype or superinterface, that, with the benefit of bridge
methods works just fine in practice at runtime. That is to say, in
these suppression cases, the rejection of the write method is 'OK' in
that there is already a write method present that can handle a call.
ExtendedBeanInfo now mirrors this suppression behavior, but does issue
a WARN-level log message to let the user know.
An important effect of this change is that ExtendedBeanInfo now modifies
the delegate BeanInfo object, whereas previously it did not. In practice
this probably matters very little, but it is a design change worth
noting. The reason for this change was to avoid the need to create new
PropertyDescriptors wherever possible. It was discovered that by updating
existing PDs, one can avoid these IntrospectionExceptions a greater
percentage of the time.
Issue: SPR-8806
2011-11-19 21:07:10 +00:00
Rossen Stoyanchev
947b5fefff
SPR-8851 Switch to logging debug messages in AbstractWebArgumentResolverAdapter
2011-11-18 16:18:55 +00:00
Rossen Stoyanchev
60ee0bb8f4
SPR-8020 Support UriComponentsBuilder as a controller method argument.
...
The UriComponentsBuilder instance passed into the method is initialized
with current request information including host, scheme, port, context
path, and the servlet mapping's literal part.
Also added shortcut methods to buildAndExpand in UriComponentsBuilder.
2011-11-18 14:36:44 +00:00
Rossen Stoyanchev
e4fada56ab
SPR-8859 Fix issue with prototype controllers in RequestMappingHandlerAdapter.
2011-11-18 11:32:01 +00:00
Chris Beams
c03a950706
Polish tests and Javadoc for SPR-8824
...
Issue: SPR-8824
2011-11-18 03:36:26 +00:00
Chris Beams
224cf11fcb
Make @Configuration class enhancement idempotent
...
The registration of more than one ConfigurationClassPostProcessor
results in the double-enhancement of @Configuration classes, i.e. a
two-deep CGLIB subclass hierarchy is created.
As a side-effect of changes introduced in 3.1 M2 fixing SPR-8080, this
behavior now results in an infinite loop at CGLIB callback processing
time, leading to a StackOverflowException which is then suppressed by
the container, and ultimately results in the user being presented with
an unintuitive "Bean 'x' is not already in creation" exception.
This fix introduces a marker interface 'EnhancedConfiguration' to be
implemented by all generated @Configuration subclasses. The
configuration class enhancer can then behave in an idempotent fashion
by checking to see whether a candidate @Configuration class is already
assignable to this type i.e. already enhanced and ignore it if so.
Naturally, users should avoid registering more than one
ConfigurationClassPostProcessor, but this is not always possible. As
with the case in point, SPR-8824 originates from problems with
spring-data-neo4j, which explicitly registers its own
ConfigurationClassPostProcessor. The user has little control over this
arrangement, so it is important that the framework is defensive as
described above.
Issue: SPR-8824
2011-11-18 03:25:16 +00:00
Rossen Stoyanchev
01cc76f8e3
SPR-8697 Flag '*/subtype' as illegal.
2011-11-17 20:15:49 +00:00
Sam Brannen
e7377e3c27
consistency and formatting
2011-11-17 15:09:02 +00:00
Rossen Stoyanchev
63e235f215
SPR-8750 Refine 'Content-Type' update in MockHttpServletRequest/Response.
...
The initial solution kept these three in full sync at all times:
contentType field, characterEncoding field, 'Content-Type' header.
That is correct behavior, however it breaks existing tests that rely
on contentType and characterEncoding being equal to exactly what
they were set to.
For example, consider:
response.setContentType("text/plain");
response.setCharacterEncoding("UTF-8");
Ideally both contentType and the 'Content-Type' header would now be
"text/plain;charset=UTF-8". However, existing tests would expect
that contentType is equal to "text/plain".
To avoid breaking existing tests, contentType and characterEncoding
will continue to be equal to exactly what they were set to while
the 'Content-Type' header will always include both the content
type and the charset.
The only exception to this rule is when a 'Content-Type' header
is set explicitly, the contentType and characterEncoding fields will
be updated accordingly, possibly overriding the existing values.
2011-11-17 15:07:15 +00:00
Chris Beams
56608d6bd6
Fix typo in ResourceHolder#isVoid Javadoc
...
Issue: SPR-8843
2011-11-16 23:32:42 +00:00
Chris Beams
1d5ca80924
Fix typo in classpath scanning reference doc
...
Issue: SPR-8842
2011-11-16 23:32:38 +00:00
Rossen Stoyanchev
7918810366
SPR-8750 Update MockHttpServletRequest/Response handling of contentType.
...
The Content-Type header and the contentType field in HttpServletRequest/Response
are now always in sync. When a header is added the contentType field is updated
as well and vice versa.
Similarly when the Content-Type header or the contentType field includes a charset
field, the character encoding is updated and vice versa.
2011-11-16 23:28:48 +00:00
Chris Beams
3528637d62
Fix JUnit version in spring-parent pom
...
Issue: SPR-8852
2011-11-16 18:23:58 +00:00
Chris Beams
70c28a0bc5
Add Apache license header where missing in src/main
2011-11-16 18:23:56 +00:00
Chris Beams
9c0c87f6a7
Polish AutoProxyRegistrar
2011-11-16 18:23:45 +00:00
Chris Beams
d1f6672a58
Refactor ImportSelector support
...
Separate concerns of @Configuration class selection from the need to
register certain infrastructure beans such as auto proxy creators.
Prior to this change, ImportSelector implementations were responsible
for both of these concerns, leading to awkwardness and duplication.
Also introduced in this change is ImportBeanDefinitionRegistrar and
two implementations, AutoProxyRegistrar and AspectJAutoProxyRegistrar.
See the refactored implementations of CachingConfigurationSelector,
TransactionManagementConfigurationSelector to see the former;
AspectJAutoProxyConfigurationSelector to see the latter.
ImportSelector and ImportBeanDefinitionRegistrar are both handled as
special-case arguments to the @Import annotation within
ConfigurationClassParser.
These refactorings are important because they ensure that Spring users
will be able to understand and extend existing @Enable* annotations
and their backing ImportSelector and @Configuration classes, as well
as create their own with a minimum of effort.
2011-11-16 04:21:28 +00:00
Chris Beams
4f3cbb45f4
Introduce @EnableCaching
...
See EnableCaching Javadoc for details.
Issue: SPR-8312
2011-11-16 04:21:21 +00:00
Chris Beams
732bf58570
Rename @CacheDefinitions => @Caching
...
Also eliminate all 'cache definition' language in favor of
'cache operation' in comments, method and parameter names (most
classes had already been refactored to this effect).
2011-11-16 04:21:12 +00:00
Chris Beams
a252a285e2
Convert cache package line endings from CRLF => LF
...
Unfortunately creates a large diff due to whitespace changes as well as
false attribution of authorship from a git/svn 'blame' perspective.
Be sure to perform diffs using `git diff -w` or `svn diff -w` when
reviewing recent changes to these sources to ignore all whitespace.
2011-11-16 04:21:06 +00:00
Chris Beams
f9879b762b
Rename KeyGenerator#extract => #generate
2011-11-16 04:20:57 +00:00
Chris Beams
06306f9149
Extract various constants in DefaultKeyGenerator
2011-11-16 04:20:53 +00:00
Chris Beams
83d099db98
Prune CacheAspectSupport#setCacheOperationSource
...
In favor of existing #setCacheOperationSources(CacheOperationSource...)
Also polish Javadoc throughout, replacing stale references to
CacheDefinitionSource where appropriate as well as other minor changes
2011-11-16 04:20:50 +00:00
Chris Beams
42cbee883f
Add generics to AbstractCacheManager#caches
...
Facilitates type-safe programmatic configuration from @Bean methods:
@Bean
public CacheManager cacheManager() {
SimpleCacheManager cm = new SimpleCacheManager();
cm.setCaches(Arrays.asList(
new ConcurrentMapCache("default"),
new ConcurrentMapCache("primary"),
new ConcurrentMapCache("secondary")
));
return cm;
}
Prior to this change, the code above would have raised errors on the
Arrays.asList() call because it returns a Collection<? extends Cache>
as opposed to Collection<Cache>.
After this change, AbstractCacheManager expects
Collection<? extends Cache> throughout.
2011-11-16 04:20:46 +00:00
Chris Beams
7a71af2989
Remove stale duplicate copy of spring-cache XSD
...
This was removed once previously but accidentally re-introduced later.
The 'correct' version of spring-cache-3.1.xsd lives in spring-context
as opposed to here in spring-context-support.
Also placed .gitignore file within src/main/resources such that the
now-empty directory does not get pruned in git environments, which will
otherwise cause 'missing source folder' errors within Eclipse/IDEA.
2011-11-16 04:20:43 +00:00
Chris Beams
96200b690c
Refactor cache support test hierarchy
...
Refactored getConfig => getApplicationContext such that subclasses have
control over the type of ApplicationContext used by the base class
tests. Done in anticipation of @EnableCaching tests that will favor use
of AnnotationConfigApplicationContext
Also updated all use of ClassPathXmlApplictionContext to
GenericXmlApplicationContext, which is generally preferred.
2011-11-16 04:20:39 +00:00
Chris Beams
b7f9bf2e1c
Polish cache Javadoc
2011-11-16 04:20:36 +00:00
Chris Beams
8abb315042
Fix cache generics warnings; polish whitespace
2011-11-16 04:20:32 +00:00
Chris Beams
1533822b0a
Update proxyTargetClass-related Javadoc; add tests
...
There was some question about whether enabling subclass proxies via
proxyTargetClass / proxy-target-class settings would break annotation-
based demarcation of joinpoints due to inability to discover those
annotations in various scenarios. The provided tests prove that in
any conceivable case, these annotations (@Transactional, at least)
are discovered in a consistent fashion, meaning that switching proxy
strategies should be transparent to the application and honor
intended annotation semantics.
2011-11-16 04:20:28 +00:00
Chris Beams
124662189e
Polish @EnableAsync imports, etc
2011-11-16 04:20:22 +00:00
Chris Beams
43b3b4c261
Polish @Enable* Javadoc
2011-11-16 04:20:17 +00:00
Chris Beams
40798bd48f
Improve ImportStack#toString output
2011-11-16 04:20:12 +00:00
Chris Beams
7b491370a3
Polish EmbeddedDatabaseBuilder
...
Minor improvements made during the triage of SPR-8817
2011-11-13 01:38:47 +00:00
Chris Beams
4ededaf11c
Fix typo in DateTimeFormat Javadoc
...
Issue: SPR-8838
2011-11-13 01:38:44 +00:00
Chris Beams
b167b75453
Polish @Scheduled Javadoc
...
Add reference to @EnableScheduling and <task:annotation-driven>
2011-11-13 01:38:40 +00:00
Sam Brannen
c0b3b7b81e
Added cross linking in Javadoc for @Autowired, @Qualifier, and @Value.
2011-11-11 22:28:37 +00:00
Juergen Hoeller
b21e1ee669
polishing
2011-11-11 09:57:34 +00:00
Juergen Hoeller
0b078f2ff9
added Quartz 2.1 loadClass variant (SPR-8727)
2011-11-11 09:54:28 +00:00
Rossen Stoyanchev
2a39f34d33
SPR-8803 Refine UriComponentsBuilder.replaceQueryParam().
...
If no values are given, the query parameter is removed.
2011-11-10 15:08:24 +00:00
Costin Leau
dc88a7c8ba
SPR-8830
...
SPR-8082
SPR-7833
+ add support for CacheDefinitions declarations inside XML
+ more integration tests
2011-11-09 17:53:51 +00:00
Costin Leau
e4c88553d8
+ rename test (as otherwise it gets picked even if it's abstract)
2011-11-09 10:52:22 +00:00
Costin Leau
473eaac117
+ temporarily disable XML defs (since cache-update and cache-definition are not yet supported)
2011-11-09 10:44:14 +00:00
Costin Leau
eddb0ac3be
+ introduced @CacheUpdate annotation
...
+ introduced @CacheDefinition annotation
+ introduced meta-annotation to allow multiple @Cache annotations
SPR-7833
SPR-8082
2011-11-09 10:00:44 +00:00
Rossen Stoyanchev
c3f0f31243
SPR-8819 Fix issue in setting best matching pattern.
2011-11-08 20:00:42 +00:00
Rossen Stoyanchev
b9a3d4577a
SPR-8823 Fix test error.
2011-11-08 19:25:50 +00:00
Rossen Stoyanchev
c9acaaf9d8
SPR-8823 ServletUriComponentsBuilder polish and reference doc update.
2011-11-08 17:49:38 +00:00
Rossen Stoyanchev
d1d48ac940
SPR-8823 Add ServletUriComponentsBuilder.
2011-11-07 21:04:23 +00:00
Sam Brannen
1beb04cebf
polishing
2011-11-06 17:26:30 +00:00
Rossen Stoyanchev
bef75aab07
Polish synchronization of model attributes with the session.
2011-11-04 22:14:13 +00:00
Rossen Stoyanchev
d3f4c69f00
SPR-8803 Add UriComponentsBuilder methods to replace path/query.
2011-11-04 16:43:03 +00:00
Rossen Stoyanchev
8889284517
SPR-8801 Set ignoreDefaultModelOnRedirect=false in MVC namespace and Java config.
2011-11-04 03:02:47 +00:00
Rossen Stoyanchev
cd2fee035a
SPR-8783 Update javadoc of MVC's AnnotationDrivenBeanDefinitionParser
2011-11-03 19:19:54 +00:00
Rossen Stoyanchev
bba8bb6ec0
SPR-8661 Add disabled attribute to HiddenInputTag
2011-11-03 16:29:12 +00:00
Arjen Poutsma
78fbceff82
Added check for illegal characters when creating an encoded UriComponents object
2011-11-03 11:57:25 +00:00
Rossen Stoyanchev
c290a4e68a
SPR-8694 HTML5 updates to the "type" attribute of the Spring Form tags.
...
Since dynamic attributes were allowed in Spring 3, it raised the
possibility to specify a type attribute on a number of the form tags.
Where it makes sense (see below) that attribute is now rejected
and reversely where it makes sense it is accepted.
InputTag allows types other than "text" but rejects type="radio" or
type="checkbox" since there is a good reason for those to be used
only in conjunction with the appropriate form library tags.
Other HTML input tags such as PasswordTag, HiddenInputTag,
Checkbox(es)Tag and RadioBox(es)Tag check the dynamic attributes
and reject them if they contain a type attribute since.
2011-11-02 21:38:50 +00:00
Arjen Poutsma
e8dd35ce5e
Added check for expanding already encoded UriComponents object
2011-11-02 11:49:45 +00:00
Rossen Stoyanchev
8337f4bf20
SPR-8789 Support request with multiple param values in FlahMap matching logic
2011-11-01 16:26:25 +00:00
Rossen Stoyanchev
e6920a59fa
SPR-8779 Use original URI in FlashMap match logic to account for URL rewriting.
2011-11-01 15:19:04 +00:00
Rossen Stoyanchev
1164f5a9fc
SPR-8782 Raise helpful error when RedirectAttributes is used with old infrastructure classes.
2011-11-01 11:46:09 +00:00
Rossen Stoyanchev
5a6980b78b
SPR-7943 Minor fix
2011-10-22 13:07:36 +00:00
Rossen Stoyanchev
57fe16e14b
SPR-8755 Add Button tag.
2011-10-21 23:36:41 +00:00
Rossen Stoyanchev
fd97c8d7a4
SPR-8770 Ensure RequestDataValueProcessor is invoked from RedirectView.
2011-10-21 22:16:08 +00:00
Juergen Hoeller
2980ef4c75
prepared for 3.1 RC2
2011-10-20 12:08:49 +00:00
Juergen Hoeller
79bcefa0ce
optimized DefaultListableBeanFactory's PropertyDescriptor caching for concurrent access (SPR-7863)
2011-10-20 12:04:01 +00:00
Juergen Hoeller
e2d9142c5a
LocaleEditor and StringToLocaleConverter do not restrict variant part through validation (SPR-8637)
2011-10-20 11:53:02 +00:00
Juergen Hoeller
0c9e3fb3bd
polishing
2011-10-20 11:21:54 +00:00
Juergen Hoeller
36616a0c2c
fixed GenericTypeResolver to consistently return null if not resolvable (SPR-8698)
2011-10-20 11:17:42 +00:00
Juergen Hoeller
3bd9a3e3e0
RmiClientInterceptor detects nested SocketException as connect failure as well (SPR-8628)
2011-10-20 11:09:14 +00:00
Juergen Hoeller
f7b9eb8fe3
added proper "contentLength()" implementation to ByteArrayResource (SPR-8709)
2011-10-20 10:59:44 +00:00
Juergen Hoeller
2fdc2b5822
fixed StandardServlet/PortletEnvironment to check for JNDI (for Google App Engine compatibility)
2011-10-20 10:46:16 +00:00
Juergen Hoeller
3f73f51966
fixed MethodInvokingJobDetailFactoryBean's Quartz 2.0 support
2011-10-20 10:27:28 +00:00
Juergen Hoeller
0dfb617d8a
refer to correct openSession() method for Hibernate 4.0 (SPR-8776)
2011-10-20 10:23:49 +00:00
Juergen Hoeller
de5a007e46
cleanup of conversation dependencies
2011-10-20 09:56:07 +00:00
Juergen Hoeller
ca5f38c5e4
marked Apache HttpComponents dependency as optional (SPR-8788); cleanup of conversation dependencies
2011-10-20 09:55:09 +00:00
Rossen Stoyanchev
3c649a6c66
Polish @EnableWebMvc javadoc
2011-10-17 22:59:54 +00:00
Rossen Stoyanchev
313ba395af
Minor fix to name of attribute used to store FlashMap instances.
2011-10-17 21:30:09 +00:00
Rossen Stoyanchev
5d42a6242f
SPR-8759 Provide methods to add or get status codes in SimpleMappingExceptionResolver as Map<String, Integer>.
2011-10-17 21:28:56 +00:00
Chris Beams
dacfa6993a
Fix assignment error in AbstractAsyncExecutionAspect
...
Issue: SPR-8772
2011-10-17 18:35:27 +00:00
Chris Beams
5360bd899d
Fix warnings and polish LocalSessionFactoryBuilder
2011-10-13 03:56:51 +00:00
Sam Brannen
e65366012d
[SPR-8401] Added documentation for @ActiveProfiles in the "Annotations" section.
2011-10-12 21:34:02 +00:00
Chris Beams
d98316e494
Update doc publication urls to static.s2.org
2011-10-12 07:04:55 +00:00
Chris Beams
cb14697800
Remove stale duplicate copy of spring-cache XSD
2011-10-12 07:04:52 +00:00
Chris Beams
17ce06acec
Update changelog re destroy method inference
...
Issue: SPR-8751
2011-10-12 03:56:17 +00:00
Chris Beams
38e90105a0
Support destroy method inference
...
Anywhere the value of a destroy method may be expressed, specifying
the value "(inferred)" now indicates that the container should attempt
to automatically discover a destroy method. This functionality is
currently limited to detecting public, no-arg methods named 'close';
this is particularly useful for commonly used types such as Hibernate
SessionFactory most JDBC DataSource implementations, JMS connection
factories, and so forth.
This special value is captured as the constant
AbstractBeanDefinition#INFER_METHOD, which in turn serves as the default
value of the @Bean#destroyMethod attribute.
For example in the following case
@Bean
public BasicDataSource dataSource() { ... }
the container will automatically detect BasicDataSource#close and invoke
it when the enclosing ApplicationContext is closed. This is exactly
equivalent to
@Bean(destroyMethod="(inferred)")
public BasicDataSource dataSource() { ... }
A user may override this inference-by-default convention simply by
specifying a different method
@Bean(destroyMethod="myClose")
public MyBasicDataSource dataSource() { ... }
or, in the case of a bean that has an otherwise inferrable 'close'
method, but the user wishes to disable handling it entirely, an empty
string may be specified
@Bean(destroyMethod="")
public MyBasicDataSource dataSource() { ... }
The special destroy method name "(inferred)" may also be specified in
an XML context, e.g.
<bean destroy-method="(inferred)">
or
<beans default-destroy-method="(inferred)">
Note that "(inferred)" is the default value for @Bean#destroyMethod,
but NOT for the destroy-method and default-destroy-method attributes
in the spring-beans XML schema.
The principal reason for introducing this feature is to avoid forcing
@Configuration class users to type destroyMethod="close" every time a
closeable bean is configured. This kind of boilerplate is easily
forgotten, and this simple convention means the right thing is done
by default, while allowing the user full control over customization or
disablement in special cases.
Issue: SPR-8751
2011-10-12 02:09:04 +00:00
Chris Beams
8cafb7ee13
Fix warnings in DisposableBeanAdapter
2011-10-12 02:08:52 +00:00
Sam Brannen
f0ded6a91f
[SPR-8401] Added missing TransferServiceConfig code listing.
2011-10-11 23:32:10 +00:00
Sam Brannen
dc95e49c27
[SPR-8240][SPR-8401] formatting and polishing.
2011-10-11 23:20:50 +00:00
Sam Brannen
027c25d823
[SPR-8401] Documented TestContext support for @ActiveProfiles in the reference manual.
2011-10-11 23:05:28 +00:00
Juergen Hoeller
e1721976bb
final preparations for 3.1 RC1 release
2011-10-11 22:08:01 +00:00
Juergen Hoeller
12c1f47733
extended LocalSessionFactoryBean options for Hibernate 4; factored out LocalSessionFactoryBuilder
2011-10-11 22:05:19 +00:00
Chris Beams
d09faabcb6
Update changelog re @EnableAspectJAutoProxy
...
Issue: SPR-8138
2011-10-11 19:15:10 +00:00
Chris Beams
739775ca19
Introduce @EnableAspectJAutoProxy
...
Issue: SPR-8138
2011-10-11 18:51:41 +00:00
Chris Beams
b08a6d32a4
Polish "What's new in Spring 3.1" re @Enable*
2011-10-11 18:51:32 +00:00
Chris Beams
5876307997
Update "What's new in Spring 3.1" re Hibernate 4.x
2011-10-11 18:51:30 +00:00
Chris Beams
f60a40be44
Polish Environment subsystem Javadoc
2011-10-11 18:51:26 +00:00
Chris Beams
3920c5a158
Polish @ComponentScan/@Configuration/@Lazy Javadoc
2011-10-11 18:51:15 +00:00
Juergen Hoeller
1cea52b66b
renamed mapKey/ValueTypeDescriptor methods back to getMapKey/ValueTypeDescriptor (for Spring 3.0.x compatibility)
2011-10-11 16:55:07 +00:00
Juergen Hoeller
ba2c8fc592
deprecated JdoTemplate and co in favor of native PersistenceManager usage
2011-10-11 16:48:08 +00:00
Juergen Hoeller
feed594ba4
deprecated JpaTemplate and co in favor of native EntityManager usage
2011-10-11 16:24:32 +00:00
Juergen Hoeller
0d02ef5fe5
removed conversation prototype from 3.1 codebase
2011-10-11 16:22:15 +00:00
Sam Brannen
60fb3efc2b
[SPR-8240] Added new "Mixing XML resources and @Configuration classes" section to the testing chapter.
2011-10-11 12:39:57 +00:00
Rossen Stoyanchev
1aa1278e99
SPR-8725 Change modifier in WebMvcConfigurationSupport methods from package private to public.
...
Use of package private @Bean methods can cause issues if the class
is extended and the sub-class is in a different package. This is
covered in detail in SPR-8756.
2011-10-11 10:43:08 +00:00
Chris Beams
9be6ddc946
Include Hibernate 4.x in Eclipse classpath
2011-10-11 05:31:31 +00:00
Chris Beams
2760542182
Add repro test case for package-private @Bean issue
...
Reproduces the issue described in SPR-8756 in addition to demonstrating
the suggested workaround.
Issue: SPR-8756, SPR-8725
2011-10-11 04:02:03 +00:00
Juergen Hoeller
cfb380d653
fixed unbind failure through appropriate guard
2011-10-11 02:08:26 +00:00
Juergen Hoeller
d54922642c
made compilation work with Hibernate 4.0 next to Hibernate 3.x
2011-10-11 01:53:43 +00:00
Juergen Hoeller
3032b214c6
avoid hard JPA 2.0 dependency
2011-10-11 01:31:22 +00:00
Juergen Hoeller
6aaf7fefde
removed Hibernate EntityManager 4.0 dependency since it is not needed for compilation and not for standard runs of the test suite either
2011-10-11 01:22:20 +00:00
Juergen Hoeller
0256f3d43e
consistently use Unix line separator
2011-10-11 01:14:20 +00:00
Juergen Hoeller
e58a45bff7
polishing
2011-10-11 01:13:41 +00:00
Juergen Hoeller
1f89243361
use internal Set for TransactionSynchronization objects in order to allow for equals/hashCode based replacement
2011-10-11 01:11:17 +00:00
Juergen Hoeller
4c49cc73b2
avoid NPE in case of no "hibernateProperties" specified
2011-10-11 01:10:07 +00:00
Juergen Hoeller
e1a6bb2d2e
committed initial Hibernate 4.0 support
2011-10-11 01:08:41 +00:00
Juergen Hoeller
d02ac641cc
further additions to manual changelog for 3.1 RC1
2011-10-11 01:02:55 +00:00
Juergen Hoeller
339c57e41a
polishing
2011-10-11 01:00:31 +00:00
Juergen Hoeller
37c601c8dd
HibernateJpaDialect exposes underlying Session for underlying SessionFactory
2011-10-11 00:58:47 +00:00
Juergen Hoeller
0ff83606df
committed initial Hibernate 4.0 support
2011-10-11 00:53:01 +00:00
Sam Brannen
55f91e54c4
Corrected Javadoc: handleListenerException() and invokeErrorHandler() log at WARN level, not at ERROR level.
2011-10-10 22:13:45 +00:00
Juergen Hoeller
8bd1fc817a
introduced extended WritableResource interface
2011-10-10 19:46:00 +00:00
Chris Beams
f35dfd4107
Update stale external javadoc links
...
Certain external javadoc links were broken or out of date, namely
Hibernate, Java SE and EE 6, Quartz, and Apache Pluto. All resolve
properly now.
Issue: SPR-8720
2011-10-10 06:12:29 +00:00
Chris Beams
980c15d578
Distinguish between different bridge method types
...
Add BridgeMethodResolver#isJava6VisibilityBridgeMethodPair to
distinguish between (a) bridge methods introduced in Java 6 to
compensate for inheriting public methods from non-public superclasses
and (b) bridge methods that have existed since Java 5 to accommodate
return type covariance and generic parameters.
In the former case, annotations should be looked up from the original
bridged method (SPR-7900). In the latter, the annotation should be
looked up against the bridge method itself (SPR-8660).
As noted in the Javadoc for the new method, see
http://stas-blogspot.blogspot.com/2010/03/java-bridge-methods-explained.html
for a useful description of the various types of bridge methods, as
well as http://bugs.sun.com/view_bug.do?bug_id=6342411 , the bug fixed in
Java 6 resulting in the introduction of 'visibility bridge methods'.
Issue: SPR-8660, SPR-7900
2011-10-10 05:40:21 +00:00
Sam Brannen
6248135a4f
[SPR-8240] Updating the "new in 3.1" chapter regarding new testing support; polishing the TestContext Framework section of the reference manual.
2011-10-09 23:32:01 +00:00
Sam Brannen
71396ac07b
Polishing JavaDoc
2011-10-09 23:29:59 +00:00
Chris Beams
6837111bda
Refactor AnnotationUtils#findAllAnnotationAttributes
...
Remove all convenience variants of #findAllAnnotationAttributes and
refactor the remaining method to accept a MetadataReaderFactory
instead of creating its own SimpleMetadataReaderFactory internally.
This allows clients to use non-default class loaders as well as
customize the particular MetadataReaderFactory to be used (e.g.
'simple' vs 'caching', etc).
Issue: SPR-8752
2011-10-09 20:32:21 +00:00
Chris Beams
3bb01ee68b
Revert "Introduce (Annotation)SessionFactoryBuilder types"
...
This commit and the several before it back out the
SessionFactoryBuilder and AnnotationSessionFactoryBuilder types
recently introduced in 3.1 M2. This is in light of the impending
release of Hibernate 4.0 GA and our own support for it the new
org.springframework.orm.hibernate4 package (not yet committed).
This new package will have a similar, but far simpler, arrangement of
a single LocalSessionFactoryBuilder and LocalSessionFactoryBean pair.
Hibernate 3.x support will remain largely as-is, however the
HibernateTransactionManager introduced with SPR-8076 will remain.
This reverts commit 9e8259198f .
Issue: SPR-8066, SPR-7936, SPR-8076, SPR-8098, SPR-8096, SPR-7387
2011-10-09 07:55:52 +00:00
Chris Beams
25796448f6
Revert "removed double javadoc"
...
This reverts commit 2d26c4992e .
2011-10-09 07:55:38 +00:00
Chris Beams
0d43023571
Revert "All SFBuilder setters return 'this' & use varargs"
...
This reverts commit 0e2ce565c9 .
2011-10-09 07:55:33 +00:00
Chris Beams
1a8531b401
Revert "Automatically close SessionFactory objects"
...
This reverts commit bb4f48dcb3 .
Issue: SPR-8114
2011-10-09 07:55:28 +00:00
Chris Beams
b82d5ae8da
Revert "Implement SessionFactoryImplementor in SF proxies"
...
This reverts commit 08ccd19c76 .
Issue: SPR-8469
2011-10-09 07:55:21 +00:00
Chris Beams
363e08df22
Revert "Auto-unwrap SessionFactoryBuilder-created proxies"
...
This reverts commit 7903d6489f .
Issue: SPR-8492
2011-10-09 07:55:14 +00:00
Chris Beams
d122ecb42e
Move AdviceMode from .config to .annotation package
2011-10-09 07:55:08 +00:00
Chris Beams
1819bee35f
Revert deprecation of AbstractSingletonPFB and co
...
Removed formal deprecation warnings for AbstractSingletonFactoryBean and
its TransactionProxyFactoryBean and CacheProxyFactoryBean subclasses.
This is principally because TPFB is still used by Grails and could
conceivably be used to good effect by any third-party framework in a
similar fashion. CPFB is new with 3.1, but similar use is predictable.
Deprecations have been replaced by strong recommendations that users
avoid these types in modern Spring applications and favor the use of
namespaces and annotatinos, such as tx: and @Transactional (around
since Spring 2.x) and cache: and @Cacheable.
Issue: SPR-8680, SPR-8686
2011-10-09 07:54:54 +00:00
Chris Beams
9ba1d1437d
Give ExtendedBeanInfo package-private visibility
...
Issue: SPR-8079
2011-10-09 07:54:44 +00:00
Chris Beams
870d903417
Add INFER_METHOD constant and update @Bean Javadoc
...
In anticipation of 'destroy method inference' feature, introduce
ConfigurationClassUtils#INFER_METHOD and update @Bean#destroyMethod to
reflect its use.
Issue: SPR-8751
2011-10-09 07:54:39 +00:00
Chris Beams
6b4ef0237c
Add code examples to and polish @Bean Javadoc
2011-10-09 07:54:33 +00:00
Thomas Risberg
dee9e280b0
SPR-7476 Improving named parameter parsing skipping escaped colons like '\:' and allowing for delimiting parameter names with curly brackets like :{p1}
2011-10-08 12:48:26 +00:00
Costin Leau
e493887f45
+ update cache docs whitespace for better rendering
2011-10-08 12:22:09 +00:00
Thomas Risberg
933e22320d
SPR-7476 Improving named parameter parsing skipping escaped colons like '\:' and allowing for delimiting parameter names with curly brackets like :{p1}
2011-10-08 12:10:56 +00:00
Thomas Risberg
4f5248bb5c
SPR-7476 Improving named parameter parsing skipping escaped colons like '\:' and allowing for delimiting parameter names with curly brackets like :{p1}
2011-10-08 11:48:45 +00:00
Costin Leau
40d88fd991
SPR-8730
...
+ more tests
2011-10-07 20:16:58 +00:00
Costin Leau
a12ebbfded
SPR-8730
...
+ expose key-generator in the XML namespace
2011-10-07 19:45:05 +00:00
Costin Leau
e6d9b6308e
some cache doc updates
2011-10-07 19:42:09 +00:00
Thomas Risberg
aec82fbd4a
SPR-7476 Improving named parameter parsing skipping escaped colons like '\:' and allowing for delimiting parameter names with curly brackets like :{p1}
2011-10-07 18:57:32 +00:00
Thomas Risberg
92d6e5a14c
SPR-8270 Adding improved support for detecting current schema name for Oracle
2011-10-07 03:01:43 +00:00
Sam Brannen
1317b821b9
[SPR-7724] Example email addresses in the reference manual now use example.org as the domain name.
2011-10-07 01:23:26 +00:00
Thomas Risberg
118ee3fce8
SPR-8652 Fixing queryForLong and queryForInt implementation to use correct expected type
2011-10-06 23:58:38 +00:00
Thomas Risberg
0920f2d7d5
SPR-8235 SPR-7480 Updating H2 error codes
2011-10-06 23:19:05 +00:00
Rossen Stoyanchev
facb40e5a6
SPR-7943 Add test case for inserting extra hidden fields
2011-10-06 21:19:54 +00:00
Rossen Stoyanchev
4199d772cc
SPR-8718 Minor polish
2011-10-06 18:06:47 +00:00
Rossen Stoyanchev
369f6f032b
SPR-7943 Minor fix
2011-10-06 14:17:44 +00:00
Rossen Stoyanchev
cb5954ed02
SPR-8714 Do not create copy in map-to-map and collection-to-collection conversion if not necessary
2011-10-06 14:17:31 +00:00
Rossen Stoyanchev
00a726b098
SPR-8718 Prevent Converter<?,?> from converting target sub-type.
2011-10-06 14:17:12 +00:00
Chris Beams
dfda4c32d5
Fix error in AbstractResource#contentLength Javadoc
...
Issue: SPR-8734
2011-10-02 19:45:52 +00:00
Sam Brannen
ae1205a56c
[SPR-8240] polishing
2011-09-30 09:44:57 +00:00
Sam Brannen
5e1d6b9a1b
[SPR-8240] polishing
2011-09-29 22:19:30 +00:00
Sam Brannen
3f5135d809
consistent title-case for 1st and 2nd level sections
2011-09-29 22:05:02 +00:00
Sam Brannen
0b2592a70a
[SPR-8240] polishing
2011-09-29 22:01:38 +00:00
Sam Brannen
5db7cca9a7
[SPR-8240] polishing the "Context management and caching" section of the reference manual and related Javadoc.
2011-09-29 21:36:06 +00:00
Sam Brannen
1bb5b21881
[SPR-8240] Introduced new "Context management with @Configuration classes" section; fleshing out sections on context configuration inheritance and context caching.
2011-09-29 20:54:26 +00:00
Sam Brannen
713017aedc
polishing and formatting
2011-09-29 18:55:48 +00:00
Sam Brannen
2608744479
fixed numerous typos and formatting
2011-09-29 17:06:25 +00:00
Sam Brannen
b38d022b84
Fixed broken link to non-existent mvc-multipart-resolver ID.
2011-09-29 16:48:34 +00:00
Sam Brannen
a4953e7c22
[SPR-8240] Restructuring the "Context management and caching" section.
2011-09-29 13:51:34 +00:00
Sam Brannen
bc6927e601
[SPR-8240] Documented ContextLoaders in the testing chapter.
2011-09-29 13:28:37 +00:00
Sam Brannen
e7ce297cf3
[SPR-8240] Restructuring annotation content.
2011-09-29 12:54:39 +00:00
Sam Brannen
ac4cd8c37b
[SPR-8240] Documenting TestContext support for @Configuration classes in the reference manual; and polishing the testing content in general.
2011-09-29 12:08:05 +00:00
Sam Brannen
15f217c274
[SPR-8240] Documenting TestContext support for @Configuration classes in the reference manual.
2011-09-28 22:28:29 +00:00
Rossen Stoyanchev
b08c7f6e00
SPR-6801 @ModelAttribute instantiation refinement.
...
Instantiate the model attribute from a URI var or a request param only
if the name matches and there is a registered Converter<String, ?>.
2011-09-27 22:48:12 +00:00
Chris Beams
34956d30b3
Fix doc typo in AbstractAutowireCapableBeanFactory
2011-09-27 18:16:20 +00:00
Rossen Stoyanchev
a33d277509
Add ExceptionHandlerExceptionResolver tests for custom arg resolvers
2011-09-27 11:22:58 +00:00
Rossen Stoyanchev
7fec9d7fa8
SPR-7943 Add one missing call to RequestDataValueProcessor in FormTag.
2011-09-27 11:22:48 +00:00
Rossen Stoyanchev
57fffb147c
SPR-7608 ALLOW EXCEPTION WHEN MODEL ATTR IS CREATED FROM URI VARIABLE
...
When a @ModelAttribute is instantiated from a URI variable with type
conversion, if conversion fails allow the exception to propagate.
This is consistent with what happens on type conversion failure with
@PathVariable and other args that rely on type conversion.
2011-09-27 11:22:43 +00:00
Arjen Poutsma
5afe139285
SPR-8706 - UriUrils.decode() not properly rejecting invalid escaped URLs
2011-09-27 08:55:07 +00:00
Arjen Poutsma
67fda70cb8
SPR-8713 - DefaultResponseErrorHandler IOException Bug
2011-09-27 08:16:33 +00:00
Sam Brannen
aa7a100807
[SPR-8178] re-enabled testPrintNull().
2011-09-26 18:59:11 +00:00
Rossen Stoyanchev
3d50d416eb
SPR-8718 Revert fix from earlier for now (need a different approach).
2011-09-26 17:58:49 +00:00
Sam Brannen
5309e43ea0
[SPR-8178] @Ignore-ing testPrintNull() until it is determined why changes to GenericConversionService broke this test.
2011-09-26 17:39:04 +00:00
Sam Brannen
052d3e7ccb
[SPR-8718] now using correct JIRA ID in the comments.
2011-09-26 16:28:34 +00:00
Sam Brannen
f752b47fcb
[SPR-8178] @Ignore-ing testDefaultNumberFormatting() until it is determined why changes to GenericConversionService broke this test.
2011-09-26 16:24:51 +00:00
Rossen Stoyanchev
1d7a6c53da
SPR-8718 Prevent ClassCastException when the target of Converter<?,?> is a super-class of the actual target.
2011-09-26 12:30:38 +00:00
Sam Brannen
f6483cad3c
[SPR-8222] Suppressing deprecation warnings for org.junit.internal.runners.model.MultipleFailureException, which has been deprecated in JUnit 4.9.
2011-09-26 11:13:59 +00:00
Rossen Stoyanchev
48f7dcc464
POLISH CREATION OF DATA BINDERS FOR @RequestMapping METHODS
...
Make it possible to hook in custom ServletRequestDataBinderFactory
by overriding RequestMappingHandlerAdapter.
Create ExtendedServletRequestDataBinder to add URI template vars
to the binding values taking advantage of a new extension hook in
ServletRequestDataBinder to provide additional values to bind.
2011-09-26 09:27:09 +00:00
Rossen Stoyanchev
6bc4ea058c
POLISH ARGUMENT RESOLVERS AND RETURN VALUE HANDLERS.
2011-09-24 11:34:07 +00:00
Rossen Stoyanchev
fe7e2a7f54
Improvements to the way the content of RequestConditions is exposed.
...
RequestCondition types keep individual expression types (e.g. the
discrete header or param expressions) package private. Although the
implementation of these types should remain private, there is no
reason not to provide access to the underlying expression data --
e.g. for creating a REST endpoint documentation tool, or if you
want to know which of the "consumes"/"produces" media types
are negated.
This change ensures that all RequestCondition types have a public
getter that makes available the basic expression data.
2011-09-23 18:20:27 +00:00
Rossen Stoyanchev
fb526f534a
SPR-8700 REFINE ORDER OF ARGUMENT RESOLUTION AND RETURN VALUE HANDLING.
...
1. Consider single-purpose return value types like HttpEntity, Model,
View, and ModelAndView ahead of annotations like @ResponseBody and
@ModelAttribute. And reversely consider multi-purpose return value
types like Map, String, and void only after annotations like
@RB and @MA.
2. Order custom argument resolvers and return value handlers after the
built-in ones also clarifying the fact they cannot be used to override
the built-in ones in Javadoc throughout.
3. Provide hooks in RequestMappingHandlerAdapter that subclasses can use
to programmatically modify the list of argument resolvers and return
value handlers, also adding new getters so subclasses can get access
to what they need for the override.
4. Make SessionStatus available through ModelAndViewContainer and
provide an argument resolver for it.
5. Init test and javadoc improvements.
2011-09-22 16:00:22 +00:00
Rossen Stoyanchev
f200ccd899
SPR-8712 Expose BEST_MATCHING_PATTERN_ATTRIBUTE in RequestMappingHandlerMapping.
2011-09-20 10:09:52 +00:00
Rossen Stoyanchev
7a3f02bce9
SPR-8688 Don't use Servlet request params for form 'PUT' in ServletServerHttpRequest.
2011-09-20 09:18:47 +00:00
Rossen Stoyanchev
c257afa515
SPR-7943 Add interface for HDIV integration and delegate to it from JSP form tags.
2011-09-19 21:32:45 +00:00
Sam Brannen
8b8be39d9f
polishing
2011-09-17 11:59:46 +00:00
Rossen Stoyanchev
71cc38aaff
SPR-6464 Update reference doc with FlashMap and RedirectAttributes information.
2011-09-16 16:44:11 +00:00
Rossen Stoyanchev
b2d88ba858
SPR-6464 Polish following code review.
2011-09-15 18:12:30 +00:00
Arjen Poutsma
aeba9d244a
SPR-5973: now dealing with path followed by segments (and vice-versa) correctly.
2011-09-15 10:24:21 +00:00
Rossen Stoyanchev
1300da06a6
SPR-8593 Fix issue in ModelAndViewMethodReturnValueHandler with ModelAndView containing a View
2011-09-14 16:26:02 +00:00
Arjen Poutsma
38f05678c1
SPR-5973: UriComponents now encapsulates uri template variables
2011-09-14 14:36:49 +00:00
Arjen Poutsma
3f2ea7f50e
SPR-5973: UriComponents now encapsulates a PathCompont, switching between string paths and path segment lists automatically.
2011-09-14 14:09:57 +00:00
Arjen Poutsma
782c2a4657
Removed ServletUriComponentsBuilder for now.
2011-09-14 14:01:50 +00:00
Arjen Poutsma
1b61f27f5b
polishing
2011-09-14 14:01:21 +00:00
Chris Beams
10be0ef9e7
Clarify BeanFactory#containsBean Javadoc
...
Previously, #containsBean Javadoc advertised that a true return value
indicates that a call to #getBean for the same name would succeed.
This is actually not the case, and has never been. The semantics
of #containsBean have always been to indicate whether a bean definition
with the given name is definied or a singleton instance with the given
name has been registered.
The Javadoc now reflects this accurately.
Issue: SPR-8690
2011-09-13 22:09:12 +00:00
Chris Beams
bc57f72bbb
Temporarily @Ignore failure in RequestContextTests
...
Issue: SPR-5973
2011-09-13 18:53:18 +00:00
Chris Beams
15a8f776b9
Clarify stereotype and exception translation Javadoc
...
Cite original inspiriation by Domain-Driven Design, but make clear the
flexible and general-purpose nature of Spring's stereotype annotations
such as @Repository and @Service.
Also update @Repository Javadoc with more explicit instructions about
switching on exception translation through use of
PersistenceExceptionTranslationPostProcessor, and update PETPP Javadoc
for style as well as concrete examples of 'resource factories' that
implement the PersistenceExceptionTranslator interface
Issue: SPR-8691
2011-09-13 17:53:15 +00:00
Keith Donald
1a2f96000e
clarified repository definition from DDD and removed comparison with DAO to reduce confusion
2011-09-13 14:31:41 +00:00
Arjen Poutsma
663f056329
SPR-5973: UriComponents no longer a Map, moved all static methods from UriComponents to builder, added expand method to UriComponents
2011-09-13 14:12:54 +00:00
Arjen Poutsma
dd1f3f8e0f
Added MultiValueMap utility methods
2011-09-13 13:36:08 +00:00
Rossen Stoyanchev
28a696ba51
SPR-8676 Fix minor issue in how ServletServletHttpRequest detects form content-type requests
2011-09-13 12:35:05 +00:00
Rossen Stoyanchev
de504fa613
SPR-8678 Use the lookup path to determine the media type by file name.
2011-09-13 09:16:42 +00:00
Rossen Stoyanchev
2799e710bc
SPR-6464 Add 'setAlwaysUseRedirectAttributes' flag.
...
When set to 'true' the flag makes RedirectAttributes the only way to add
attributes for a redirect thus ignoring the content of the default model
even if RedirectAttributes is not in the list of controller method args.
2011-09-13 07:53:17 +00:00
Chris Beams
a456a1a0e3
Improve annotation processing thread-safety
...
Commit http://bit.ly/nXumTs ensured that component methods and fields
marked with 'common annotations' such as @Resource, @PostConstruct and
@PreDestroy are invoked/assigned once and only once, even if multiple
instances of the CommonAnnotationBeanPostProcessor are processing the
same bean factory.
The implementation works against the InjectionMetadata API, adding and
removing these members from sets that track whether they are already
'externally managed', i.e. that another CABPP has already handled them,
thus avoiding redundant processing.
Prior to this change, the #remove operations against these sets were
not synchronized. In a single-threaded context this is fine thanks to
logic in AbstractAutowireCapableBeanFactory#doCreateBean that checks to
see whether a given bean definition has already been post processed.
However, as reported by SPR-8598, certain cases involving multiple
threads and annotated prototype-scoped beans can cause concurrent
modification exceptions during the #remove operation (ostensibly because
another thread is attempting to do the same removal at the same time,
though this has yet to be reproduced in isolation).
Now the sets originally introduced by the commit above are decorated
with Collections#synchronizedSet and any iterations over those sets
are synchronized properly. This change should have low performance
impact as such processing happens at container startup time (save for
non-singleton lookups at runtime), and there should be little
contention in any case.
Issue: SPR-8598
2011-09-12 23:05:01 +00:00
Arjen Poutsma
c8add61a72
SPR-5973: Using UriComponents in more places, replaced UriBuilder by UriComponentsBuilder, UriComponents is now immutable.
2011-09-12 14:39:58 +00:00
Rossen Stoyanchev
ce8bc8e7e4
SPR-6464 Add one more minor Javadoc comment
2011-09-09 17:05:47 +00:00
Rossen Stoyanchev
671744aa62
SPR-6464 Polish FlashMap changes.
2011-09-09 16:48:00 +00:00
Arjen Poutsma
f0ed37c233
SPR-5973: UriUtils.parse returns UriComponents
2011-09-09 11:01:05 +00:00
Arjen Poutsma
65baafa032
SPR-5973: Made UriComponent enum inner type of UriComponents
2011-09-09 10:57:13 +00:00
Arjen Poutsma
6c58da0e55
SPR-5973: Added UriComponents type
2011-09-09 10:49:10 +00:00
Rossen Stoyanchev
56c8c69c4c
SPR-8642 IMPROVE ERROR REPORTING WHEN RESOLVING MULTIPART REQUEST METHOD ARGUMENTS
...
Separate client from server errors as much as possible in this order:
- raise MultipartException when resolving a multipart arg and the
request is not a multipart request (400)
- raise IllegalArgumentException when the arg type is MultipartFile
but the request is not of type MultipartHttpServletRequest (500)
- raise MissingServletRequestPartException when a MultipartResolver
is in use but the part is not found (400)
- detect presence of Servlet 3.0 before using standard multipart
parsing to find a request part or raise
IllegalArgumentException (500)
Unfortunately it is not always possible to separate client from
server errors mainly because the Servlet 3.0 API does not
distinguish between the case of 0 request parts vs multipart
processing not being configured.
2011-09-09 09:09:10 +00:00
Arjen Poutsma
b6c1e88e4a
SPR-5973: Cleaning it up
2011-09-08 11:01:56 +00:00
Arjen Poutsma
5f208936ec
Added parse methods
2011-09-07 13:58:51 +00:00
Arjen Poutsma
99f68d3620
SPR-5973: javadoc
2011-09-07 11:49:15 +00:00
Arjen Poutsma
420d11911b
SPR-5973: Extract UriComponentTemplate out of UriTemplate
2011-09-07 11:26:22 +00:00
Arjen Poutsma
1d75e1b250
SPR-5973: Changed UriComponent from inner type to top-level enum
2011-09-07 10:40:40 +00:00
Arjen Poutsma
6b7e7d9b5c
SPR-5973: UriBuilder
2011-09-07 09:07:09 +00:00
Arjen Poutsma
f1c68f243e
Changed ClientHttpRequestInterceptor array to List
2011-09-07 08:39:58 +00:00
Chris Beams
49b38190ee
Fix typo in cache abstraction reference doc
...
Issue: SPR-8670
2011-09-06 21:03:02 +00:00
Arjen Poutsma
9a25efbbda
SPR-5973: UriBuilder
2011-09-06 15:42:33 +00:00
Rossen Stoyanchev
498d81f696
SPR-8646 Encode URI template variables in the target URL of RedirectView.
2011-09-05 15:05:18 +00:00
Chris Beams
8759b20e46
Include javax.jdo 3.x in spring-orm template.mf
...
Prior to this change, spring-orm/template.mf was exclusive of javax.jdo
3.0.0. Now, after local testing against the newly-released jdo-api 3.0
jar, the template has been updated to allow for use in OSGi containers.
Note that actually updating build dependency descriptors to JDO 3.0 such
that the framework is continually tested against this version is covered
by a separate issue (SPR-8668).
Issue: SPR-8667, SPR-8655
2011-09-04 01:06:35 +00:00
Chris Beams
2e5f3559d3
Fix handling of @EnableLoadTimeWeaving AUTODETECT
...
Issue: SPR-8643
2011-09-03 22:37:16 +00:00
Chris Beams
4e522c0cc3
Fix Javadoc error in JdbcOperations
...
Issue: SPR-8664
2011-09-03 20:07:08 +00:00
Costin Leau
d9de19d7b3
SPR-8653
...
+ refactor a bit the internals of CacheAspect to allow invocations that do not throw any exceptions (AspectJ)
2011-09-02 15:37:42 +00:00
Rossen Stoyanchev
91251812b1
Polish @ExceptionHandler method resolution. Allow subclasses to plug in additional @ExceptionHandler methods.
2011-09-02 11:04:23 +00:00
Costin Leau
04bcd77520
+ temporarily revert change
2011-09-02 08:25:39 +00:00
Rossen Stoyanchev
b6d7c85f6e
SPR-7812 Provide separate methods for type and method-level custom request conditions. Polish javadoc in RequestMappingInfo and related HandlerMapping classes
2011-09-01 12:02:19 +00:00
Costin Leau
ddfb2d3c58
+ remove unneeded catch for exceptions inside AbstractCacheAspect.aj
2011-09-01 08:04:16 +00:00
Rossen Stoyanchev
37d22ad039
SPR-8611 Add detection of RedirectView when selecting the best view in ContentNegotiatingViewResolver.
2011-08-31 14:51:24 +00:00
Rossen Stoyanchev
7bf44f06a0
SPR-8596 Detect case in UriPathHelper where originating request query (before forwarding) is null.
2011-08-31 13:00:24 +00:00
Costin Leau
ce70c985b4
+ add documentation on declarative XML
2011-08-31 10:27:42 +00:00
Arjen Poutsma
b06de49c72
Changed ClientHttpRequestInterceptor array to List
2011-08-31 09:03:19 +00:00
Arjen Poutsma
4a669d1a0a
Removed UrlPathHelper, as it's provided by the superclass
2011-08-31 08:42:45 +00:00
Sam Brannen
1a34f6459d
[SPR-8644][SPR-8633] introduced failing (ignored) test regarding support for invoking methods that accept var-args.
2011-08-30 14:20:12 +00:00
Sam Brannen
16fb3cb4b3
[SPR-8644] Introduced a failing (ignored) test that demonstrates that findMethod() does not currently support var-args.
2011-08-30 14:05:51 +00:00
Sam Brannen
1de71c6e37
[SPR-8222] Upgraded to JUnit 4.9.
2011-08-30 13:16:12 +00:00
Rossen Stoyanchev
6a06a17c47
SPR-6464 Add target request matching logic to DefaultFlashMapManager.
2011-08-29 08:37:43 +00:00
Chris Beams
71984b8038
Fix ExtendedBeanInfo indexed write method edge case
...
See comments at ExtendedBeanInfo#reproSpr8522
Issue: SPR-8522
2011-08-29 05:31:47 +00:00
Sam Brannen
2fc78fb8fd
[SPR-8240] cleaned up and formatted the testing chapter.
2011-08-26 22:23:02 +00:00
Sam Brannen
7908d05c71
[SPR-8627] Deprecated @ExpectedException.
...
[SPR-8240] cleaned up and formatted the testing chapter.
2011-08-26 22:21:16 +00:00
Rossen Stoyanchev
0460a5eceb
SPR-8536 Add exact matches when comparing 'produces' conditions (e.g. given Accept: text/*, method with text/* is preferred over text/plain). Also pick a media type alphabetically when two 'produces' condition media types match equally (e.g. given Accept: text/* method with text/plain is chosen over text/xhtml)
2011-08-25 13:09:14 +00:00
Rossen Stoyanchev
00ff018b39
SPR-6464 Uncommitted file from the last commit.
2011-08-25 08:11:17 +00:00
Rossen Stoyanchev
baea01ac90
SPR-6464 Add RedirectAttributes and SmartView interfaces.
2011-08-25 07:50:07 +00:00
Chris Beams
bd7fd57ad2
Fix cache ref doc typo: Eh{c=>C}acheCacheManager
...
Issue: SPR-8632, SPR-8635
2011-08-24 19:05:49 +00:00
Chris Beams
7d177ecfd4
Update Servlet 3.0 dependency in webmvc pom
2011-08-24 19:05:45 +00:00
Sam Brannen
7a1553472d
[SPR-8633] Introduced generic invokeMethod() in ReflectionTestUtils.
2011-08-24 17:29:00 +00:00
Sam Brannen
4d99ddba8a
[SPR-8633] Introduced generic invokeMethod() in ReflectionTestUtils.
2011-08-24 17:26:59 +00:00
Sam Brannen
72da569aa3
[SPR-8386][SPR-8387] Revised Javadoc in the TestContext framework regarding changes in 3.1.
2011-08-20 23:14:20 +00:00
Sam Brannen
1c7cc172d9
[SPR-8627] Deprecated @ExpectedException.
2011-08-20 18:39:36 +00:00
Sam Brannen
381ab6fcc2
[SPR-8627] Deprecated @ExpectedException.
2011-08-20 18:32:37 +00:00
Sam Brannen
960082dbb0
[SPR-8541] Oops! Fixed a minor logic error in DelegatingSmartContextLoader.
2011-08-20 17:52:04 +00:00
Sam Brannen
8ccedd452e
[SPR-8541] Documented DelegatingSmartContextLoader.
2011-08-20 17:45:14 +00:00
Sam Brannen
466c3b4b2a
[SPR-8541] Documented DelegatingSmartContextLoader.
2011-08-20 17:41:29 +00:00
Sam Brannen
0a88d4bae1
Fixed broken test: now verifying that an attempt to set a null active profile throws an IllegalArgumentException.
2011-08-20 14:58:58 +00:00
Chris Beams
2c239e30d5
Update spring-webmvc-portlet template.mf
...
Add Import-Template entry for org.spring-framework.jndi
Issue: SPR-8038
2011-08-20 10:23:08 +00:00
Chris Beams
f0460ce6fd
Register JndiPropertySource by default in portlet environments
...
Issue: SPR-8038, SPR-8545, SPR-8490
2011-08-20 03:02:37 +00:00
Chris Beams
6db594c79d
Register JndiPropertySource by default in servlet environments
...
Prior to this change, StandardServletEnvironment evaluated a
"jndiPropertySourceEnabled" flag to determine whether or not to add a
JndiPropertySource. Following the changes introduced in SPR-8490, there
is now no reason not to enable a JNDI property source by default. This
change eliminates the support for "jndiPropertySourceEnabled" and adds
a JndiPropertySource automatically.
Issue: SPR-8545, SPR-8490
2011-08-20 03:02:31 +00:00
Chris Beams
76bf72c9f8
Introduce ConfigurableEnvironment#addActiveProfile
...
Provides a convenient mechanism for activating an additional profile
while preserving those that are already active, as opposed to
calling #setActiveProfiles with the contents of #getActiveProfiles plus
the new profile.
Issue: SPR-8548
2011-08-20 03:02:20 +00:00
Chris Beams
c0eeb8bacd
Introduce AbstractEnvironment#validateProfile
...
Consolidates validation for profiles and provides a mechanism for
AbstractEnvironment subclasses to customize validation logic if
desired.
2011-08-20 03:02:12 +00:00
Chris Beams
e19a2e7370
Reorganize and add comments to build.properties
2011-08-20 03:02:05 +00:00
Chris Beams
68d5d753ba
Increase supported aspectj version 1.5.4 => 1.6.8
2011-08-20 03:02:01 +00:00
Chris Beams
1b176db8e7
Remove obsolete taglibs dependency from webmvc pom
2011-08-20 03:01:57 +00:00
Chris Beams
5946e66586
Update ejb and javax.resource deps in tx pom
2011-08-20 03:01:53 +00:00
Chris Beams
36c1813828
Update ejb, inject-tck, jsr166 deps in context pom
2011-08-20 03:01:49 +00:00
Chris Beams
711b84ab06
Update .core pom with jopt dependency
...
Issue: SPR-8482
2011-08-20 03:01:45 +00:00
Juergen Hoeller
ef04ccca17
allow for Hibernate 4.0
2011-08-18 23:14:42 +00:00
Juergen Hoeller
f32b8f81e4
allow for Quartz 2.0
2011-08-18 23:14:28 +00:00
Juergen Hoeller
90997e65cf
fixed Hibernate Validator import range
2011-08-18 23:13:56 +00:00
Juergen Hoeller
9e375a860a
polishing
2011-08-18 23:13:30 +00:00
Sam Brannen
87dad65ff0
[SPR-8622] Upgraded to JUnit 4.8.2
2011-08-18 16:06:31 +00:00
Sam Brannen
7f715ee803
Fixed minor typo in Javadoc.
2011-08-18 14:18:29 +00:00
Sam Brannen
e16e3a9f60
Fixed source attachments in Eclipse classpath; sorted classpath entries.
2011-08-18 14:17:44 +00:00
Juergen Hoeller
28e6d9a692
added test for month sequence (SPR-7807)
2011-08-17 21:01:34 +00:00
Juergen Hoeller
f6be50eda2
RequiredAnnotationBeanPostProcessor's skip attribute accepts "true" as String value as well (SPR-8617)
2011-08-16 22:41:11 +00:00
Costin Leau
63a217a40a
+ add XML support for cache abstraction (cache-advice) - DRAFT
2011-08-16 17:35:01 +00:00
Chris Beams
a8476d05be
Prune misplaced src directory
2011-08-15 21:52:54 +00:00
Chris Beams
9fce69849a
Move misplaced integration test to proper location
2011-08-15 21:44:18 +00:00
Juergen Hoeller
9b9975f269
ForkJoinPoolFactoryBean etc
2011-08-15 21:35:48 +00:00
Juergen Hoeller
36084c348f
fixed timeout assertion
2011-08-15 21:28:13 +00:00
Juergen Hoeller
20f748865e
polishing
2011-08-15 21:23:53 +00:00
Juergen Hoeller
cce1e2010d
added HttpComponentsHttpInvokerRequestExecutor
2011-08-15 21:23:41 +00:00
Rossen Stoyanchev
152add37d5
SPR-6464 Add getInputFlashMap and getOutputFlashMap methods to RequestContextUtils
2011-08-15 21:01:52 +00:00
Juergen Hoeller
f0db3d0992
polishing
2011-08-15 20:57:59 +00:00
Juergen Hoeller
c564049b23
consistent "connectTimeout" and "readTimeout" properties (SPR-8615)
2011-08-15 20:57:42 +00:00
Juergen Hoeller
4acb0fa284
introduced ForkJoinPoolFactoryBean for Java 7 (alternative: add new jsr166.jar to Java 6)
2011-08-15 16:41:55 +00:00
Rossen Stoyanchev
aa46d18125
SPR-6464 FlashMap polish
2011-08-15 12:48:33 +00:00
Rossen Stoyanchev
224bce1b64
SPR-8612 Allow explicit status code in HTTP 1.0 compatibility mode
2011-08-15 12:25:28 +00:00
Rossen Stoyanchev
936c83b030
SPR-6464 Add RedirectModel
2011-08-14 22:32:42 +00:00
Sam Brannen
84ff2b49a6
Polishing Javadoc and suppressing warnings.
2011-08-14 17:11:31 +00:00
Sam Brannen
a94e3785b8
Polishing Javadoc and suppressing warnings.
2011-08-14 17:02:45 +00:00
Rossen Stoyanchev
d746dcaa63
SPR-5628 Use MediaType to parse the content type in HttpPutFormContentFilter
2011-08-14 12:19:06 +00:00
Sam Brannen
9a40021f18
[SPR-8386][SPR-8387] Refined logging regarding detection of default resource locations and default configuration classes.
2011-08-13 15:38:45 +00:00
Sam Brannen
bfbd7def33
Documented recent changes to the TestContext framework in the changelog
2011-08-13 14:57:48 +00:00
Sam Brannen
a298c2dde8
[SPR-8386][SPR-8387] Redesign of DelegatingSmartContextLoader and the SmartContextLoader SPI:
...
- Removed generatesDefaults() and supports() from the SmartContextLoader SPI and modified the DelegatingSmartContextLoader algorithm accordingly.
- DelegatingSmartContextLoader no longer operates on a list of candidate loaders but rather on explicit instances of GenericXmlContextLoader and AnnotationConfigContextLoader.
- Updated Javadoc regarding DelegatingSmartContextLoader as the new default loader.
- Updated and polished Javadoc regarding changes in 3.1.
- Now enforcing @ContextConfiguration's restriction on declaring locations or classes but not both.
2011-08-13 14:31:00 +00:00
Sam Brannen
2d6340af74
Deleting unnecessary TODOs and suppressing warnings.
2011-08-13 13:38:54 +00:00
Juergen Hoeller
03c267e93a
added "connectTimeout" and "readTimeout" properties to SimpleClientHttpRequestFactory (SPR-8614)
2011-08-12 22:56:12 +00:00
Rossen Stoyanchev
45efe6184c
SPR-6464 FlashMap polish
2011-08-12 18:32:30 +00:00
Sam Brannen
367dcf13ce
Suppressing deprecation warnings in MockPageContext.
2011-08-12 15:29:56 +00:00
Juergen Hoeller
49e61d2680
overridden @PersistenceContext annotations on subclass methods are being processed correctly (SPR-8594)
2011-08-12 13:54:17 +00:00
Juergen Hoeller
b9ebdd28fb
polishing
2011-08-12 10:02:12 +00:00
Rossen Stoyanchev
c97257b16f
SPR-6464 Fix minor issue
2011-08-11 10:25:16 +00:00
Rossen Stoyanchev
6f1818a604
SPR-6464 Use the redirect URL and its request parameters (if any), instead of a synthetic key, to match a FlashMap instance to its intended recepient request. This should help to prevent conflicts in most cases transparently. Only if necessary a controller can add extra request parameters to distinguish the request even more uniquely.
2011-08-10 16:53:03 +00:00
Chris Beams
3ead3cf859
Improve wording of scoped-proxy example in ref doc
...
Issue: SPR-8591
2011-08-09 14:45:26 +00:00
David Syer
47f45ff743
SPR-8585: add generic composite filter
2011-08-09 10:17:35 +00:00
David Syer
296099f222
SPR-8592: add SpEL support in <jdbc:/>
2011-08-09 10:17:10 +00:00
David Syer
0c0ab97a84
Switch servlet dependency to a public one
2011-08-09 10:16:33 +00:00
Rossen Stoyanchev
1df0cd9f20
SPR-6464 Drop @FlashAttributes, add ResponseContext, ViewResponse, and RedirectResponse types for annotated controllers to use to prepare a redirect response with flash attributes; Add FlashMap and FlashMapManager and update DispatcherServlet to discover and invoke the FlashMapManager.
2011-08-08 14:00:07 +00:00
Chris Beams
11597c906d
Fix typo in reference documentation
...
Issue: SPR-8579
2011-08-05 18:43:33 +00:00
Juergen Hoeller
b6e82048fc
removed GenericConversionService logging in order to avoid toString side effects (and to avoid isTraceEnabled overhead; SPR-8297)
2011-08-04 17:22:14 +00:00
Chris Beams
6404440cbf
Fix typo in SmartLifecycle Javadoc
...
Issue: SPR-8570
2011-08-04 14:07:36 +00:00
Rossen Stoyanchev
fc4ea16ba0
Replace RequestBodyNotValidException and RequestPartNotValidException with MethodArgumentNotValidException and add MethodParameter information to the exception message.
2011-08-03 15:10:10 +00:00
Rossen Stoyanchev
3c7e44ada4
SPR-8536 When two methods match a request for any content type (i.e. Accept=*/* or no Accept header), choose the one that doesn't define any 'Accept' media types by default. This addresses an important use case where methods serving browsers typically don't specify Accept media types.
2011-08-03 11:22:46 +00:00
Juergen Hoeller
8f23c66512
SpringBeanAutowiringSupport is able to process @Value annotations on any given target instance (SPR-8574)
2011-08-03 10:19:27 +00:00
Chris Beams
272f145132
Clarify Lifecycle#stop documentation
...
Issue: SPR-8570
2011-08-03 06:01:20 +00:00
Juergen Hoeller
8745024969
added getContentAsByteArray() and getContentAsString() methods (SPR-8575); actually implemented forward, include and handlePageException methods
2011-08-02 23:52:54 +00:00
Juergen Hoeller
df1f3d40bd
polishing
2011-08-02 19:16:50 +00:00
Juergen Hoeller
0a48936f4f
ContentNegotiatingViewResolver properly handles invalid accept headers (SPR-7712)
2011-08-02 19:13:56 +00:00
Rossen Stoyanchev
3fb753bc0c
SPR-8448 Use URI template vars rather than path vars in RedirectView
2011-08-02 08:27:26 +00:00
Rossen Stoyanchev
98ad8633bd
SPR-8524 Add flag to AbstractCachingViewResolver to suppress subsequent resolution of unresolved view names.
2011-08-01 10:20:49 +00:00
Chris Beams
9f4a46e24c
Auto-unwrap SessionFactoryBuilder-created proxies
...
SessionFactory proxies created by (Annotation)SessionFactoryBuilder now
implement InfrastructureProxy to ensure they are automatically unwrapped
for transaction resource management purposes.
Issue: SPR-8492
2011-07-30 18:05:34 +00:00
Chris Beams
35d2ab3bf9
Document Lifecycle#stop concurrency semantics
...
Issue: SPR-8570
2011-07-29 21:39:42 +00:00
Juergen Hoeller
fa7f13016e
multipart handling etc
2011-07-28 20:44:12 +00:00
Juergen Hoeller
5521f86f4a
removed unused Servlet dependency
2011-07-28 20:27:04 +00:00
Juergen Hoeller
39616d4a25
polishing
2011-07-28 20:26:34 +00:00
Juergen Hoeller
c864908779
Spring JSP tags do not use their own expression support on Servlet 3.0 containers by default; added support for web.xml context-param "springJspExpressionSupport" (explicit "true"/"false")
2011-07-28 20:25:18 +00:00
Juergen Hoeller
bbcf358a9d
jdbc:script's "separator" and "execution" attributes work nested with embedded-database as well; added "encoding" attribute to jdbc:script element; general revision of DatabasePopulator configuration and execution code
2011-07-28 14:19:53 +00:00
Juergen Hoeller
1baf2a3981
polishing
2011-07-28 11:15:11 +00:00
Chris Beams
226256e264
Respect <description> within <entry> per beans XSD
...
Prior to this change, a parsing exception would be thrown if a
<description> element was placed within a <map><entry/></map>
element. The beans XSD has always permitted this arrangement,
but BeanDefinitionParserDelegate did not respect it. The latter now
simply ignores any <description> element, rather than failing.
Issue: SPR-8563
2011-07-28 02:21:22 +00:00
Juergen Hoeller
f432f3043f
DefaultListableBeanFactory allows for init methods to register further bean definitions (again; SPR-7757)
2011-07-27 22:51:26 +00:00
Juergen Hoeller
fad865fbad
polishing
2011-07-27 22:38:59 +00:00
Juergen Hoeller
4385367f2d
optimized getMethodResolver implementation to actually benefit from ConcurrentHashMap
2011-07-27 22:26:05 +00:00
Juergen Hoeller
e63e6cdbde
polishing
2011-07-27 21:57:59 +00:00
Juergen Hoeller
19c2672dc3
polishing
2011-07-27 21:52:18 +00:00
Rossen Stoyanchev
f4adf227be
SPR-6464 Add @FlashAttributes annotation and FlashStatus method argument
2011-07-27 21:46:36 +00:00
Juergen Hoeller
2c504012ad
HtmlUtils properly escapes single quotes as well
2011-07-27 21:22:04 +00:00
Juergen Hoeller
38837eddfd
HtmlUtils properly escapes single quotes as well
2011-07-27 20:35:41 +00:00
Rossen Stoyanchev
9347ac358c
SPR-8540 Minor Freemarker import related documentation fix
2011-07-27 11:14:31 +00:00
Chris Beams
b85440f2b6
Deprecate AbstractSingletonProxyFactoryBean
2011-07-26 22:29:14 +00:00
Chris Beams
3c2e48738a
Remove CacheProxyFactoryBean
2011-07-26 22:29:09 +00:00
Chris Beams
2b371a7c9a
Deprecate TransactionProxyFactoryBean
2011-07-26 22:29:04 +00:00
Chris Beams
c85ebd9a5a
Polish AnnotationUtils Javadoc
2011-07-26 19:55:11 +00:00
Rossen Stoyanchev
f4b7cfea38
SPR-8483 Update reference documentation with multipart request-related changes: @RequestPart, Servlet 3.0 multipart reuqests, javax.servlet.http.Part method argument types.
2011-07-26 15:49:44 +00:00
Rossen Stoyanchev
75ad185558
SPR-8561 Permit null values for simple controller method arguments types without annotations.
2011-07-26 12:36:01 +00:00
Juergen Hoeller
3a6beb601e
copy txt files as well
2011-07-26 09:25:22 +00:00
Rossen Stoyanchev
38a6660777
SPR-8543 Fix issue in AnnotationMethodHandlerAdapter with extracting URI template variable from URL with file extension
2011-07-26 08:26:09 +00:00
Juergen Hoeller
30f363bbc9
copy css and js resources as well
2011-07-26 01:08:23 +00:00
Juergen Hoeller
ff8ebbb9c4
moved OpenSessionInViewTests back to orm module
2011-07-26 01:07:59 +00:00
Juergen Hoeller
8bae96bdd7
fixed HibernateMultiEntityManagerFactoryIntegrationTests failure
2011-07-26 00:59:41 +00:00
Juergen Hoeller
d8f29cb746
polishing
2011-07-26 00:46:39 +00:00
Juergen Hoeller
83df082930
moved OpenSessionInViewTests back to orm module
2011-07-26 00:46:07 +00:00
Juergen Hoeller
771c59f88a
polishing
2011-07-26 00:39:13 +00:00
Juergen Hoeller
d7cd11a48c
consistent update of HeaderValueHolder class
2011-07-26 00:39:01 +00:00
Juergen Hoeller
6ad8a4a79a
fixed OpenEntityManagerInViewTests through the addition of a local copy of our Servlet API mocks; restoredOpenPersistenceManagerInViewTests
2011-07-26 00:38:05 +00:00
Rossen Stoyanchev
2cf2fc195e
SPR-5628 Add HttpPutFormContentFilter in order to make form encoded data available via ServletRequest.getParameter*()
2011-07-25 18:58:34 +00:00
Juergen Hoeller
c31b17fef2
JpaTransactionManager etc can find EntityManagerFactory by "persistenceUnitName" property now, falling back to retrieval of a unique EntityManagerFactory bean by type (analogous to @PersistenceUnit / @PersistenceContext)
2011-07-25 12:28:16 +00:00
Juergen Hoeller
bbab294116
added Jetty dependency
2011-07-25 12:27:49 +00:00
Juergen Hoeller
637ce0f01c
removed double javadoc
2011-07-25 12:27:30 +00:00
Juergen Hoeller
aeacf9278f
JpaTransactionManager etc can find EntityManagerFactory by "persistenceUnitName" property now, falling back to retrieval of a unique EntityManagerFactory bean by type (analogous to @PersistenceUnit / @PersistenceContext)
2011-07-25 12:26:27 +00:00
Juergen Hoeller
676ab5f0b1
restored OpenEntityManagerInViewTests
2011-07-25 12:15:33 +00:00
Juergen Hoeller
179dad8c24
defensive checking that a provided class actually implements WebApplicationInitializer (SPR-8557); avoid early initialization of Commons Logging (using ServletContext logging instead)
2011-07-25 11:33:08 +00:00
Juergen Hoeller
2218cdb16f
polishing
2011-07-25 10:57:50 +00:00
Sam Brannen
672fed621b
Cleaning up unused imports.
2011-07-23 15:23:41 +00:00
Rossen Stoyanchev
fd7e0b405b
SPR-8515 Check for traversal to parent directory via ../ in resource requests
2011-07-22 16:27:33 +00:00
Juergen Hoeller
5d2a84f39a
fixed test
2011-07-22 11:20:18 +00:00
Juergen Hoeller
79ed87e3d5
updated cache aspect after CacheAspectSupport base class changes
2011-07-22 10:12:07 +00:00
Juergen Hoeller
df3761e3f6
introduced AnnotationUtils.getAnnotation(AnnotatedElement, annotationType)
2011-07-22 09:34:42 +00:00
Juergen Hoeller
abdae3d26b
general revision of cache package; added ConcurrentMapCacheManager
2011-07-22 09:32:56 +00:00
Michael Isvy
02362f4347
SPR-7858
...
Updating references to @Resource usage
2011-07-22 01:18:29 +00:00
Chris Beams
f3d00da080
Use Geronimo j2ee-connector API in JMS pom
2011-07-21 23:26:25 +00:00
Rossen Stoyanchev
3363d05879
SPR-8483 Add integration test for accessing multipart request parts with @RequestPart
2011-07-21 16:24:33 +00:00
Juergen Hoeller
1b26b4744f
fixed ignored test
2011-07-21 10:34:32 +00:00
Juergen Hoeller
48de81deec
refined JBoss 6.0 note
2011-07-21 09:51:23 +00:00
Juergen Hoeller
7a6d8d94cd
multipart etc
2011-07-21 09:12:19 +00:00
Juergen Hoeller
7d8aa05c40
added "acceptProxyClasses" flag to RemoteInvocationSerializingExporter
2011-07-21 09:04:42 +00:00
Juergen Hoeller
2c199cf190
updated javadoc for server-specific LoadTimeWeavers
2011-07-21 08:36:40 +00:00
David Syer
f800a026cb
Fix typo in MVC docs
2011-07-21 08:25:27 +00:00
Juergen Hoeller
57cb1f2777
improved ExposeInvocationInterceptor error message with respect to advice ordering (SPR-8544)
2011-07-21 07:38:08 +00:00
Juergen Hoeller
8bf019b675
fixed @ExceptionHandler exception type matching (ExceptionDepthComparator; SPR-8231)
2011-07-21 07:15:26 +00:00
Sam Brannen
d0cd678089
[SPR-8387] Added TODO.
2011-07-20 22:22:03 +00:00
Sam Brannen
072271d9e9
[SPR-8549] Documented the equals() method implementation in MergedContextConfiguration.
2011-07-20 22:18:55 +00:00
Sam Brannen
461119973b
[SPR-8387] deleted resolved TODO.
2011-07-20 22:14:23 +00:00
Sam Brannen
8224af1938
[SPR-8549] ContextCache is now keyed by MergedContextConfiguration instead of String; MergedContextConfiguration now implements custom hashCode() and equals() methods and no longer generates a context cache key.
2011-07-20 22:06:05 +00:00
Juergen Hoeller
2d7af57149
fixed DispatcherServletTests breakage
2011-07-20 21:04:29 +00:00
Juergen Hoeller
571535352b
revised Servlet 3.0 based StandardServletMultipartResolver for correct param/file distinction; added multipart content type and headers access to MultipartRequest (dropping the previous header access solution on MultipartFile); MultipartFilter uses a Servlet 3.0 based StandardServletMultipartResolver by default
2011-07-20 20:46:53 +00:00
Sam Brannen
21f3f59cb7
[SPR-8387] Log messages now refer to default detection instead of default generation.
2011-07-20 20:38:02 +00:00
Juergen Hoeller
0df4631788
alignment with backported 3.0.6 code (SPR-8538)
2011-07-20 19:59:41 +00:00
Chris Beams
718f025d64
Force lazy-init to false when parsing scheduled:task
...
A <scheduled:task> element declared within a
<beans default-lazy-init="true"> element represents a contradiction in
terms: such a task will never be executed.
For this reason, we now override any inherited lazy-init settings
when parsing <scheduled:task> elements, forcing lazy-init to false
for the underlying ScheduledTaskRegistrar bean.
Thanks to Mike Youngstrom for contributing an initial patch.
Issue: SPR-8498
2011-07-19 23:00:12 +00:00
Juergen Hoeller
576b8fec31
ConvertiblePair implements equals and hashCode (SPR-8459)
2011-07-19 15:51:19 +00:00
Juergen Hoeller
69c9abf2b8
updated Quartz support package for full Quartz 2.0 support (SPR-8275)
2011-07-19 15:25:10 +00:00
Rossen Stoyanchev
cc7c64a371
Remove unnecessary javax.servlet dependency
2011-07-19 14:04:15 +00:00
Rossen Stoyanchev
e787887f46
SPR-8532 Exclude Tiles transitive deps on 'com.springsource.javax.servlet' from 'com.springsource.org.apache.tiles.jsp' and 'com.springsource.org.apache.tiles.servlet' only.
2011-07-19 11:04:27 +00:00
Costin Leau
1d690ab99f
SPR-8533
...
+ add LTW support for JBoss 7
(renamed existing classes to MC (JBoss 5&6) and introduced Modules (JBoss 7))
2011-07-19 07:24:47 +00:00
Juergen Hoeller
d97a5bf889
minor javadoc revision
2011-07-18 21:50:15 +00:00
Juergen Hoeller
7e4982d6ae
updated dependencies
2011-07-18 21:41:21 +00:00
Juergen Hoeller
94ac883eb1
polishing
2011-07-18 21:37:24 +00:00
Chris Beams
236b0305e8
Refactor execution of config class enhancement
...
This change returns the invocation order of
ConfigurationClassPostProcessor#enhanceConfigurationClasses to its
pre-3.1 M2 state. An earlier (and now unnecessary) refactoring in
service of @Feature method processing caused the change that this now
reverts.
2011-07-18 21:23:55 +00:00
Chris Beams
4f89459c3d
Polish whitespace on JpaTransactionManager
2011-07-18 21:23:43 +00:00
Juergen Hoeller
65ad44dadc
polishing
2011-07-18 20:50:35 +00:00
Rossen Stoyanchev
2568a3c2c6
SPR-8001 Recognize case when MultipartRequest is null and argument is of type MultipartFile and raise helpful exception.
2011-07-18 13:49:47 +00:00
Rossen Stoyanchev
b8c723d080
SPR-8532 Upgrade org.springframework.web.servlet to Servlet 3.0 (as provided dependency) and add support for javax.servlet.Part parameter
2011-07-18 12:06:11 +00:00
Sam Brannen
f874ed9790
[SPR-8387] Fleshed out the implementation of DelegatingSmartContextLoader and corresponding tests.
2011-07-17 17:16:12 +00:00
Sam Brannen
9d7bc31f0d
polishing
2011-07-17 16:35:22 +00:00
Sam Brannen
e7298a88d6
[SPR-8387] Fixed logic errors in DelegatingSmartContextLoader.processContextConfiguration() and ContextConfigurationAttributes.hasResources().
2011-07-15 20:01:18 +00:00
Sam Brannen
e34fa6abb1
[SPR-8387] Fixed logic error in DelegatingSmartContextLoader.processContextConfiguration().
2011-07-15 19:19:29 +00:00
Sam Brannen
b8624b470c
[SPR-8387] Introduced hasResources() in ContextConfigurationAttributes; plus minor polishing.
2011-07-15 19:03:16 +00:00
Sam Brannen
d2e6f82aa3
[SPR-8387] Fleshing out the implementation of processContextConfiguration() in DelegatingSmartContextLoader.
2011-07-15 17:15:45 +00:00
Sam Brannen
12eb9d7ed6
[SPR-8387] Fleshing out unit tests for DelegatingSmartContextLoader.
2011-07-15 16:12:34 +00:00
Juergen Hoeller
cc725d7e5c
extended Servlet API mocks for Servlet 3.0 forward compatibility as far as possible; made MockHttpServletResponse compatible with Servlet 3.0 getHeader(s) method returning Strings (SPR-8529); added getHeaderValue(s) method to MockHttpServletResponse for raw value access
2011-07-15 14:51:01 +00:00
Juergen Hoeller
c0e429a9a5
polishing
2011-07-15 14:48:51 +00:00
Juergen Hoeller
5937779bb1
call setEnvironment before other awareness methods rather than after; fixed AccessControlContext applicability check
2011-07-15 14:40:38 +00:00
Juergen Hoeller
18ab057e90
extended Servlet API mocks for Servlet 3.0 forward compatibility as far as possible; made MockHttpServletResponse compatible with Servlet 3.0 getHeader(s) method returning Strings (SPR-8529); added getHeaderValue(s) method to MockHttpServletResponse for raw value access
2011-07-15 14:16:31 +00:00
Costin Leau
4e1cb2b823
move default value wrapper into support package (rather then interceptor)
2011-07-15 14:13:22 +00:00
Chris Beams
fd42a65c6c
Allow ConfigurationCPP to process multiple registries
...
Prior to this change, an instance of ConfigurationClassPostProcessor
would throw IllegalStateException if its
postProcessBeanDefinitionRegistry method were called more than once.
This check is important to ensure that @Configuration classes are
not proxied by CGLIB multiple times, and works for most normal use
cases.
However, if the same CCPP instance is used to process multiple
registries/factories/contexts, this check creates a false negative
because it does not distinguish between invocations of
postProcessBeanDefinitionRegistry across different registries.
A use case for this, though admittedly uncommon, would be creating
a CCPP instance and registering it via
ConfigurableApplicationContext#addBeanDefinitionPostProcessor against
several ApplicationContexts. In such a case, the same CCPP instance
will post-process multiple different registry instances, and throw the
above mentioned exception.
With this change, CCPP now performs lightweight tracking of the
registries/beanFactories that it has already processed by recording
the identity hashcodes of these objects. This is only slightly more
complex than the previous boolean-based 'already processed' flags, and
prevents this issue (however rare it may be) from occurring.
Issue: SPR-8527
2011-07-13 23:30:57 +00:00
Chris Beams
c5463a2e52
Move ImportSelector.Context to a top-level class
...
Issue: SPR-8411, SPR-8494
2011-07-13 23:28:53 +00:00
Juergen Hoeller
0c2a6395e7
revised package-level request and response classes
2011-07-13 23:14:02 +00:00
Costin Leau
f5fdedea60
+ fix compilation error
2011-07-13 13:51:20 +00:00
Costin Leau
b82ab4950d
+ removed unneeded generic
2011-07-13 12:58:09 +00:00
Chris Beams
a2a98efa13
Remove references to 'bold' text in reference docs
...
<emphasis role="bold"> blocks do not render properly, probably due to
conflicting CSS used for syntax highlighting. For the moment, any
mentions of bold text (e.g. "see bold text in the snippet below") have
been removed to avoid confusion as reported in SPR-8520. SPR-8526 has
been created to address the underlying issue of getting bold to work
even with syntax highlighting.
Issue: SPR-8520, SPR-8526
2011-07-11 18:29:37 +00:00
Juergen Hoeller
81a27ce484
an EntityManagerFactoryBean is only deserializable through a SerializedEntityManagerFactoryBeanReference
2011-07-11 13:50:34 +00:00
Juergen Hoeller
7861eff298
prototype-based TargetSource is only deserializable through a SingletonTargetSource
2011-07-11 13:37:49 +00:00
Chris Beams
431e935011
Fix APC registration for @EnableTransactionManagement
...
Prior to this change, @EnableTransactionManagement (via the
ProxyTransactionManagementConfiguration class) did not properly
register its auto-proxy creator through the usual AopConfigUtils
methods. It was trying to register the APC as a normal @Bean method,
but this causes issues (SPR-8494) with the logic in
AopConfigUtils#registerOrEscalateApcAsRequired, which expects the APC
bean definition to have a beanClassName property. When the APC is
registered via a @Bean definition, it is actually a
factoryBean/factoryMethod situation with no directly resolvable
beanClass/beanClassName.
To solve this problem, ImportSelector#selectImports has been refactored
to accept an ImportSelector.Context instance. This object contains the
AnnotationMetadata of the importing class as well as the enclosing
BeanDefinitionRegistry to allow for the kind of conditional bean
registration necessary here. In this case, the bean definition that
must be registered conditionally is that of the auto-proxy creator.
It should only be registered if AdviceMode == PROXY, and thus the
ImportSelector is an appropriate place to make this happen. It must
happen as a BeanDefinition (rather than a @Bean method) for
compatibility with AopConfigUtils, and working with the
BeanDefinitionRegistry API allows for that. This change does mean that
in certain cases like this one, #selectImports has container modifying
side effects. Documentation has been updated to reflect.
Issue: SPR-8411, SPR-8494
2011-07-11 01:17:19 +00:00
Chris Beams
d8d9e3fc27
Revert "Fix APC registration for @EnableTransactionManagement"
...
@PostConstruct added to ProxyTransactionManagementConfiguration cases
ConcurrentModificationException (as detailed previously in SPR-8397.
Backing out for now until a better solution can be devised.
This reverts commit 235b729514 .
2011-07-08 09:44:29 +00:00
Chris Beams
f1ef3e4dcd
Fix APC registration for @EnableTransactionManagement
...
Prior to this change, @EnableTransactionManagement (via the
ProxyTransactionManagementConfiguration class) did not properly
register its auto-proxy creator through the usual AopConfigUtils
methods. It was trying to register the APC as a normal @Bean method,
but this causes issues (SPR-8494) with the logic in
AopConfigUtils#registerOrEscalateApcAsRequired, which expects the APC
bean definition to have a beanClassName property. When the APC is
registered via a @Bean definition, it is actually a
factoryBean/factoryMethod situation with no directly resolvable
beanClass/beanClassName.
Rather than trying to rework how AopConfigUtils works, a @PostConstruct
method has been added to ProxyTransactionManagementConfiguration to call
the usual AopConfigUtils registration methods.
Issue: SPR-8411, SPR-8494
2011-07-07 22:37:28 +00:00
Chris Beams
5aa24af126
Implement SessionFactoryImplementor in SF proxies
...
SessionFactoryBuilderSupport implementations create DisposableBean
proxies for SessionFactory objects created using #buildSessionFactory.
Prior to this change, these proxies create problems when working agaist
SessionFactoryUtils.getDataSource(SessionFactory), because this method
expects the given SessionFactory to implement Hibernate's
SessionFactoryImplementor interface (which the stock SessionFactoryImpl
does).
With this change, the DisposableBean proxies created by SFBuilders
now also implement SessionFactoryImplementor to satisfy this and
probably other such cases.
Issue: SPR-8469
2011-07-07 19:42:07 +00:00
Sam Brannen
c3f9e845e0
[SPR-7858] polishing formatting, grammar, etc.
2011-07-07 11:55:00 +00:00
Chris Beams
807d612978
Determine FactoryBean object type via generics
...
For the particular use case detailed in SPR-8514, with this change we
now attempt to determine the object type of a FactoryBean through its
generic type parameter if possible.
For (a contrived) example:
@Configuration
public MyConfig {
@Bean
public FactoryBean<String> fb() {
return new StringFactoryBean("foo");
}
}
The implementation will now look at the <String> generic parameter
instead of attempting to instantiate the FactoryBean in order to call
its #getObjectType() method.
This is important in order to avoid the autowiring lifecycle issues
detailed in SPR-8514. For example, prior to this change, the following
code would fail:
@Configuration
public MyConfig {
@Autowired Foo foo;
@Bean
public FactoryBean<String> fb() {
Assert.notNull(foo);
return new StringFactoryBean("foo");
}
}
The reason for this failure is that in order to perform autowiring,
the container must first determine the object type of all configured
FactoryBeans. Clearly a chicken-and-egg issue, now fixed by this
change.
And lest this be thought of as an obscure bug, keep in mind the use case
of our own JPA support: in order to configure and return a
LocalContainerEntityManagerFactoryBean from a @Bean method, one will
need access to a DataSource, etc -- resources that are likely to
be @Autowired across @Configuration classes for modularity purposes.
Note that while the examples above feature methods with return
types dealing directly with the FactoryBean interface, of course
the implementation deals with subclasses/subinterfaces of FactoryBean
equally as well. See ConfigurationWithFactoryBeanAndAutowiringTests
for complete examples.
There is at least a slight risk here, in that the signature of a
FactoryBean-returing @Bean method may advertise a generic type for the
FactoryBean less specific than the actual object returned (or than
advertised by #getObjectType for that matter). This could mean that an
autowiring target may be missed, that we end up with a kind of
autowiring 'false negative' where FactoryBeans are concerned. This is
probably a less common scenario than the need to work with an autowired
field within a FactoryBean-returning @Bean method, and also has a clear
workaround of making the generic return type more specific.
Issue: SPR-8514
2011-07-06 09:15:37 +00:00
Chris Beams
605f0e7a22
Introduce GenericTypeResolver#resolveReturnTypeArgument
...
Issue: SPR-8514
2011-07-06 09:15:32 +00:00
Chris Beams
7c25c84ee2
Deprecate/move CGLIB methods AopUtils=>ClassUtils
...
isCglibProxy* methods in AopUtils are useful in lower-level modules,
i.e. those that cannot depend on .aop. Therefore copied these methods
to ClassUtils; deprecated the existing ones in AopUtils and now
delegating to the new location; switched all usage of
AopUtils#isCglibProxy* within the framework to use
ClassUtils#isCglibProxy* instead.
2011-07-06 09:15:27 +00:00
Chris Beams
78b60947ad
Rename JMX tests to avoid jmxremote_optional error
...
Even after applying @Ignore to these tests at the class level, they
still run (and fail) under ant when the jmxremote_optional jar is not
present. See the issues mentioned below for information on how these
tests will be re-enabled.
Issue: SPR-8089, SPR-8093, SPR-8458
2011-07-06 09:13:17 +00:00
Michael Isvy
4aeaaa083f
SPR-7858
...
removed references to JSR 330 since there is now a dedicated JSR 330 section inside beans-standard-annotations.xml
2011-07-06 06:15:27 +00:00
Michael Isvy
a590318b3c
SPR-7858
...
removed reference to JSR 330's @Named since there is now a dedicated JSR 330 section inside beans-standard-annotations.xml
2011-07-06 06:14:48 +00:00
Michael Isvy
1bd75e5af8
SPR-7858
...
minor wording change
2011-07-06 06:13:21 +00:00
Michael Isvy
cf348f206f
SPR-7858
...
removed reference to @Provider
2011-07-06 06:12:46 +00:00
Juergen Hoeller
c68021760d
fixed TypeDescriptor rendering (SPR-8508)
2011-07-05 22:06:14 +00:00
Juergen Hoeller
352f053a71
JavaMailSenderImpl detects and respects "mail.transport.protocol" property in existing Session (SPR-8501)
2011-07-04 22:31:03 +00:00
Juergen Hoeller
c07eb6bb9a
added "disabled" property to EhCacheFactoryBean
2011-07-04 22:14:05 +00:00
Juergen Hoeller
b0a6ebfb61
fixed package declaration
2011-07-04 22:04:31 +00:00
Juergen Hoeller
e5b1c4366c
added JBoss dependency (SPR-8505); updated WebSphere dependency
2011-07-04 21:37:09 +00:00
Juergen Hoeller
38290485de
switched from readResolve to readObject
2011-07-04 21:21:33 +00:00
Juergen Hoeller
57998293c8
optimized debug logging in case of non-convertible collection (SPR-8499)
2011-07-04 09:43:08 +00:00
Juergen Hoeller
df8e9b3393
DataBinder etc
2011-07-03 22:39:08 +00:00
Juergen Hoeller
6cd55b7986
ContextLoader and FrameworkServlet support "contextId" parameter for custom serialization id
2011-07-03 22:36:42 +00:00
Juergen Hoeller
36b582682d
added "autoGrowNestedPaths" property to ConfigurableWebBindingInitializer
2011-07-03 21:24:06 +00:00
Juergen Hoeller
22939b6d05
properly wrap IndexOutOfBoundsException even for List
2011-07-03 20:24:12 +00:00
Juergen Hoeller
b8f7d324af
regular IndexOutOfBoundsException if index beyond auto-grow limit
2011-07-03 20:12:18 +00:00
Juergen Hoeller
b9fe1b3250
restored original array behavior (no default growth of arrays)
2011-07-03 20:05:07 +00:00
Juergen Hoeller
4c75054f90
DataBinder uses a default limit of 256 for array/collection auto-growing (SPR-7842)
2011-07-03 19:26:49 +00:00
Juergen Hoeller
022ac3166c
added joptsimple dependency
2011-07-03 16:24:55 +00:00
Chris Beams
4262aed9c8
Refactor BeanFactoryLocator to use getBean(Class)
...
Prior to this change, (Context)SingletonBeanFactoryLocator used
BeanFactoryUtils#beanOfType(ListableBeanFactory, Class) to locate the
bean of type BeanFactory.
The more modern approach is to use BeanFactory#getBean(Class), which
removes a dependency on ListableBeanFactory interface while at the same
time opening the implementation up to respecting autowiring exclusions,
primary metadata, etc.
Issue: SPR-8489
2011-07-02 22:22:33 +00:00
Chris Beams
b5b2add5cf
Rename {DEFAULT_=>}COMMAND_LINE_PROPERTY_SOURCE_NAME
...
For consistency with all other constants representing default
property source names, such as
StandardServletEnvironment#SERVLET_CONTEXT_PROPERTY_SOURCE_NAME and
StandardEnvironment#SYSTEM_ENVIRONMENT_PROPERTY_SOURCE_NAME
Issue: SPR-8482
2011-07-02 21:39:52 +00:00
Chris Beams
d9ee958d88
Refactor JndiPropertySource
...
Prior to this change, JndiPropertySource worked directly against a JNDI
Context instance as its 'source' object. This works well enough, but is
not nearly as fully-featured as Spring's existing JndiLocatorDelegate.
This change refactors JndiPropertySource from relying on an underlying
Context to relying on an underlying JndiLocatorDelegate. By default,
the delegate's "resourceRef" property is set to true, meaning that the
implementation will always try to prepand a given name with
"java:comp/env/" before looking up the name, and upon failure will drop
back to the given name sans prefix.
See JndiPropertySource Javadoc for complete details.
Issue: SPR-8490
2011-07-02 21:26:44 +00:00
Chris Beams
ce0a0ff3d4
Move JNDI_PROPERTY_SOURCE_ENABLED_FLAG constant
...
Move JNDI_PROPERTY_SOURCE_ENABLED_FLAG from JndiPropertySource to
StandardServletEnvironment, as this is the only context in which the
constant makes sense.
2011-07-02 21:26:38 +00:00
Chris Beams
ea6d363c1e
Return null from JndiPropertySource on lookup failure
...
Issue: SPR-8490
2011-07-02 21:26:30 +00:00
Sam Brannen
e94d1e314f
fixed typo and formatting in Javadoc
2011-07-01 17:33:13 +00:00
Chris Beams
fecd6edf75
Fix unnecessary casts in Servlet*PropertySource
2011-06-30 22:34:08 +00:00
Chris Beams
1eb5811347
Introduce CommandLinePropertySource and impls
...
Users may now work with command line arguments as a source of
properties for use with the PropertySource and Environment APIs.
An implementation based on the jopt library and a "simple"
implementation requiring no external libraries are are provided
out-of-the box.
See Javadoc for CommandLinePropertySource, JOptCommandLinePropertySource
and SimpleCommandLinePropertySource for details.
Issue: SPR-8482
2011-06-30 22:33:56 +00:00
Rossen Stoyanchev
e0d2e20fc4
8483 Add support for MultipartFile arg type in RequestPartMethodArgumentResolver
2011-06-30 21:04:23 +00:00
Costin Leau
26dbfba6c0
SPR-8477
...
+ add no-op cache implementations suitable for cache declarations w/o a backing store
2011-06-30 18:17:39 +00:00
Rossen Stoyanchev
a58bd3073d
SPR-8431 Extract RedirectView URL creation into separate method available for subclasses to use
2011-06-30 09:13:51 +00:00
Chris Beams
4756badc1d
Prevent NPE in SpringServletContainerInitializer
...
Issue: SPR-8496
2011-06-29 17:33:07 +00:00
Rossen Stoyanchev
0dae1a6bd8
SPR-8447 Provide sufficient contextwherever possible when exceptions are raised in new @MVC classes.
2011-06-29 15:36:18 +00:00
Rossen Stoyanchev
3a87d8e7cb
SPR-8483 Add support for @RequestPart annotated method parameters
2011-06-28 19:22:33 +00:00
Juergen Hoeller
3bbefb3e65
fixed getHeaderNames signature
2011-06-28 14:08:47 +00:00
Juergen Hoeller
0371f569ec
added headers support to MultipartFile abstraction
2011-06-27 23:02:13 +00:00
Rossen Stoyanchev
78470782d4
SPR-8487 Ensure setters for argument resolvers and return value handlers replace the defaults completely.
2011-06-27 22:23:10 +00:00
Keith Donald
8504830da1
javadoc update
2011-06-27 21:37:34 +00:00
Keith Donald
c9d73e2bde
SPR-8465
2011-06-27 21:36:48 +00:00
Rossen Stoyanchev
1fd8f77989
SPR-7608 Add several sections to the reference docs on working with the @ModelAttribute annotation. Specifically the goal was to cover the abitlity for an @ModelAttribute argument to be instantiated from a URI template variable with the help of a Converter or a PropertyEditor.
2011-06-27 21:12:58 +00:00
Sam Brannen
8e497d9627
[SPR-8387] polishing
2011-06-26 17:13:09 +00:00
Sam Brannen
4aed64ea4b
[SPR-8387] skeleton for DelegatingSmartContextLoaderTests.
2011-06-26 17:01:32 +00:00
Sam Brannen
4cbe2ae00a
[SPR-8387] Introduced supports(MergedContextConfiguration) method in the SmartContextLoader SPI; updated existing loaders accordingly; and fleshed out implementation of and tests for the new DelegatingSmartContextLoader.
2011-06-26 16:46:18 +00:00
Sam Brannen
19fc2004f5
[SPR-8387] refined logging.
2011-06-26 15:47:30 +00:00
Sam Brannen
4ef895a018
[SPR-8387] Initial draft of the new DelegatingSmartContextLoader.
2011-06-26 15:39:58 +00:00
Sam Brannen
b49d11f84a
[SPR-8387] refined logging for failed generation of defaults; polishing JavaDoc.
2011-06-26 15:36:07 +00:00
Sam Brannen
3eb4f1d78b
fixed typo
2011-06-25 15:53:43 +00:00
Chris Beams
24a8a05f24
Polish WebApplicationInitializer Javadoc
2011-06-25 03:49:54 +00:00
David Syer
bd0f68d095
SPR-5749: Add defensive matching using target class loader
...
* Changes to ASpectJExpressionPointcut plus some tests in Spring AOP
* plus some tests in groovy support
2011-06-24 17:23:43 +00:00
Rossen Stoyanchev
1e07af8827
SPR-7608 Add fallback mechanism for instantiating a model attribute from a path variable
2011-06-24 17:18:53 +00:00
Rossen Stoyanchev
8e240d814b
SPR-6909 Improve extension hooks in DefaultDataBinderFactory and subclasses.
2011-06-24 12:04:16 +00:00
Rossen Stoyanchev
2122cbcb1b
SPR-8484 Add path variables to the model via AbstractView.render(..) rather than HandlerMethodArgumentResolver
2011-06-24 10:09:28 +00:00
Rossen Stoyanchev
df5e4d6d56
SPR-7746 Add examples of using regex in URI template vars and working with 'Last-Modified' HTTP requests
2011-06-23 15:28:57 +00:00
Rossen Stoyanchev
efaa941672
SPR-8476 Translate JsonMappingExceptions to HttpMessageNotReadableException (and thus response status code 400) consistent with JsonParseExceptions
2011-06-23 13:17:18 +00:00
Rossen Stoyanchev
69bba30ed8
SPR-8429 Add test cases for missing header, cookie, and pathvar values
2011-06-23 12:47:54 +00:00
Rossen Stoyanchev
465712c845
Add boolean flag in RequestMappingHandlerMapping to indicate if type- or method-level @RequestMapping annotation is being introspected
2011-06-22 22:29:26 +00:00
Juergen Hoeller
1c1bc9b3df
DefaultListableBeanFactory etc
2011-06-22 20:57:21 +00:00
Juergen Hoeller
c0dfbdeebc
DefaultListableBeanFactory is only deserializable through a SerializedBeanFactoryReference
2011-06-22 20:56:23 +00:00
Juergen Hoeller
4664366aca
getBean(name, type) attempts type conversion if necessary (SPR-8480)
2011-06-22 20:54:02 +00:00
Juergen Hoeller
e0d558b084
getBean(name, type) attempts type conversion if necessary (SPR-8480)
2011-06-22 20:52:28 +00:00
Rossen Stoyanchev
2d29439130
SPR-7787 Allow qualifiers in regular expressions of URI template patterns.
2011-06-22 20:39:10 +00:00
Rossen Stoyanchev
54c82a53cd
SPR-8452 Provide getter for statusCodes property of SimpleMappingExceptionResolver
2011-06-22 19:29:35 +00:00
Rossen Stoyanchev
5797fe7f62
SPR-7210 Add setModelKey and setModelKeys to MappingJacksonJsonView for consistency with MarshallingView.
2011-06-22 19:08:44 +00:00
Sam Brannen
6fa451733e
[SPR-8386] polishing
2011-06-22 13:21:11 +00:00
Rossen Stoyanchev
564f0ec3c3
SPR-8444 Added MapAccessor and EnvironmentAccessor to EL context in the eval tag
2011-06-21 16:50:00 +00:00
Rossen Stoyanchev
5f76ad809f
SPR-8429 Return 400 instead of 500 for required header/cookie/pathvar. This is also more in line with jax-rs.
2011-06-21 15:03:12 +00:00
Chris Beams
41e5d55d52
Fix bridge method detection for class hierarchies
...
Prior to this change, @Autowired injection against an instance of a
subclass having different visibility than its superclass would fail
if the @Autowired method is declared only in the superclass. This is due
to an apparent change in the rules around bridge method generation
between Java 5 and Java 6, and possibly even varying across compiler
vendors.
Now, BridgeMethodResolver is used consistently when detecting
@Autowired, @Inject and @Resource metadata to bypass these bridge
methods if they exist.
Issue: SPR-7900
2011-06-21 14:59:37 +00:00
Rossen Stoyanchev
8292491a53
SPR-6164 Add option to disable '.*' pattern matching in RequestMappingHandlerMapping and PatternsRequestCondition
2011-06-21 11:29:44 +00:00
Sam Brannen
2b5d2e5a0a
[SPR-8386] ContextLoader resolution once again ignores the inheritLocations flag on @ContextConfiguration.
2011-06-20 21:49:44 +00:00
Rossen Stoyanchev
a7ff8a2efa
SPR-8464 Fix problem in test with date formatting
2011-06-20 20:51:26 +00:00
Sam Brannen
102674be20
[SPR-8386] Completed JavaDoc for ContextLoaderUtils regarding the SmartContextLoader SPI.
2011-06-20 19:44:30 +00:00
Rossen Stoyanchev
40fb1b21e1
SPR-8464 Fix bug with detecting annotations on handler method arguments and consolidate anotation detection tests.
2011-06-20 19:32:27 +00:00
Sam Brannen
82d09d432e
[SPR-8386] Completed JavaDoc for AnnotationConfigContextLoader regarding the SmartContextLoader SPI.
2011-06-20 17:30:52 +00:00
Sam Brannen
f7a849f9f4
[SPR-8386] AbstractContextLoader now adheres to the SmartContextLoader contract by verifying the existence of generated default resource locations.
2011-06-20 16:20:14 +00:00
Sam Brannen
b00a6ccea5
[SPR-8386] polishing JavaDoc.
2011-06-20 14:33:08 +00:00
Sam Brannen
4b026756ae
[SPR-7960] Documented inheritProfiles attribute of @ActiveProfiles.
2011-06-20 14:32:39 +00:00
Rossen Stoyanchev
c41caa3c2f
SPR-8462
2011-06-20 11:46:43 +00:00
Chris Beams
4fb811572e
Compensate for Windows paths in XmlBeanFactoryTests
...
Issue: SPR-8439
2011-06-20 08:44:24 +00:00
Chris Beams
2d9ced04b1
Clarify BeanPostProcessor ordering rules in ref doc
...
Issue: SPR-7550
2011-06-20 06:48:36 +00:00
Sam Brannen
95ae6344c5
[SPR-8386] refining JavaDoc for MergedContextConfiguration and related classes.
2011-06-20 01:17:25 +00:00
Rossen Stoyanchev
6007801537
SPR-7812 Add CustomRequestCondition, PatternsRequestCondition, and other condition related tests
2011-06-19 22:52:52 +00:00
Sam Brannen
4d27cde6b7
[SPR-8386] fleshing out JavaDoc for SmartContextLoader and related classes.
2011-06-19 22:41:18 +00:00
Sam Brannen
81d8ce5597
[SPR-8395] AnnotationConfigContextLoader now supports default configuration classes with arbitrary names
2011-06-19 20:40:15 +00:00
Sam Brannen
427f31cb9c
polishing
2011-06-19 17:40:08 +00:00
Sam Brannen
a77cf0f652
[SPR-8395][SPR-8386] AnnotationConfigContextLoader now generates a list of default configuration classes by finding all non-private, non-final, static, inner classes of the test class that are annotated with @Configuration; updated JavaDoc in AbstractGenericContextLoader and AnnotationConfigContextLoader to reflect changes resulting from the SmartContextLoader integration.
2011-06-19 17:36:25 +00:00
Sam Brannen
c070a4b0a4
polishing Javadoc
2011-06-19 14:07:59 +00:00
Sam Brannen
568d451d60
ignoring patch files
2011-06-19 13:44:35 +00:00
Sam Brannen
d904bcbf03
[SPR-8386] AnnotationConfigContextLoader now only considers static inner classes annotated with @Configuration when generating default configuration classes.
2011-06-18 19:58:53 +00:00
Sam Brannen
46639c5a1d
[SPR-8386] Polishing SmartContextLoader SPI; AnnotationConfigContextLoader now only considers static inner classes annotated with @Configuration as configuration classes.
2011-06-18 19:45:39 +00:00
Rossen Stoyanchev
bede025eb9
SPR-7812 Remove remaining (empty) condition packages after moving classes
2011-06-17 23:29:07 +00:00
Rossen Stoyanchev
aacdd36e04
SPR-7812 Move condition package under mvc
2011-06-17 23:26:21 +00:00
Rossen Stoyanchev
4826cae064
SPR-7812 Add CustomRequestCondition
2011-06-17 23:19:14 +00:00
Sam Brannen
7dd6932910
polishing developer documentation
2011-06-17 21:51:01 +00:00
Sam Brannen
9a56deb283
[SPR-8386] SmartContextLoader enhancements:
...
- introduced processContextConfigurationAttributes() method in SmartContextLoader SPI
- refactored AnnotationConfigContextLoader, AbstractContextLoader, AbstractGenericContextLoader, ContextLoaderUtils, and TestContext implementations to take advantage of the SmartContextLoader SPI, MergedContextConfiguration, and ContextConfigurationAttributes
- deleted ResourceTypeAwareContextLoader
- deleted ContextLoaderUtils.LocationsResolver and implementations
- moved context key generation from TestContext to MergedContextConfiguration
2011-06-17 21:49:06 +00:00
David Syer
8e35734856
SPR-6268: check AnnotationUtils works with Groovy concrete classes (plus remove compiler warnings)
2011-06-17 13:35:57 +00:00
Rossen Stoyanchev
e5eceafa3f
SPR-7278 extension hook to extend the @ExceptionHandler methods for a controller
2011-06-17 13:14:34 +00:00
David Syer
64fd0b081d
SPR-6268: Add proxy-target-class to <lang:groovy/>
2011-06-17 12:14:01 +00:00
Chris Beams
5bfeb34b89
Fix non-compilable example in mvc ref doc
...
Issue: SPR-7750
2011-06-17 10:14:36 +00:00
Chris Beams
4fc386a4f5
Provide default ParameterNameDiscoverer for AACBF
...
Prior to this change, AbstractAutowireCapableBeanFactory did not support
a default ParameterNameDiscoverer. This meant that attempting to use
<constructor-arg name=".."> syntax would fail (with a fairly obscure
exception) as that feature depends on a ParameterNameDiscoverer to
introspect the constructor arguments.
This lack of a default was originally intended to avoid a dependency on
ASM, but now that (a) .asm is a built-in module and (b) .beans has a
non-optional compile-time dependency on .asm, there is no reason not to
provide this default.
The net effect is that in a number of locations throughout the
framework, namely in GenericApplicationContext and
AbstractRefreshableApplicationContext, it is no longer necessary to
explicitly call AACBF#setParameterNameDiscoverer. This also means that
using a naked BeanFactory (likely for testing scenarios) is that much
easier.
Issue: SPR-8184
2011-06-17 09:47:19 +00:00
Chris Beams
8cb5c36512
Consolidate tests related to @Config inheritance
...
Issue: SPR-8183
2011-06-17 09:46:19 +00:00
Rossen Stoyanchev
96b0752ddb
SPR-7812 RequestCondition refactoring with the possibility for custom request conditions in mind.
2011-06-17 09:39:49 +00:00
Arjen Poutsma
3a332e556c
SPR-8457 - XMLEventStreamReader.getText() fails for COMMENT and ENTITY_REFERENCE events
2011-06-17 09:07:12 +00:00
Arjen Poutsma
7c504853cd
SPR-8457 - XMLEventStreamReader.getText() fails for COMMENT and ENTITY_REFERENCE events
2011-06-17 09:06:02 +00:00
Chris Beams
e79e08d7f7
Prefer / or /app/* over /main in servlet examples
2011-06-16 22:42:50 +00:00
Chris Beams
5dc2d56600
Fix regression with covariant property return types
...
Prior to this change, the Property class introduced in 3.1 M2 validated
read/write property method pairs based on whether their parameter/return
types were equal to one another. This precluded the valid possibility
of read method that returns a subtype of the write method's parameter
type, and represented a regression against 3.1 M1 and earlier versions.
The implementation now uses isAssignableFrom rather than a straight
equals check against the types.
Issue: SPR-8432
2011-06-16 07:53:42 +00:00
Chris Beams
cc814519c8
Revert "Re-enable ignored JMX tests"
...
As of SPR-8093, jmxremote_optional.jar is present on the build
server in jre/lib/ext, but it is not by default present on local
developer / user machines, meaning that the build ends up broken
by default.
Issue: SPR-8089, SPR-8093, SPR-8458
2011-06-16 06:34:23 +00:00
Chris Beams
0e9e63e082
Preserve shadowed fields in DirectFieldAccessor
...
Prior to this change, DirectFieldAccessor would ignore fields shadowed
in subclasses, favoring the last field processed, which happens to be
the most super declaration based on the way ReflectionUtils.doWithFields
works.
Because the locally shadowed field may be of a different type that the
superclass declaration, it is most correct to preserve and work with
the shadowed field.
Issue: SPR-8398
2011-06-16 06:33:44 +00:00
Chris Beams
2aaf14e96f
Update pom and .classpath to reflect Castor upgrade
...
Issue: SPR-8341 SPR-8453
2011-06-16 04:36:53 +00:00
Rossen Stoyanchev
23f31d453f
SPR-8448 Remove URI template vars from the model before appending to query string in RedirectView
2011-06-15 21:07:37 +00:00
Juergen Hoeller
f288060ad8
restored support for String-to-ContextResource conversion (SPR-8383)
2011-06-15 15:40:12 +00:00
Chris Beams
ca6e112742
Clarify TransactionCallback Javadoc
...
Issue: SPR-8390
2011-06-15 13:04:07 +00:00
Arjen Poutsma
5c6bd2a1b6
Ignoring test failing on build server, though it works locally. No idea why.
2011-06-15 12:26:43 +00:00
Arjen Poutsma
deca69e374
SPR-8453 - SpringOXM CastorMarshaller tests
2011-06-15 11:45:23 +00:00
Arjen Poutsma
35aa378527
Minor changes
2011-06-15 11:13:04 +00:00
Arjen Poutsma
680f9692c8
SPR-8341 - Spring OXM CastorMarshaller unmarshalling methods
2011-06-15 11:09:58 +00:00
Arjen Poutsma
3b1190121f
SPR-8453 - SpringOXM CastorMarshaller tests
2011-06-15 11:04:02 +00:00
Arjen Poutsma
0346fbc154
Upgrade to Castor 1.3.2
2011-06-15 10:52:16 +00:00
Arjen Poutsma
6d45e1bb12
Upgrade to Castor 1.3.2
2011-06-15 10:39:04 +00:00
Arjen Poutsma
352d61bef2
Javadoc
2011-06-15 10:37:58 +00:00
Rossen Stoyanchev
ab033086f9
SPR-8454 Introduce Registration style objects, rename several Spring MVC *Configurer helpers to *Registry, add more tests
2011-06-15 08:06:42 +00:00
Juergen Hoeller
889f8886f6
support for Hibernate 4.0 as a JPA provider
2011-06-14 22:45:29 +00:00
Juergen Hoeller
cb1ddb334b
consistent dependency on Hibernate Validator 4.1.0.GA
2011-06-14 21:39:17 +00:00
Juergen Hoeller
5c1e86b47f
refined WebLogic RMI descriptor to only mark 'getTargetInterfaceName' method as idempotent (SPR-8369)
2011-06-14 15:07:23 +00:00
Juergen Hoeller
695f1613b2
refined EntityManagerFactory proxy exception (SPR-4383)
2011-06-14 15:02:40 +00:00
Arjen Poutsma
9765fefeac
SPR-8309 - Spring OXM schema improvement for CastorMarshaller
2011-06-14 13:46:32 +00:00
Arjen Poutsma
ac7d48e5a8
Fixing tests
2011-06-14 13:16:45 +00:00
Arjen Poutsma
c42671a78a
SPR-7911 - Better handling of 204 No Content in RestTemplate
2011-06-14 10:37:49 +00:00
Arjen Poutsma
01d2082090
SPR-7931 - Checking for @XmlRootElement annotation should be made optional in Jaxb2Marshaller
2011-06-14 09:46:18 +00:00
Rossen Stoyanchev
fa0b683161
Extract base class from RequestMappingHandlerMapping, one that allows for discovering request mappings from something other than annotations
2011-06-14 09:20:07 +00:00
Juergen Hoeller
b2be59c2e4
prepared for 3.1 RC1 release
2011-06-14 00:14:09 +00:00
Juergen Hoeller
878ff89014
added further conversion tests (triggered by 3.0.6 backports)
2011-06-13 23:57:53 +00:00
Juergen Hoeller
6c3cc786d0
added further conversion tests (triggered by 3.0.6 backports)
2011-06-13 23:43:46 +00:00
Juergen Hoeller
90c3d04958
revised JMS CachedConnectionFactory to avoid unnecessary rollback calls on Session return (SPR-8437); fixed JMS CachedConnectionFactory to fully synchronize its Session list (SPR-8436)
2011-06-13 22:32:42 +00:00
Juergen Hoeller
168d9648b9
revised JMS CachedConnectionFactory to avoid unnecessary rollback calls on Session return (SPR-8437); fixed JMS CachedConnectionFactory to fully synchronize its Session list (SPR-8436)
2011-06-13 21:42:11 +00:00
Rossen Stoyanchev
883ac319bc
SPR-8430 Rename WebMvcConfiguration to DelegatingWebMvcConfiguration, make it public and make delegation methods final
2011-06-13 12:20:25 +00:00
Chris Beams
25e2537c17
Fix html{Encoding=>Escape} typo in spring.tld.xml
...
Issue: SPR-8380
2011-06-13 08:41:06 +00:00
Chris Beams
9b45d50b9b
Add missing isDebugEnabled guard in FrameworkServlet
...
Issue: SPR-8085
2011-06-13 08:31:15 +00:00
Chris Beams
234bca6462
Resolve ${...} placeholders in @PropertySource
...
Issue: SPR-8442
2011-06-13 04:23:08 +00:00
Chris Beams
799785abad
Polish @EnableScheduling Javadoc
2011-06-12 06:56:37 +00:00
Chris Beams
2d68b726b5
Add syntax highlighting to Javadoc where necessary
...
Issue: SPR-8426
2011-06-12 06:56:17 +00:00
Sam Brannen
c0131fe108
Polishing Eclipse classpath settings
2011-06-11 19:56:48 +00:00
Sam Brannen
f5bed462bf
Fixed Eclipse classpath regarding Commons IO and Codec
2011-06-11 19:26:38 +00:00
Juergen Hoeller
4a11765dfd
avoid Logger.getGlobal() - it's Java 7 only...
2011-06-09 23:15:27 +00:00
Juergen Hoeller
e1d81e04bc
prepared Spring's DataSource and RowSet adapters for forward compatibility with JDBC 4.1
2011-06-09 23:09:55 +00:00
Rossen Stoyanchev
fdeeeac5d0
SPR-8430
2011-06-09 15:12:02 +00:00
Juergen Hoeller
1b9574131c
shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility)
2011-06-09 13:26:46 +00:00
Juergen Hoeller
e11dc8597d
shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility)
2011-06-09 13:10:09 +00:00
Juergen Hoeller
b5520bc01a
shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility)
2011-06-09 13:01:09 +00:00
Juergen Hoeller
11f90023dc
shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility)
2011-06-09 12:50:55 +00:00
Rossen Stoyanchev
00d57907a3
Introduce base class for WebMvcConfiguration
2011-06-09 11:17:45 +00:00
Juergen Hoeller
c60511bf04
shortened build properties "org.junit.version" to "junit.version" and "org.testng.version" to "testng.version"; reverted SLF4J version back to 1.5.3 (for Hibernate 3.3.1 compatibility)
2011-06-09 09:58:15 +00:00
Juergen Hoeller
9f3026a4e6
prefer use of varargs over arrays in bean property setters (for programmatic consumption)
2011-06-09 09:15:11 +00:00
Chris Beams
c17df6db8a
Update javadoc memory and doc publication settings
2011-06-09 02:54:52 +00:00
Chris Beams
ae61aa3555
Revert introduction of AnnotationConfigCapableAC
...
Per review with Juergen in light of SPR-8413, which will revisit the
overall structure of ACAC and ACWAC.
Issue: SPR-8365, SPR-8413
2011-06-09 02:54:34 +00:00
Chris Beams
3b50fc8d86
Add @EnableLoadTimeWeaving to "New in 3.1" ref doc
2011-06-09 02:53:57 +00:00
Juergen Hoeller
3b704272e3
polishing
2011-06-08 22:52:43 +00:00
Juergen Hoeller
fc11102e34
updated dependencies
2011-06-08 22:51:21 +00:00
Juergen Hoeller
3741ac7dd0
added section on JPA EntityManagerFactory bootstrapping without persistence.xml
2011-06-08 08:03:03 +00:00
Juergen Hoeller
d5b9b26fea
extended coverage of JSF 2.0 implicit attributes: "viewScope", "flash", "resource"
2011-06-08 00:12:50 +00:00
Juergen Hoeller
cac42ef233
fixed pattern list test
2011-06-07 23:24:30 +00:00
Juergen Hoeller
02e79f5673
final preparations for 3.1 M2
2011-06-07 22:34:52 +00:00
Juergen Hoeller
cd933c7f84
full support for arbitrary nesting of collections in fields (SPR-8394); proper type detection in nested collections within arrays
2011-06-07 22:34:35 +00:00
Juergen Hoeller
d940811d8b
full support for arbitrary nesting of collections in fields (SPR-8394); proper type detection in nested collections within arrays
2011-06-07 22:33:23 +00:00
Keith Donald
15e009f3a0
added utility method to reduce code duplication
2011-06-07 20:44:02 +00:00
Keith Donald
0601f0e520
assignability examples
2011-06-07 20:14:02 +00:00
Keith Donald
1e39b0bbbc
implemented collection/map converter conditional matching checks; updated SpEL to reflect this behavior
2011-06-07 20:00:28 +00:00
Juergen Hoeller
df460f4486
added "packagesToScan" feature to LocalContainerEntityManagerFactoryBean (avoiding persistence.xml)
2011-06-07 16:56:47 +00:00
Keith Donald
e5d551587a
fixed failing test; initial conditional converter impls for collections, arrays, and maps
2011-06-07 15:56:51 +00:00
Keith Donald
a60cb43c6a
added back element type checks in TypeDescriptor#isAssignable; clarified semantics in javadoc
2011-06-07 15:33:44 +00:00
Rossen Stoyanchev
7dcd71c543
SPR-7994 Add missing optional flag for Rome library in spring-web
2011-06-07 15:01:35 +00:00
Keith Donald
5e3a5202fb
restored TypeDescriptor getElementType, getMapKeyType, and getMapValueType compatibility; StringToCollection and Array Converters are now conditional and check targetElementType if present; TypeDesciptor#isAssignable no longer bothers with element type and map key/value types in checking assignability for consistency elsewhere; improved javadoc
2011-06-07 02:51:44 +00:00
Keith Donald
a1a7c32052
string to collection and array converters now are conditional and apply target element type match
2011-06-06 22:48:00 +00:00
Thomas Risberg
38041acc87
fixed duplicate section ids
2011-06-06 13:30:41 +00:00
Chris Beams
4a3c1292bc
Preserve DefaultContextLoadTimeWeaver no-arg ctor
...
Issue: SPR-8317
2011-06-06 13:15:10 +00:00
Arjen Poutsma
fa3e9bdfdd
SPR-7439 - JSON (jackson) @RequestBody marshalling throws awkward exception
2011-06-06 10:33:04 +00:00
Sam Brannen
4f1e74877a
Added log entries for recent TestContext framework changes.
2011-06-06 09:52:33 +00:00
Chris Beams
620018d16b
Introduce @EnableLoadTimeWeaving
...
Issue: SPR-8317
2011-06-06 08:31:18 +00:00
Chris Beams
bce9149947
Polish WebApplicationInitializer Javadoc
2011-06-06 08:30:36 +00:00
David Syer
6933a1af28
SPR-6717: Added support for database destroy scripts
2011-06-06 07:28:25 +00:00
Thomas Risberg
97e047ed66
added check for existing configuration of generated keys before calling update with a KeyHolder. (SPR-7564)
2011-06-06 00:52:01 +00:00
Rossen Stoyanchev
b06b5502e0
Updates to whats new in Spring 3.1 section
2011-06-05 21:45:31 +00:00
David Syer
32ebf18429
SPR-5937: add param map to freemarker url macro
2011-06-05 21:02:02 +00:00
David Syer
c2e62f098a
Add ignorable log file to .gitignore
2011-06-05 21:01:37 +00:00
Sam Brannen
4f96edd901
[SPR-8240][SPR-8401] Documenting @Configuration class and @ActiveProfiles support in the TestContext framework.
2011-06-05 19:23:29 +00:00
Sam Brannen
7307f3d513
Introduced toClassArray(Collection<Class<?>>).
2011-06-05 19:13:13 +00:00
Sam Brannen
5976beca80
polishing
2011-06-05 19:12:58 +00:00
Thomas Risberg
189cc262ad
updated codes for Sybase (SPR-8125)
2011-06-05 19:05:06 +00:00
Keith Donald
76283ed321
narrow and elementType/keyValueType tests
2011-06-05 18:51:37 +00:00
Keith Donald
a40f6585b4
added convert(Object, TypeDescriptor) convenience method; collection and map tests
2011-06-05 18:36:58 +00:00
Keith Donald
8c6890605a
null type descriptor handling
2011-06-05 17:52:26 +00:00
Keith Donald
5f8faa3ae7
improved null handling and javadoc
2011-06-05 17:41:08 +00:00
Thomas Risberg
0adcb2ad2e
Added batchUpdate method taking a Collection, a batch size and a ParameterizedPreparedStatementSetter as arguments (SPR-6334)
2011-06-05 16:42:24 +00:00
Keith Donald
cfb387383b
broke out to top-level class for readability
2011-06-05 08:37:08 +00:00
Keith Donald
c09227a712
removed dependency on java.beans
2011-06-05 08:29:14 +00:00
Keith Donald
94d690fb2c
javadoc and polishing
2011-06-05 07:14:34 +00:00
Keith Donald
2127b16051
catch ConversionFailedException and fallback to default container conversion logic rather than propogate exception
2011-06-05 06:04:49 +00:00
Keith Donald
9ece4a88a9
perform narrowing in reflective property accessor read methods as well
2011-06-05 06:01:48 +00:00
Keith Donald
c306afed63
polishing
2011-06-05 05:46:27 +00:00
Keith Donald
c84cccf06d
revised TypeDescriptor NULL and element/mapKey/mapValue type semantics
2011-06-05 04:43:18 +00:00
Chris Beams
a2a4929c14
Add "What's new in Spring 3.1" to ref docs
...
Issue: SPR-8399
2011-06-04 12:46:28 +00:00
Chris Beams
3af4cdb0f1
Rename ref docs section new-in-3 => new-in-3.0
2011-06-04 12:45:58 +00:00
Chris Beams
ea2da0b6be
Remove unused 'new-in-2' ref doc xml
2011-06-04 12:45:31 +00:00
Chris Beams
1bf8634db1
Fix broken links in ref docs
2011-06-04 12:45:11 +00:00
Keith Donald
5db1687d29
added TypeDescriptor resolveCollectionElement and Map key/value types
2011-06-04 05:38:51 +00:00
Sam Brannen
9c3c1c64b3
[SPR-8386] polishing JavaDoc
2011-06-03 22:51:53 +00:00
Sam Brannen
dbe96b5cf9
[SPR-7326] MergedContextConfiguration now ensures that it holds non-null arrays with proper semantics for TestContext's cache key generation.
2011-06-03 22:46:43 +00:00
Sam Brannen
3f58da1cd6
[SPR-7326] Added unit tests to verify proper semantics of TestContext's cache key generation.
2011-06-03 21:38:05 +00:00
Mark Fisher
72420c79cb
SPR-8205 added support for a 'trigger' attribute (bean ref) on scheduled-task elements
2011-06-03 18:54:21 +00:00
Sam Brannen
da41c9bb11
polishing
2011-06-03 16:19:41 +00:00
Sam Brannen
f3f29412d4
Increased timeout in calls to assertStopWatchTimeLimit() to increase stability of the build.
2011-06-03 15:44:08 +00:00
Sam Brannen
0d4469d8e3
Suppressing warnings for deprecation of SimpleJdbcTemplate; polishing JavaDoc; using TestNG assertions in TestNG tests.
2011-06-03 14:10:16 +00:00
Sam Brannen
266e1096ce
polishing
2011-06-03 13:40:45 +00:00
Sam Brannen
2b17ee0911
[SPR-6184] AnnotationConfigContextLoader now defines "$ContextConfiguration" as the resource suffix for generated default @Configuration class names.
2011-06-03 13:39:15 +00:00
Sam Brannen
39583d23fd
[SPR-6184] AnnotationConfigContextLoader now defines "$ContextConfiguration" as the resource suffix for generated default @Configuration class names.
2011-06-03 13:11:06 +00:00
Rossen Stoyanchev
16fc083310
SPR-8391 Minor documentation fixes
2011-06-03 09:50:12 +00:00
Rossen Stoyanchev
f1ad53d570
SPR-6709 Update changelog and add one test
2011-06-03 09:38:22 +00:00
Rossen Stoyanchev
d2a99de9fc
Add ModelFactory test for HttpSessionRequiredException
2011-06-03 09:38:16 +00:00
Oliver Gierke
c7a350cde7
SPR-7477 - Added lazy-init attribute to jee namespace
2011-06-03 08:51:56 +00:00
Chris Beams
385d8e9482
Fix system environment tests on all platforms
...
Issue: SPR-8245
2011-06-03 05:16:35 +00:00
Keith Donald
a1b7af5c9c
broke out pkg private classes from TypeDescriptor to improve manageability and testability
2011-06-03 03:09:05 +00:00
Keith Donald
07f985ac91
more tests; several assertions for the programmer
2011-06-03 02:18:22 +00:00
Keith Donald
08180e97f8
javadoc polishing
2011-06-03 02:01:28 +00:00
Keith Donald
a8dbac6d8d
more tests
2011-06-03 01:55:41 +00:00
Keith Donald
0f6d890d97
javadoc
2011-06-03 00:51:17 +00:00
Keith Donald
6f146737f4
simplified TypeDescriptor usage and updated use of the API across BeanWrapper and SpEL; collapsed PropertyTypeDescriptor into TypeDescriptor for simplicity and ease of use; improved docs
2011-06-02 23:37:19 +00:00
Rossen Stoyanchev
9d2ee7061c
SPR-6709 Handle RequestBodyNotValidException and update reference docs
2011-06-02 18:27:50 +00:00
Sam Brannen
bfecedf5e2
Reverted Dave's changes to Eclipse project settings since we do not use Maven to build.
2011-06-02 17:59:52 +00:00
Sam Brannen
2913964b41
[SPR-7960][SPR-8386] Supporting declarative configuration of bean definition profiles in the TestContext framework:
...
- TextContext now works with MergedContextConfiguration instead of locations and loader
- TextContext now builds context caching key from MergedContextConfiguration
- Test context caching is now based on locations, classes, active profiles, and context loader
- TextContext now delegates to SmartContextLoader or ContextLoader as appropriate
- AbstractContextLoader now implements SmartContextLoader
- AbstractGenericContextLoader now sets active profiles in the GenericApplicationContext
- Introduced integration tests for profile support in the TCF for both XML and annotation config
2011-06-02 17:51:37 +00:00
Sam Brannen
ab704fdaba
[SPR-8393] AnnotatedBeanDefinitionReader's constructor now inherits the Environment of supplied BeanDefinitionRegistry.
2011-06-02 17:35:02 +00:00
Sam Brannen
74b169e886
[SPR-8393] AnnotatedBeanDefinitionReader's constructor now inherits the Environment of supplied BeanDefinitionRegistry.
2011-06-02 17:33:12 +00:00
Rossen Stoyanchev
18f5d90235
SPR-6709 Support @Valid with @RequestBody method arguments
2011-06-02 17:21:44 +00:00
David Syer
14edc9fc03
SPR-7364: added separator property to database populator to deal with things like PL/SQL
2011-06-02 16:22:26 +00:00
Sam Brannen
ac735d73ac
[SPR-7960][SPR-8386] First draft of SmartContextLoader SPI, MergedContextConfiguration, and ContextConfigurationAttributes.
2011-06-02 14:45:22 +00:00
Chris Beams
cee9da36eb
Mention code alternatives in context and mvc XSDs
2011-06-02 14:45:00 +00:00
Chris Beams
9ca9287e35
Polish @Primary Javadoc
2011-06-02 14:44:26 +00:00
Chris Beams
aa0c64d2f2
Polish @EnableScheduling Javadoc and related XSD
2011-06-02 14:43:59 +00:00
Chris Beams
3e5c6306be
Polish @EnableAsync Javadoc and related XSD
2011-06-02 14:42:26 +00:00
Chris Beams
066daaf5be
Polish @EnableTransactionManagement Javadoc and XSD
2011-06-02 14:29:06 +00:00
David Syer
645631ad2e
SPR-6688: Add tests and explicit detection of \ in sql script extractor
2011-06-02 14:28:58 +00:00
Chris Beams
e0ad6500be
Rename TransactionManagementConfigurer callback
...
Renamed TransactionManagementConfigurer#createTransactionManager()
to #annotationDrivenTransactionManager() to better reflect the fact
that the implemented method is optionally eligible for @Bean annotation.
See Javadoc for details.
2011-06-02 14:28:16 +00:00
Rossen Stoyanchev
ce78a519f6
SPR-8059 fix issue with != param condition
2011-06-02 12:29:26 +00:00
Costin Leau
7be1b5c3f5
revised cache abstraction
...
+ remove generic signature on key generator (as the type is not used anywhere)
+ add a small improvement to CacheAspect to nicely handle the cases where the aspect is pulled in but not configured
2011-06-02 10:01:14 +00:00
Chris Beams
8227cb6243
Introduce ConfigurableConversionService interface
...
Consolidates ConversionService and ConverterRegistry interfaces;
implemented by GenericConversionService.
ConfigurablePropertyResolver#getConversionService now returns this
new type (hence so too does
ConfigurableEnvironment#getConversionService). This allows for
convenient addition / removal of Converter instances from Environment's
existing ConversionService. For example:
ConfigurableApplicationContext ctx = new ...
ConfigurableEnvironment env = ctx.getEnvironment();
env.getConversionService().addConverter(new FooConverter());
Issue: SPR-8389
2011-06-02 06:50:42 +00:00
Chris Beams
6ae04eb7e6
Polish ConfigurablePropertyResolver Javadoc
2011-06-02 06:50:00 +00:00
Chris Beams
0304a4b74d
Revert "Introduce Ordered#NOT_ORDERED"
...
This reverts commit da914bcfb4 and also
removes the use of Ordered#NOT_ORDERED from EnableTransactionManagement
and ProxyTransactionManagementConfiguration in favor of defaulting to
Ordered#LOWEST_PRIORITY, which is actually the default that results
when no 'order' attribute is specified in XML.
2011-06-02 06:49:15 +00:00
Sam Brannen
cf2563bdf5
[SPR-8388] Cleared up confusing documentation regarding PropertyResolver and Environment.
2011-06-01 21:05:23 +00:00
Sam Brannen
919b996027
[SPR-8388] Improved documentation on default registered PropertyEditors; fixed typos and grammar in JavaDoc; suppressed warnings due to generics; etc.
2011-06-01 20:54:48 +00:00
Sam Brannen
4642cca893
[SPR-6184] Introduced AnnotationConfigContextLoader to provide TestContext support for @Configuration classes
2011-06-01 16:13:40 +00:00
Sam Brannen
ff2a603f2f
[SPR-7960] Trimming profiles for good measure.
2011-06-01 15:04:34 +00:00
Sam Brannen
24a97805ef
[SPR-7960] Renamed @ActivateProfiles to @ActiveProfiles and fleshed out JavaDoc.
2011-06-01 14:40:53 +00:00
Sam Brannen
0c775416a6
[SPR-8089][SPR-8093] Re-enabled ignored JMX tests based on the feedback that jmxremote_optional.jar is now present "jre/lib/ext/ in both 1.5 and 1.6 JDKs on the build server".
2011-06-01 14:12:03 +00:00
Sam Brannen
3a2afde41d
[SPR-7960] Renamed resolveActivatedProfiles() to resolveActiveProfiles().
2011-06-01 12:59:47 +00:00
Sam Brannen
f64344b296
[SPR-7960] resolveActivatedProfiles() now resolves a unique set of activated profiles
2011-06-01 12:56:50 +00:00
Sam Brannen
13b7f1a31b
fixed typos
2011-06-01 12:55:26 +00:00
Sam Brannen
6981ee566c
[SPR-7960] No longer tracking empty activated profiles.
2011-05-31 22:29:14 +00:00
Sam Brannen
c7473f9124
[SPR-7960] No longer tracking empty activated profiles.
2011-05-31 22:12:53 +00:00
Chris Beams
67661693fe
Ignore failing tests on Windows
...
Attempt to access and modify the system environment works on OS X /
Linux but not under Windows. Does not represent any real failure for
production code - the need to modify the system environment is a
testing concern only, and one we can probably live without, considering
the losing battle necessary to make such a hack cross-platform.
Issue: SPR-8245
2011-05-31 10:58:24 +00:00
Chris Beams
c3675b44b4
Polish WebApplicationInitializer Javadoc
2011-05-31 06:42:36 +00:00
Chris Beams
14d50e3482
Fix failing system environment tests on Windows
...
Issue: SPR-8245
2011-05-31 06:42:06 +00:00
Chris Beams
4feacf31e7
Polish AdviceMode Javadoc
2011-05-31 06:41:35 +00:00
Chris Beams
847b54f3b1
Sort WebApplicationInitializers properly
...
Issue: SPR-7672
2011-05-31 01:12:34 +00:00
Sam Brannen
0067618b35
[SPR-7960] Initial support for @ActivateProfiles in tests.
2011-05-30 22:00:12 +00:00
Sam Brannen
f5a39ae7ff
[SPR-7960] Initial support for @ActivateProfiles in tests.
2011-05-30 21:59:12 +00:00
Juergen Hoeller
e5702cd3de
final preparations for 3.1 M2 release
2011-05-30 13:18:16 +00:00
Chris Beams
948aa4f589
Introduce DelegatingFilterProxy constructors
...
Issue: SPR-7672
2011-05-30 12:57:19 +00:00
Chris Beams
1e1a05e9f8
Polish DelegatingFilterProxy Javadoc
2011-05-30 12:56:32 +00:00
Chris Beams
e36b5e9b7e
Introduce ContextLoader(Listener) constructors
...
Constructors have been added to both ContextLoader and
ContextLoaderListener to support instance-based programmatic
registration of listeners within ServletContainerInitializer
implementations in Servlet 3.0+ environments, and more particularly
when using Spring 3.1's WebApplicationInitializer SPI.
Issue: SPR-7672
2011-05-30 12:56:01 +00:00
Chris Beams
2b4328023e
Improve ApplicationContextInitializer sorting
...
ContextLoader and FrameworkServlet now use
AnnotationAwareOrderComparator to support @Order usage; previously
supported only implementation of the Ordered interface.
2011-05-30 12:55:33 +00:00
Chris Beams
2eea63eec5
Introduce Framework/DispatcherServlet constructors
...
Constructors have been added to both FrameworkServlet and
DispatcherServlet to support instance-based programmatic registration
of Servlets within ServletContainerInitializer implementations in
Servlet 3.0+ environments, and more particularly when using Spring 3.1's
WebApplicationInitializer SPI.
This change also renames the method added to FrameworkServlet in
SPR-8185 from #initializeWebApplicationContext to #applyInitializers.
The reason being that a method named #initWebApplicationContext was
already present and the names overlapped confusingly.
Issue: SPR-7672, SPR-8185
2011-05-30 12:54:48 +00:00
Chris Beams
c4d98278e9
Fix DispatcherServlet warnings
2011-05-30 12:54:24 +00:00
Chris Beams
fb9fb00c04
Update GenericWAC to implement ConfigurableWAC
...
GenericWebApplicationContext now implements
ConfigurableWebApplicationContext in order to be compatible with
Framework/DispatcherServlet and ContextLoader/Listener, especially with
regard to changes in SPR-7672 that allow for programmatic use of these
types within Servlet 3.0+ environments. For the first time, it's now
reasonable to imagine injecting a GWAC into DispatcherServlet; the most
robust way to accommodate this possibility is for GWAC to implement
CWAC.
The implementation is in name only, allowing for interchangable use of
GWAC anywhere, for example, an XWAC could otherwise go. Methods such
as setConfigLocation will throw UnsupportedOperationException if the
configLocation value actually contains text. Other methods are
implemented as no-ops or to throw UOE as appropriate.
Issue: SPR-7672
2011-05-30 12:53:57 +00:00
Chris Beams
c9e67b2ef2
Introduce Servlet 3.0 WebApplicationInitializer
...
WebApplicationInitializer provides a programmatic alternative to the
traditional WEB-INF/web.xml servlet container deployment descriptor
for Servlet API 3.0+ environments.
This is done by building atop the new ServletContainerInitializer
support in Servlet 3.0. See SpringServletContainerInitializer for
complete details. And see WebApplicationInitializer Javadoc for
typical usage examples.
Issue: SPR-7672
2011-05-30 12:53:32 +00:00
Juergen Hoeller
2b51759113
fixed reflective class names
2011-05-29 22:00:14 +00:00
Juergen Hoeller
788a65b8e7
compatibility with Quartz 2.0 variant of the JobFactory interface
2011-05-29 21:45:19 +00:00
Juergen Hoeller
8e169a2782
updated Quartz scheduling package to support Quartz 1.8 as well
2011-05-29 21:29:40 +00:00
Juergen Hoeller
f1b9b8e924
preparations for 3.1 M2 release
2011-05-29 20:55:44 +00:00
Juergen Hoeller
e1d9457b7d
CustomNumberEditor generically declares numberClass as subclass of Number (matching NumberUtils)
2011-05-29 20:55:15 +00:00
Juergen Hoeller
0d69b80385
polishing
2011-05-29 20:53:34 +00:00
Juergen Hoeller
98c6a2784f
RemoteExporter uses an opaque proxy for 'serviceInterface' exposure (no AOP interfaces exposed)
2011-05-29 20:52:37 +00:00
Juergen Hoeller
a966cba97f
fixed JPA 2.0 timeout hints to correctly specify milliseconds (SPR-8086)
2011-05-29 20:52:03 +00:00
Juergen Hoeller
c303b22e30
updated IntelliJ dependency descriptors
2011-05-29 20:43:52 +00:00
Juergen Hoeller
af8aff3e49
added StandardServletMultipartResolver for Servlet 3.0
2011-05-29 20:38:23 +00:00
Rossen Stoyanchev
127115671c
SPR-8218 MVC chapter updates
2011-05-27 17:09:53 +00:00
Chris Beams
367a0c2933
Upgrade javax.servlet dependency to 3.0 for .web
...
In support of SPR-7672 which will support code-based configuration
alternatives to web.xml using new features in the Servlet 3.0 API.
This upgrade does *not* force Spring users to upgrade to Servlet 3.0
capable containers. Compatibility with and support for
javax.servlet >= 2.4 remains.
Issue: SPR-7672
2011-05-26 13:34:21 +00:00
Chris Beams
2ceeff370a
Allow multiple locations via @PropertySource#value
...
Issue: SPR-8314
2011-05-25 10:52:25 +00:00
Chris Beams
0756a6abfe
Polish PropertySource and Environment Javadoc
2011-05-25 10:52:03 +00:00
Arjen Poutsma
37d955b35b
Added tests for @RequestMaping produces and consumes
2011-05-25 09:21:44 +00:00
Keith Donald
f43d0e1003
Revised converter search algorithm to favor super classes before interface hierarchy
2011-05-24 22:20:54 +00:00
Keith Donald
ad93d20a6c
SPR-6749
2011-05-24 19:40:14 +00:00
Keith Donald
47e3f0948d
polish
2011-05-24 18:32:01 +00:00
Keith Donald
01cbfd4f6f
added null binding check for primitives for all conversion results; polishing
2011-05-24 17:53:18 +00:00
Rossen Stoyanchev
c5833b192e
SPR-7353 Use canWrite to narrow down list of producible types
2011-05-24 17:22:22 +00:00
Keith Donald
d02e37a307
added new ConverterRegistry operation; polishing
2011-05-24 03:47:50 +00:00
Keith Donald
e25fbf2533
added symmetry to ToString converters: SPR-8306
2011-05-23 23:00:43 +00:00
Sam Brannen
e11d7c328f
Added Eclipse project dependency on org.springframework.asm
2011-05-23 17:18:14 +00:00
Chris Beams
c4363673dc
Delegate parent environment to child app contexts
...
Calls to AbstractApplicationContext#setParent delegate the parent
context environment to the child.
This ensures that any property sources added to the parent are available
to the child as well as ensuring that any profiles activated are
activated everywhere.
Child contexts may still choose to replace their environment (through an
ApplicationContextInitializer, for example). In any case, however, in
the root/child web application context relationship established by
ContextLoader + DispatcherServlet, the child is guaranteed to have
already been given the parent environment by the time it is delegated
to any ACIs.
See AbstractApplicationContext#setParent for implementation
See FrameworkServlet#createWebApplicationContext for order in which
setParent then initializeWebApplicationContext are called.
Issue: SPR-8185
2011-05-23 10:04:00 +00:00
Chris Beams
c696e195fa
Introduce AnnotationConfigCapableApplicationContext
...
AnnotationConfigApplicationContext and
AnnotationConfigWebApplicationContext both expose #register and #scan
methods as of the completion of SPR-8320. This change introduces a new
interface that declares each of these methods and refactors ACAC and
ACWAC to implement it.
Beyond information value, this is useful for implementors of the
ApplicationContextInitializer interface, in that users may create an ACI
that works consistently across ACAC and ACWAC for standalone (e.g.
testing, batch) or web (e.g. production) use.
Issue: SPR-8365,SPR-8320
2011-05-23 10:03:23 +00:00
Chris Beams
e128ee2464
Introduce AnnotationConfigWAC #scan and #register
...
Primarily for use in conjunction with ApplicationContextInitializer,
these new #scan and #register methods mirror those in
AnnotationConfigApplicationContext. #setConfigLocation
and #setConfigLocations methods remain for compatibility with
ContextLoader-style initialization, but have been locally overridden
and documented clearly.
AnnotationConfigWebApplicationContext#loadBeanDefinitions Javadoc has
also been updated to explain the processing logic for each of these
potential inputs.
Issue: SPR-8320
2011-05-23 10:02:50 +00:00
Chris Beams
56720fc42c
Support "contextInitializerClasses" init-param
...
FrameworkServlet now has support equivalent to ContextLoader and its
"contextInitializerClasses" context-param introduced in 3.1 M1.
This allows users to specify ApplicationContextInitializers at the root
(ContextLoader) level and/or at the DispatcherServlet level.
Issue: SPR-8366
2011-05-23 10:02:18 +00:00
Chris Beams
3c6254df90
Polish FrameworkServlet Javadoc; fix warnings
2011-05-23 10:01:49 +00:00
Keith Donald
7430fcd904
SPR-8364
2011-05-23 07:38:27 +00:00
Keith Donald
5c67dbf424
revised findCommonElement handling within TypeDescriptor.forObject(Object); we now fully introspect the collection elements to resolve the common type. We also support nested introspection e.g. collections of collections. Object.class is used to indicate no common type, and TypeDescriptor.NULL is used to indicate a null element value
2011-05-23 05:21:02 +00:00
Keith Donald
79f9d1cfc6
moved applyIndexedObject internal, now invoked inside forObject static factory method
2011-05-23 01:08:18 +00:00
Keith Donald
4d6a5849f7
SPR-8364
2011-05-22 19:10:40 +00:00
Chris Beams
4a6101a697
Guard against null in #visitInnerClass
...
Issue: SPR-8358,SPR-8186
2011-05-21 01:39:50 +00:00
Chris Beams
95b1dbadb0
Register nested @Configuration classes automatically
...
The following is now possible:
@Configuration
public class AppConfig {
@Inject DataSource dataSource;
@Bean
public MyBean myBean() {
return new MyBean(dataSource);
}
@Configuration
static class DatabaseConfig {
@Bean
DataSource dataSource() {
return new EmbeddedDatabaseBuilder().build();
}
}
}
public static void main(String... args) {
AnnotationConfigApplicationContext ctx =
new AnnotationConfigApplicationContext(AppConfig.class);
ctx.getBean(MyBean.class); // works
ctx.getBean(DataSource.class); // works
}
Notice that the @Import annotation was not used and that only AppConfig
was registered against the context. By virtue of the fact that
DatabaseConfig is a member class of AppConfig, it is automatically
registered when AppConfig is registered. This avoids an awkward and
redundant @Import annotation when the relationship is already implicitly
clear.
See @Configuration Javadoc for details.
Issue: SPR-8186
2011-05-21 01:20:33 +00:00
Chris Beams
5b2c7c4e58
Introduce ClassMetadata#getMemberClassNames
...
ClassMetadata implementations can now introspect their member (nested)
classes. This will allow for automatic detection of nested
@Configuration types in SPR-8186.
Issue: SPR-8358,SPR-8186
2011-05-21 01:20:03 +00:00
Chris Beams
76e3d2855a
Polish @Configuration-related Javadoc
2011-05-21 01:19:25 +00:00
Rossen Stoyanchev
5fa7f24794
SPR-7353 Respect 'produces' condition in ContentNegotiatingViewResolver, improve selection of more specific media type in a pair
2011-05-20 17:02:20 +00:00
Chris Beams
c481d2e9fb
Rename {Default=>Standard}PortletEnvironment
...
Issue: SPR-8348
2011-05-20 03:57:35 +00:00
Chris Beams
f893b62a9b
Rename {DefaultWeb=>StandardServlet}Environment
...
Issue: SPR-8348
2011-05-20 03:55:56 +00:00
Chris Beams
c06752ef72
Rename {Default=>Standard}Environment
...
Issue: SPR-8348
2011-05-20 03:53:37 +00:00
Chris Beams
615fcff7ae
Polish Environment-related Javadoc
2011-05-20 03:50:41 +00:00
Chris Beams
7271ba8182
Introduce AbstractEnvironment#customizePropertySources
...
This new hook in the AbstractEnvironment lifecycle allows for more
explicit and predictable customization of property sources by
subclasses. See Javadoc and existing implementations for detail.
Issue: SPR-8354
2011-05-20 03:50:14 +00:00
Chris Beams
c4a13507f0
Introduce reserved default profile support
...
AbstractEnvironment and subclasses now register a reserved default
profile named literally 'default' such that with no action on the part
of the user, beans defined against the 'default' profile will be
registered - if no other profiles are explicitly activated.
For example, given the following three files a.xml, b.xml and c.xml:
a.xml
-----
<beans> <!-- no 'profile' attribute -->
<bean id="a" class="com.acme.A"/>
</beans>
b.xml
-----
<beans profile="default">
<bean id="b" class="com.acme.B"/>
</beans>
c.xml
-----
<beans profile="custom">
<bean id="c" class="com.acme.C"/>
</beans>
bootstrapping all of the files in a Spring ApplicationContext as
follows will result in beans 'a' and 'b', but not 'c' being registered:
ApplicationContext ctx = new GenericXmlApplicationContext();
ctx.load("a.xml");
ctx.load("b.xml");
ctx.load("c.xml");
ctx.refresh();
ctx.containsBean("a"); // true
ctx.containsBean("b"); // true
ctx.containsBean("c"); // false
whereas activating the 'custom' profile will result in beans 'a' and
'c', but not 'b' being registered:
ApplicationContext ctx = new GenericXmlApplicationContext();
ctx.load("a.xml");
ctx.load("b.xml");
ctx.load("c.xml");
ctx.getEnvironment().setActiveProfiles("custom");
ctx.refresh();
ctx.containsBean("a"); // true
ctx.containsBean("b"); // false
ctx.containsBean("c"); // true
that is, once the 'custom' profile is activated, beans defined against
the the reserved default profile are no longer registered. Beans not
defined against any profile ('a') are always registered regardless of
which profiles are active, and of course beans registered
against specific active profiles ('c') are registered.
The reserved default profile is, in practice, just another 'default
profile', as might be added through calling env.setDefaultProfiles() or
via the 'spring.profiles.default' property. The only difference is that
the reserved default is added automatically by AbstractEnvironment
implementations. As such, any call to setDefaultProfiles() or value set
for the 'spring.profiles.default' will override the reserved default
profile. If a user wishes to add their own default profile while
keeping the reserved default profile as well, it will need to be
explicitly redeclared, e.g.:
env.addDefaultProfiles("my-default-profile", "default")
The reserved default profile(s) are determined by the value returned
from AbstractEnvironment#getReservedDefaultProfiles(). This protected
method may be overridden by subclasses in order to customize the
set of reserved default profiles.
Issue: SPR-8203
2011-05-20 03:49:15 +00:00
Chris Beams
415057c184
Remove AbstractEnvironment#getPropertyResolver
...
Method is obsolete now that Environment (thus AbstractEnvironment as
well) implements the ConfigurablePropertyResolver interface.
2011-05-20 03:48:19 +00:00
Chris Beams
818467b9e5
Consolidate Environment tests
2011-05-20 03:47:48 +00:00
Rossen Stoyanchev
0bf92782ea
SPR-8352 Init and apply MappedInterceptors from AbstractHandlerMapping
2011-05-19 16:45:25 +00:00
Arjen Poutsma
60aa598c03
SPR-8296 - Extension for CastorMarshaller - additional unmarshaller properties
2011-05-19 14:01:35 +00:00
Arjen Poutsma
dd8a9cce05
SPR-8295 - Extension for CastorMarshaller - additional marshaller properties
2011-05-19 13:34:36 +00:00
Rossen Stoyanchev
5ac2e4418f
SPR-8350 ContentNegotiatingViewResolver initialization for nested ViewResolvers
2011-05-19 13:07:15 +00:00
Rossen Stoyanchev
100fed47f3
SPR-7353 Doc update for consumes/produces + changelog update
2011-05-19 13:05:53 +00:00
Costin Leau
b39673aa79
revised cache abstraction
...
- removed generics from Cache/CacheManager (they add no value since it's an SPI not API)
+ update docs and tests
+ renamed ConcurrentCacheFactoryBean to ConcurrentMapCacheFactoryBean
2011-05-18 18:34:41 +00:00
Costin Leau
dadd0f57ee
revised cache abstraction
...
- removed AbstractDelegatingCache (a cache is not a map, no need to offer a template)
+ renamed ConcurrentCache to ConcurrentCacheMap
2011-05-18 17:43:13 +00:00
Arjen Poutsma
1eaca65720
@RequestMapping.consumes() and produces() now default to an empty array, instead of */*
2011-05-18 11:34:47 +00:00
Arjen Poutsma
a618bcc8cd
Exposing HttpServletRequest/Response in ServletServerHttpRequest/Response
2011-05-18 11:24:57 +00:00
Chris Beams
4520ea8690
Revert #processConfigBeanDefinitions to 3.0.x API
...
Revert signature of
ConfigurationClassPostProcessor#processConfigBeanDefinitions to its form
found in the 3.0.x line. Refactorings made during 3.1 development
caused otherwise package-private types such as
ConfigurationClassBeanDefinitionReader to escape through this public
method, causing issues for STS as well as being a general design issue.
Upon review, the refactorings could easily be backed out in favor of a
simpler approach, and this has been done.
This also means that ConfigurationClassBeanDefinitionReader can return
to package-private visibility, and this change has been made as well.
Issue: SPR-8200
2011-05-18 08:53:46 +00:00
Chris Beams
6fcea8b99d
Remove ConfigurationClassParser from public API
...
Issue: SPR-8200
2011-05-17 19:15:17 +00:00
Costin Leau
8dfcae535e
revise cache API
...
+ update failing test
2011-05-17 18:16:07 +00:00
Costin Leau
0eb40e1e5e
revise cache API
...
+ update failing test
2011-05-17 18:01:35 +00:00
Costin Leau
dea1fc933f
revise cache API
...
+ update failing AJ test
2011-05-17 17:35:01 +00:00
Costin Leau
861e481755
revise cache API
...
+ update failing test
2011-05-17 17:09:49 +00:00
Costin Leau
3699a037a5
revise cache API
...
+ add missing files (remember to check "show unversioned files")
2011-05-17 16:58:15 +00:00
Costin Leau
0b917e3f9c
revise cache API
...
- eliminate unneeded methods
+ introduced value wrapper (name still to be decided) to avoid cache race conditions
+ improved name consistency
2011-05-17 16:50:00 +00:00
Rossen Stoyanchev
af1dfd3577
Use request attribute to check producible media types when writing to the response body
2011-05-17 13:02:48 +00:00
Arjen Poutsma
1bbdb0d2ff
minor fix.
2011-05-17 12:22:21 +00:00
Arjen Poutsma
b0a4be7cd1
Only respect RequestMappingInfos that have a pattern match in handleNoMatch
2011-05-17 10:07:36 +00:00
Arjen Poutsma
ad2e0d4587
SPR-7353 - @ResponseBody and returned HttpEntity now respect @RequestMapping.produces()
2011-05-17 09:45:57 +00:00
Rossen Stoyanchev
57c757afc5
SPR-2692 Update mvc chapter with URI template support in redirect: view names
2011-05-16 13:24:42 +00:00
Oliver Gierke
d14d82612d
SPR-8336 - Fixed broken test case.
...
Converted the test to JUnit 4.
2011-05-14 06:44:51 +00:00
Oliver Gierke
f8bf8742e1
SPR-8336 - Added constructor to AnnotationTypeFilter to allow matching interfaces as well.
...
Reviewed by Chris.
2011-05-14 06:22:44 +00:00
Rossen Stoyanchev
1784df8d3e
SPR-6996 Add mvc:interceptor bean references
2011-05-13 18:06:55 +00:00
Costin Leau
700a02b094
SPR-8334
...
+ commit missing configs
2011-05-13 16:09:33 +00:00
Costin Leau
cc519e7c6d
SPR-8334
...
+ commit missing configs
2011-05-13 15:59:22 +00:00
Rossen Stoyanchev
5c0e22e7a8
SPR-8289 Ensure BeanNameUrlHandlerMapping and default HandlerAdapters are never 'turned off' through the MVC namespaces
2011-05-13 15:46:37 +00:00
Costin Leau
4dd5ae16b2
SPR-8256
...
+ fix small doc typo
2011-05-13 15:40:12 +00:00
Costin Leau
a986d758e7
SPR-
...
+ remove duplicate class
2011-05-13 15:37:10 +00:00
Arjen Poutsma
bb2cc8457f
SPR-7353 - Added equivalent of JAX-RS @Produces to Spring MVC
2011-05-13 09:43:45 +00:00
Chris Beams
a557878a6f
Document @Autowired and @Value limitations
...
@Autowired, @Value and other annotations cannot be applied within
Spring Bean(Factory)PostProcessor types, because they themselves
are processed using BeanPostProcessors. Javadoc and reference docs
have been updated to reflect.
Issue: SPR-4935, SPR-8213
2011-05-13 03:41:29 +00:00
Chris Beams
df5bab3454
Remove "@BeanAge" from reference documentation
...
Issue: SPR-8327
2011-05-13 03:40:26 +00:00
Andy Clement
f8a2dd3f65
SPR-8211: property accessor ordering correction and removal of unnecessary duplicates
2011-05-12 16:40:44 +00:00
Rossen Stoyanchev
b46598965e
Add method to allow further validation of request mapping infos at startup + other minor javadoc updates.
2011-05-12 15:03:36 +00:00
Chris Beams
2afeb08e3c
Fix @Autowired+@PostConstruct+@Configuration issue
...
A subtle issue existed with the way we relied on isCurrentlyInCreation
to determine whether a @Bean method is being called by the container
or by user code. This worked in most cases, but in the particular
scenario laid out by SPR-8080, this approach was no longer sufficient.
This change introduces a ThreadLocal that contains the factory method
currently being invoked by the container, such that enhanced @Bean
methods can check against it to see if they are being called by the
container or not. If so, that is the cue that the user-defined @Bean
method implementation should be invoked in order to actually create
the bean for the first time. If not, then the cached instance of
the already-created bean should be looked up and returned.
See ConfigurationClassPostConstructAndAutowiringTests for
reproduction cases and more detail.
Issue: SPR-8080
2011-05-12 12:28:13 +00:00
Chris Beams
57206db152
Refine ignored @PropertySource log warning
...
If the enclosing environment does not implement ConfigurableEnvironment,
then @PropertySource annotations are ignored because there is no way to
add them to the Environment. Now checking first to see if there are any
@PropertySource annotations present before issuing the warning.
Issue: SPR-8314
2011-05-12 12:27:14 +00:00
Arjen Poutsma
8190b4f70a
Javadoc
2011-05-12 09:00:39 +00:00
Andy Clement
580f35f6ee
SFW-8228
2011-05-11 23:41:30 +00:00
Andy Clement
2f733bedc5
SFW-8224: distance can be used when computing method matches in ReflectiveMethodResolver
2011-05-11 21:44:24 +00:00
Sam Brannen
5d8de5c449
polishing
2011-05-11 20:09:08 +00:00
Rossen Stoyanchev
726e920857
Rename EnableMvcConfiguration->EnableWebMvc, refine method names in WebMvcConfigurer, fix issue with MappedInterceptors
2011-05-11 18:02:07 +00:00
Chris Beams
c8bc54e0cc
Introduce @PropertySource
...
Allows a convenient mechanism for contributing a PropertySource to the
enclosing Spring Environment. See @PropertySource Javadoc for
complete details and PropertySourceAnnotationTests for examples.
Issue: SPR-8314
2011-05-11 13:28:33 +00:00
Chris Beams
314a054a9b
Introduce ResourcePropertySource
...
Allows convenient creation of a Properties-based PropertySource from a
Spring Resource object or resource location string such as
"classpath:com/myco/app.properties" or "file:/path/to/file.properties"
Issue: SPR-8328
2011-05-11 13:28:05 +00:00
Arjen Poutsma
9b0c66dc6c
Make HTTP methods a RequestCondition
2011-05-11 10:38:30 +00:00
Chris Beams
80f0eabbd9
Add MockEnvironment to .integration-tests
2011-05-11 07:51:32 +00:00
Chris Beams
404f798048
Support 'required properties' precondition
...
Users may now call #setRequiredProperties(String...) against the
Environment (via its ConfigurablePropertyResolver interface) in order
to indicate which properties must be present.
Environment#validateRequiredProperties() is invoked by
AbstractApplicationContext during the refresh() lifecycle to perform
the actual check and a MissingRequiredPropertiesException is thrown
if the precondition is not satisfied.
Issue: SPR-8323
2011-05-11 07:36:04 +00:00
Chris Beams
3622c6f340
Pull up default getProperty variants to base class
...
Issue: SPR-8322
2011-05-11 07:35:16 +00:00
Chris Beams
dc2d5c107f
Add default-value getProperty convenience variants
...
Issue: SPR-8322
2011-05-11 06:09:06 +00:00
Chris Beams
693204aef8
Polish @Configuration Javadoc
...
Add note that nested @Configuration classes must be static.
2011-05-11 06:08:40 +00:00
Chris Beams
52bef0b7b0
Allow static modifier on @Bean methods
...
Declaring @Bean methods as 'static' is now permitted, whereas previously
it raised an exception at @Configuration class validation time.
A static @Bean method can be called by the container without requiring
the instantiation of its declaring @Configuration class. This is
particularly useful when dealing with BeanFactoryPostProcessor beans,
as they can interfere with the standard post-processing lifecycle
necessary to handle @Autowired, @Inject, @Value, @PostConstruct and
other annotations.
static @Bean methods cannot recieve CGLIB enhancement for scoping and
AOP concerns. This is acceptable in BFPP cases as they rarely if ever
need it, and should not in typical cases ever be called by another
@Bean method. Once invoked by the container, the resulting bean will
be cached as usual, but multiple invocations of the static @Bean method
will result in creation of multiple instances of the bean.
static @Bean methods may not, for obvious reasons, refer to normal
instance @Bean methods, but again this is not likely a concern for BFPP
types. In the rare case that they do need a bean reference, parameter
injection into the static @Bean method is technically an option, but
should be avoided as it will potentially cause premature instantiation
of more beans that the user may have intended.
Note particularly that a WARN-level log message is now issued for any
non-static @Bean method with a return type assignable to BFPP. This
serves as a strong recommendation to users that they always mark BFPP
@Bean methods as static.
See @Bean Javadoc for complete details.
Issue: SPR-8257, SPR-8269
2011-05-10 11:55:41 +00:00
Chris Beams
859185d086
Test interaction of @ComponentScan and @Import
2011-05-10 11:54:37 +00:00
Arjen Poutsma
71aae405d5
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
2011-05-10 09:23:00 +00:00
Costin Leau
7f247a6b27
SPR-8256
...
+ doc updates
2011-05-09 17:40:23 +00:00
Arjen Poutsma
b058d1e07a
Made comparators public, as they are needed elsewhere.
2011-05-09 11:20:49 +00:00
Rossen Stoyanchev
8d0ab1d2e5
Refine HandlerMethod registration to allow detection by handler instance as well as by bean name
2011-05-08 19:31:29 +00:00
Chris Beams
d0c31ad84c
Allow recursive use of @ComponentScan
...
Prior to this change, @ComponentScan annotations were only processed at
the first level of depth. Now, the set of bean definitions resulting
from each declaration of @ComponentScan is checked for configuration
classes that declare @ComponentScan, and recursion is performed as
necessary.
Cycles between @ComponentScan declarations are detected as well. See
CircularComponentScanException.
Issue: SPR-8307
2011-05-08 13:49:35 +00:00
Chris Beams
c2b030a50d
Polish @EnableScheduling Javadoc
2011-05-08 13:48:02 +00:00
Chris Beams
7e398f101c
Rename AsyncConfigurer#get{+Async}Executor
2011-05-07 09:32:03 +00:00
Chris Beams
358cbf4301
Polish @EnableScheduling Javadoc
2011-05-07 09:31:13 +00:00
Chris Beams
b7f4f2b546
Expose return-value-handlers in mvc namespace
...
Mirroring the MvcConfigurer#addCustomReturnValueHandlers callback which
allows for providing a list of HandlerMethodReturnValueHandler types
2011-05-06 19:13:44 +00:00
Chris Beams
1efb82d7cb
Rename RequestMapping types for concision
...
Remove 'Method' from RequestMappingHandlerMethodMapping and
RequestMappingHandlerMethodAdapter
2011-05-06 19:13:05 +00:00
Chris Beams
2092a31f9d
Rename DataBinderFactory subtypes for concision
2011-05-06 19:12:14 +00:00
Chris Beams
446dfdbff2
Introduce @EnableMvcConfiguration
2011-05-06 19:11:19 +00:00
Chris Beams
01e5120a26
Introduce @EnableTransactionManagement
2011-05-06 19:10:25 +00:00
Chris Beams
d9a89529f0
Introduce @EnableScheduling
2011-05-06 19:09:24 +00:00
Chris Beams
de50789cb6
Introduce @EnableAsync
...
Introduce @EnableAsync#order
AsyncAnnotationBeanPostProcessor's 'order' property is now mutable;
@EnableAsync's 'order()' attribute allows for setting it, but must
have a default value, thus uses the new Ordered#NOT_ORDERED
constant - a reserved negative number very unlikely to be otherwise
used that may be interpreted as 'not ordered', useful in annotation
defaulting scenarios where null is not an option.
Introduce first working cut of AsyncConfiguration
Remove AsyncCapability
2011-05-06 19:08:53 +00:00
Chris Beams
cf0fc278bb
Introduce @Role
...
As a mechanism for setting the 'role' hint on BeanDefinitions created
via component-scanning or @Bean methods.
2011-05-06 19:08:10 +00:00
Chris Beams
17892a8ab2
Introduce Ordered#NOT_ORDERED
...
To provide a reasonable default value for annotations that expose
int-returning #order attributes.
2011-05-06 19:07:41 +00:00
Chris Beams
7b999c676f
Introduce ReflectionUtils#getUniqueDeclaredMethods
...
This change is in support of certain polymorphism cases in
@Configuration class inheritance hierarchies. Consider the following
scenario:
@Configuration
public abstract class AbstractConfig {
public abstract Object bean();
}
@Configuration
public class ConcreteConfig {
@Override
@Bean
public BeanPostProcessor bean() { ... }
}
ConcreteConfig overrides AbstractConfig's #bean() method with a
covariant return type, in this case returning an object of type
BeanPostProcessor. It is critically important that the container
is able to detect the return type of ConcreteConfig#bean() in order
to instantiate the BPP at the right point in the lifecycle.
Prior to this change, the container could not do this.
AbstractAutowireCapableBeanFactory#getTypeForFactoryMethod called
ReflectionUtils#getAllDeclaredMethods, which returned Method objects
for both the Object and BeanPostProcessor signatures of the #bean()
method. This confused the implementation sufficiently as not to
choose a type for the factory method at all. This means that the
BPP never gets detected as a BPP.
The new method being introduced here, #getUniqueDeclaredMethods, takes
covariant return types into account, and filters out duplicates,
favoring the most specific / narrow return type.
Additionally, it filters out any CGLIB 'rewritten' methods, which
is important in the case of @Configuration classes, which are
enhanced by CGLIB. See the implementation for further details.
2011-05-06 19:07:25 +00:00
Chris Beams
2bc3527f76
Consolidate annotation processing constants
...
Consolidating internal bean name and aspect class name constats within
AnnotationConfigUtils to allow access from both the context.config
and context.annotation packages without creating a relationship between
the two of them (they are unrelated leaf nodes in the packaging
currently).
The .transaction module does not have a similar utils class and already
has a relationship from transaction.config -> transaction.annotation,
so placing the constants in .annotation.TransactionManagementCapability
to be referenced by .config.AnnotationDrivenBeanDefinitionParser
2011-05-06 19:06:37 +00:00
Chris Beams
9a271ce6c9
Introduce ImportSelector interface
...
Allows @Enable* a layer of indirection for deciding which @Configuration
class(es) to @Import.
The @Import annotation may now accept @Configuration class literals
and/or ImportSelector class literals.
2011-05-06 19:06:02 +00:00
Chris Beams
cdb01cbd37
Introduce ImportAware interface
...
@Configuration classes may implement ImportAware in order to be injected
with the AnnotationMetadata of their @Import'ing class.
Includes the introduction of a new PriorityOrdered
ImportAwareBeanPostProcessor that handles injection of the
importing class metadata.
2011-05-06 19:05:42 +00:00
Chris Beams
89005a5b70
Process all meta and local @Import declarations
...
Includes the introduction of AnnotationUtils#findAllAnnotationAttributes
to support iterating through all annotations declared on a given type
and interrogating each for the presence of a meta-annotation. See tests
for details.
2011-05-06 19:05:15 +00:00
Chris Beams
856da7edb9
Provide dedicated @ComponentScan processing
...
@ComponentScan is now checked for explicitly and handled immediately
when parsing @Configuration classes.
2011-05-06 19:04:35 +00:00
Chris Beams
cd4fb665d9
Delegate ComponentScanBDP environment to scanner
...
Enables @Profile filtering within ComponentScanBeanDefinitionParser
2011-05-06 19:04:11 +00:00
Chris Beams
111fb71fe1
Remove "Feature" support introduced in 3.1 M1
...
Feature-related support such as @Feature, @FeatureConfiguration,
and FeatureSpecification types will be replaced by framework-provided
@Configuration classes and convenience annotations such as
@ComponentScan (already exists), @EnableAsync, @EnableScheduling,
@EnableTransactionManagement and others.
Issue: SPR-8012,SPR-8034,SPR-8039,SPR-8188,SPR-8206,SPR-8223,
SPR-8225,SPR-8226,SPR-8227
2011-05-06 19:03:52 +00:00
Chris Beams
0a790c143f
Rename ConfigurationClassMethod => BeanMethod
2011-05-06 19:01:56 +00:00
Chris Beams
f683f781c5
Revert deprecation of BDRU#registerWithGeneratedName
...
The overloading necessary to preserve the new signature as well as
the old causes ambiguities leading to deprecation warnings in some
caller scenarios.
2011-05-06 19:01:35 +00:00
Chris Beams
84a63b6d4b
Prevent empty calls to ACAC #register and #scan
2011-05-06 19:01:11 +00:00
Chris Beams
d2faef44fa
Add comment on DisposableBean use in @Configuration
...
Issue: SPR-7901
2011-05-06 19:00:55 +00:00
Chris Beams
d3678caa37
Polish Javadoc
2011-05-06 19:00:38 +00:00
Chris Beams
f30b7e3125
Fix generics and serialization warnings
2011-05-06 19:00:14 +00:00
Chris Beams
6d84f06d8c
Remove unused MethodMetadata#getMethodReturnType
...
Introduced to support checking return types on @Bean methods but never
actually used. May be reintroduced as necessary in the future.
2011-05-06 18:59:26 +00:00
Chris Beams
4b5208faad
Introduce PropertyResolver#getPropertyAsClass
2011-05-06 18:59:05 +00:00
Chris Beams
275d43dfde
Rename Property{SourcesProperty}ResolverTests
2011-05-06 18:58:41 +00:00
Chris Beams
c51c340881
Update MockEnvironment / MockPropertySource types
...
Reflecting signature changes in getProperty() methods
2011-05-06 18:57:41 +00:00
Sam Brannen
3e2cc7dd19
polishing
2011-05-06 15:35:40 +00:00
Sam Brannen
ddc9bbb555
[SPR-6184] Simplifying ContextLoader implmementation:
...
- Removed AbstractGenericContextLoader's createGenericApplicationContext() method.
- AnnotationConfigContextLoader now uses an AnnotatedBeanDefinitionReader instead of working with an AnnotationConfigApplicationContext.
- AnnotationConfigContextLoader now uses the supplied GenericApplicationContext to load configuration classes.
2011-05-06 12:05:56 +00:00
Rossen Stoyanchev
c91ab1ad6e
Resolve custom args after annotated args, set PATH_WITHIN_HANDLER_MAPPING attribute, and rename resolver for @ExceptionHandler methods
2011-05-03 15:39:13 +00:00
Rossen Stoyanchev
50117dce40
SPR-6909 Include URI template vars in data binding
2011-04-26 11:54:54 +00:00
Chris Beams
5c27a04210
Automatically close SessionFactory objects
...
SessionFactory objects created by
SessionFactoryBuilderSupport#buildSessionFactory are now DisposableBean
proxies that call SessionFactory#close and release any threadlocal
DataSource object.
This is the same behavior that has always occurred during LSFBean and
ASFBean destruction lifecycles (and still does). This destruction logic
has now been factored out into
SessionFactoryBuilderSupport#closeHibernateSessionFactory such that all
SFB types can reuse it easily.
Note that LSFBean and ASFBean are subclasses, respectively, of SFBuilder
and ASFBuilder and they each must disable the DisposableBean proxying in
order to avoid duplicate attempts at closing the SessionFactory. See
the implementations of wrapSessionFactoryIfNeccesary() for details.
Issue: SPR-8114
2011-04-26 10:15:30 +00:00
Chris Beams
88e2277bff
Fix typo in aop reference documentation
...
Issue: SPR-8268
2011-04-26 07:44:40 +00:00
Rossen Stoyanchev
ed9d9a402b
SPR-7543 Add @PathVariables to the model
2011-04-21 15:18:45 +00:00
Arjen Poutsma
a4716c2a94
Buffering RequestFactory that allows for multiple response body reads.
2011-04-21 15:09:44 +00:00
Rossen Stoyanchev
945cf43e2d
Remove consumes from @RequestMapping
2011-04-21 14:54:55 +00:00
Rossen Stoyanchev
acb9433e5c
SPR-8247 review changes
2011-04-21 11:40:24 +00:00
Arjen Poutsma
ab654a7a06
added toString to HttpEntity
2011-04-21 11:39:20 +00:00
Costin Leau
5206f5bc9a
SPR-8238
...
+ add NPE test
2011-04-21 08:07:12 +00:00
Costin Leau
e1d19d6c24
SPR-8238
...
+ add handling for null arguments to prevent NPE in default key generation
2011-04-21 08:00:42 +00:00
Rossen Stoyanchev
d14c7f2d09
SPR-8247
2011-04-20 21:41:17 +00:00
Rossen Stoyanchev
57d327d1ff
SPR-8255
2011-04-20 08:43:57 +00:00
Rossen Stoyanchev
9c65973b33
SPR-8214 review unit tests
2011-04-15 18:42:58 +00:00
Rossen Stoyanchev
83ce399c47
SPR-8248
2011-04-15 06:42:18 +00:00
Thomas Risberg
f5f738f2b4
SPR-6922 deprecated SimpleJdbcTemplate/SimpleJdbcOperations/SimpleJdbcDaoSupport in favor of JdbcTemplate/NamedParameterJdbcTemplate and related interfaces support classes
2011-04-14 18:44:40 +00:00
Rossen Stoyanchev
aa065e8310
SPR-8214 Javadoc and polish
2011-04-13 23:15:19 +00:00
Sam Brannen
62d40dc7aa
Added Apache Commons HTTP JARs to the Eclipse classpath.
2011-04-12 21:58:38 +00:00
Micha Kiener
8adb9a88d0
SPR-6416, adding basic conversation object tests, improving the access time of the conversation object
2011-04-12 19:51:50 +00:00
Micha Kiener
3244e0a644
SPR-6416, adding repository timeout setting tests
2011-04-12 18:11:18 +00:00
Micha Kiener
8098ced387
SPR-6416, adding conversation manager test
2011-04-12 16:02:46 +00:00
Micha Kiener
58b779355b
SPR-6416, reshaping removal of hierarchical conversations and adding repository test
2011-04-12 14:53:09 +00:00
Rossen Stoyanchev
6e03b4dd64
SWF-8214 javadoc updates
2011-04-12 13:23:14 +00:00
Micha Kiener
f812cd748e
SPR-6416, initial commit for the conversation management
2011-04-12 13:21:18 +00:00
Rossen Stoyanchev
0c736776da
SPR-8094
2011-04-12 10:46:57 +00:00
Arjen Poutsma
3690002dce
SPR-6180 - Upgrade Apache HttpClient to version 4.0
2011-04-12 07:55:38 +00:00
Rossen Stoyanchev
5486649394
Add UriTemplateServletHandlerMethodTests
2011-04-11 17:18:07 +00:00
Rossen Stoyanchev
767513de4e
Add UriTemplateServletHandlerMethodTests
2011-04-11 17:17:51 +00:00
Rossen Stoyanchev
23e37b6842
SPR-8234 Switch to strongly typed custom argument resolvers property
2011-04-11 15:50:04 +00:00
Arjen Poutsma
54bbcf3a42
SPR-6180 - Upgrade Apache HttpClient to version 4.0
2011-04-11 13:12:45 +00:00
Rossen Stoyanchev
313546ad1f
SPR-8234 Argument resolver and return value handler configuration improvements
2011-04-11 12:37:33 +00:00
Sam Brannen
68b4687311
[SPR-6184] completed JavaDoc for @ContextConfiguration.
2011-04-10 23:20:05 +00:00
Rossen Stoyanchev
36970115ed
Fix issues encountered in Greenhouse
2011-04-10 06:01:11 +00:00
Sam Brannen
a16f3ba9dc
[SPR-6184] completed JavaDoc for AnnotationConfigContextLoader; polished JavaDoc for other concrete context loaders.
2011-04-09 23:24:34 +00:00
Sam Brannen
174bf58308
[SPR-6184] added tests to verify support for @Configuration classes with TestNG; simplified existing TestNG tests using Spring 3.0 and 3.1 features.
2011-04-09 22:44:53 +00:00
Sam Brannen
522a879496
polishing
2011-04-09 21:40:08 +00:00
Sam Brannen
0584c26b2c
[SPR-6184] additional sanity check tests analogous to those developed for [SPR-3896].
2011-04-09 21:39:42 +00:00
Sam Brannen
22072b2414
[SPR-6184] polishing
2011-04-09 14:46:49 +00:00
Sam Brannen
ef79d7cc8a
[SPR-6184] Fleshed out JavaDoc for ResourceTypeAwareContextLoader and ContextLoaderUtils.
2011-04-09 14:34:16 +00:00
Sam Brannen
03961a81d6
Updated Eclipse code formatter settings for use with STS 2.6. Specifically, format_javadoc_comments=false, which requires that JavaDoc be formatted manually.
2011-04-09 13:31:02 +00:00
Sam Brannen
b33478b4ba
Added ? wildcard to suppress warnings.
2011-04-09 13:29:59 +00:00
Sam Brannen
c50d38ef8d
[SPR-6184] Introduced ResourceType enum for context loaders; documented tests.
2011-04-08 22:57:45 +00:00
Arjen Poutsma
28b6eae11a
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
2011-04-08 13:33:58 +00:00
Arjen Poutsma
44b4f59c5e
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
2011-04-08 12:06:53 +00:00
Arjen Poutsma
0cdb237576
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
2011-04-08 11:12:54 +00:00
Arjen Poutsma
ff89c0e55a
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
2011-04-08 10:50:45 +00:00
Arjen Poutsma
bf6693dbc5
SPR-7354 - Added equivalent of JAX-RS @Consumes to Spring MVC
2011-04-08 09:26:17 +00:00
Rossen Stoyanchev
381af43f91
Javadoc updates
2011-04-07 22:16:41 +00:00
Rossen Stoyanchev
6fe0ff9e7b
ModelAndViewContainer related refinements
2011-04-07 18:09:28 +00:00
Sam Brannen
3d8b476f58
fixed typo
2011-04-07 08:00:23 +00:00
Rossen Stoyanchev
2710870d9e
SPR-8217 adding one class missed on last checkin
2011-04-06 20:33:10 +00:00
Rossen Stoyanchev
4c1f73ed83
SPR-8217 update MVC namespace to use HandlerMethod infrastructure
2011-04-06 20:28:47 +00:00
Rossen Stoyanchev
ffec444434
Configurable arg resolvers and return value handlers
2011-04-06 16:55:21 +00:00
Rossen Stoyanchev
ca9a3b4584
Replace ModelAndViewContainer parameter with Object
2011-04-06 15:30:19 +00:00
Rossen Stoyanchev
3ee6734424
SPR-8216 Replicate ServletAnnotationControllerTests for HandlerMethod infrastructure
2011-04-06 15:30:01 +00:00
Rossen Stoyanchev
28cdae2e50
SPR-8215 Fix issue with tests compiling
2011-04-06 11:52:18 +00:00
Rossen Stoyanchev
acc75aa4b8
SPR-8215 Move HandlerMethod code into trunk
2011-04-06 11:30:59 +00:00
Arjen Poutsma
0f7d43ba90
Allow for customization of the media type for forms.
2011-04-05 09:48:09 +00:00
Chris Beams
158a392d80
Ignore non-prop 'set' methods in ExtendedBeanInfo
...
Previously, ExtendedBeanInfo would attempt to process methods named
exactly 'set'. JavaBeans properties must have at least one character
following the 'set' prefix in order to qualify, and this is now
respected by EBI.
Thanks to Rob Winch for the patch fixing this problem.
Issue: SPR-8175
2011-04-05 03:45:38 +00:00
Sam Brannen
eba33b6156
polishing
2011-04-04 22:06:05 +00:00
Sam Brannen
070b7b6afe
polishing
2011-04-04 22:05:49 +00:00
Chris Beams
74f1e0e9d0
Touch up ApplicationContextInitializer Javadoc
2011-04-04 14:57:51 +00:00
Chris Beams
4f7bdbd3de
Make ConfigurationClassBeanDefinitionReader public
...
Issue: SPR-8200
2011-04-04 14:14:17 +00:00
Arjen Poutsma
fa4f90e648
SPR-7805 - Add support for package binding in the JibxMashaller
2011-04-04 08:50:15 +00:00
Sam Brannen
4dcc79d6eb
[SPR-6184] Implemented recursive search for configuration classes; introduced LocationsResolver strategy in ContextLoaderUtils with ResourcePathLocationsResolver and ClassNameLocationsResolver implementations.
2011-04-03 23:10:28 +00:00
Sam Brannen
f3d125626d
[SPR-6184] Refactored internals of ContextLoaderUtils; @Ignore'd broken test.
2011-04-03 17:45:20 +00:00
Sam Brannen
293baeeb88
[SPR-6184] Updated TODOs.
2011-04-03 17:23:57 +00:00
Sam Brannen
523c090551
[SPR-6184] Added DefaultConfigClassInheritedTests to verify proper recursive search for configuration classes configured via @ContextConfiguration. This test is currently failing (as expected) and therefore @Ignore'd.
2011-04-03 17:22:43 +00:00
Sam Brannen
70f883303f
Removed unnecessary declaration of @TestExecutionListeners.
2011-04-03 17:20:02 +00:00
Sam Brannen
5373b43a53
[SPR-6184] Extracted ContextLoader resolution functionality from TestContext into a new ContextLoaderUtils utility class.
2011-04-03 17:00:45 +00:00
Sam Brannen
ad9c858bd2
[SPR-6184] Introduced ResourceTypeAwareContextLoader interface and removed dependency on AnnotationConfigContextLoader in TestContext.
2011-04-03 16:37:24 +00:00
Sam Brannen
a60487655c
polishing JavaDoc
2011-04-03 15:26:13 +00:00
Sam Brannen
744facbf64
[SPR-6184] Simplified AnnotationConfigContextLoader in TestContext.
2011-04-03 15:16:13 +00:00
Sam Brannen
dd4d6e63ae
[SPR-6184] AnnotationConfigContextLoader now generates a default configuration class name; fleshed out documentation of AnnotationConfigContextLoader; introduced sub-package and suite for configuration class tests.
2011-04-03 14:37:29 +00:00
Andy Clement
9202224bca
SPR-8174: varargs and primitive handling in SpEL
2011-04-01 21:59:25 +00:00
Andy Clement
b9d07b9c47
SPR-7840: comparator dealing with nulls
2011-04-01 18:51:35 +00:00
Chris Beams
fadfc76443
All SFBuilder setters return 'this' & use varargs
...
Touch up a few setter methods across the SessionFactoryBuilder
hierarchy that were still returning void.
Use varargs... syntax wherever possible.
2011-03-31 14:28:30 +00:00
Chris Beams
4f6df87615
Fix obscure STS error
...
Remove all bean configuration files from .springBeans to avoid cryptic
STS error.
2011-03-31 14:28:08 +00:00
Rossen Stoyanchev
3f11fbafaa
Predictable index position for BindingResult keys and parameter annotation convenience methods in MethodParameter
2011-03-31 14:16:37 +00:00
Chris Beams
006cbb25c5
Increase visibility of MapPropertySource constructor
...
Was protected due to oversight, now public.
Issue: SPR-8107
2011-03-31 12:29:32 +00:00
Chris Beams
f5768fe00b
Introduce (Annotation)SessionFactoryBuilder types
...
Large refactoring of existing *SessionFactoryBean hierarchy designed to
support configuration of Hibernate SessionFactory objects within
@Configuration class @Bean methods without forcing use of a
FactoryBean type, which is generally discouraged due to awkwardness
of programming model and lifecycle issues. Refactored and new types
include:
* Removal of AbstractSessionFactoryBean, replacing it with
SessionFactoryBeanSupport abstract base class
* Introduction of SessionFactoryBuilder and
AnnotationSessionFactoryBuilder types, both direct subclasses of
SessionFactoryBuilderSupport. These types are intended for direct
use within @Bean methods. They expose method-chainable set*
methods allowing for concise and convenient use. See JavaDoc
on both types for usage examples.
* LocalSessionFactoryBean and AnnotationSessionFactoryBean types are
now subclasses, respectively, of the *Builder types above.
LSFB and ASFB backward-compatibility has been maintained almost
entirely. The one exception is that there is no longer a protected
convertHibernateAccessException() method available in the hierarchy.
This method was not likely often used anyway and has been replaced
by the new (and public) setPersistenceExceptionTranslator() which
accepts instances of type HibernateExceptionTranslator as introduced in
SPR-8076.
LSFB and ASFB setter method signatures have changed. They no longer
return void in standard JavaBeans style but rather, and due to extending
the *Builder types above, return the 'this' reference. This posed a
problem because the Spring container has to date been unable to detect
and provide dependency injection against non-void returning setter
methods. This limitation was due to the way that the default JavaBeans
Introspector class and its getBeanInfo() method works, and prompted the
introduction and intergration of ExtendedBeanInfo, already completed in
SPR-8079. So have no concern if you notice this signature change - it
all works.
Certain deprecations have been made:
* All LSFB/ASFB methods related to Hibernate's CacheProvider SPI,
reflecting its deprecation in Hibernate 3.3 in favor of the new
RegionFactory SPI. Note these methods have been preserved only
on the FactoryBean types. The new *SessionFactoryBuilder
supertypes do not expose CacheProvider services at all.
* All protected LSFB/ASFB methods that accept a Hibernate
Configuration parameter, such as newSessionFactory(Configuration),
postProcessMappings(Configuration) and
postProcessConfiguration(Configuation), in favor of no-arg methods
with the same names. Due to the nature of the hierarchy
refactoring mentioned above, the Configuration instance is always
available when these methods are called, thus no need to pass it
in as a parameter.
In the process, our approach to automatic detection of Hibernate dialect
has been improved (it was in fact broken before). Thanks to James
Roper for his suggestion in SPR-7936 as to how to fix this.
See HibernateSessionFactoryConfigurationTests as a starting point for
understanding the new builder-style approach to SessionFactory creation.
Note especially use of the SessionFactoryBuilder#doWithConfiguration
method which allows for direct programmatic configuration of the Native
Hibernate (Annotation)Configuration API.
As a final note, AnnotationConfiguration has been deprecated in
Hibernate 3.6, and great pains have been taken to ensure that users
of any supported Hibernate version (3.2 -> 3.6) will never need to
(a) cast from Configuration to AnnotationConfiguration or (b)
experience deprecation warnings due to being forced to use the
AnnotationConfiguration API. Explore the JavaDoc around the
doWithConfiguration() method and HibernateConfigurationCallback type
for complete details.
Issue: SPR-8066, SPR-7936, SPR-8076, SPR-8098
2011-03-31 12:29:12 +00:00
Chris Beams
b0b1116f4b
Propagate wrapped exception in SessionFactoryUtils
...
Improve stack traces in certain Hibernate failure cases by properly
chaining the cause exception.
Issue: SPR-7933
2011-03-31 12:07:30 +00:00
Chris Beams
6809b234b1
Introduce HibernateExceptionTranslator
...
Designed to allow persistence exception translation of
HibernateException types without being forced to use
LocalSessionFactoryBean types.
Committed now in support of the forthcoming introduction of
*SessionFactoryBuilder types.
Issue: SPR-8076
2011-03-31 12:06:58 +00:00
Chris Beams
2f5085aef1
Introduce ExtendedBeanInfo
...
Decorator for instances returned from
Introspector#getBeanInfo(Class<?>) that supports detection and inclusion
of non-void returning setter methods. Fully supports indexed properties
and otherwise faithfully mimics the default
BeanInfo#getPropertyDescriptors() behavior, e.g., PropertyDescriptor
ordering, etc.
This decorator has been integrated with CachedIntrospectionResults
meaning that, in simple terms, the Spring container now supports
injection of setter methods having any return type.
Issue: SPR-8079
2011-03-31 12:06:36 +00:00
Sam Brannen
ec1b230ae5
[SPR-6184] AnnotationConfigContextLoader now calls AnnotationConfigApplicationContext's register(Class<?>...) method in one go, via var-args.
2011-03-31 00:00:31 +00:00
Sam Brannen
732493951e
[SPR-6184] AnnotationConfigContextLoader now extends AbstractGenericContextLoader; added new extension points to AbstractGenericContextLoader.
2011-03-30 23:50:19 +00:00
Sam Brannen
10640233dc
[SPR-6184] Initial draft of the new AnnotationConfigContextLoader.
2011-03-29 23:42:59 +00:00
Sam Brannen
334e4f2212
[SPR-6184] Initial draft of the new AnnotationConfigContextLoader.
2011-03-29 23:38:37 +00:00
Sam Brannen
b50338fd32
[SPR-6184] Work in Progress
2011-03-28 21:45:14 +00:00
Sam Brannen
fa48a7b3a3
Updating JUnit and TestNG versions for IDEs and Maven.
2011-03-28 19:59:09 +00:00
Sam Brannen
6ed1b1ebf8
org.springframework.spring-parent can now be imported into Eclipse
2011-03-28 19:58:03 +00:00
Sam Brannen
8568250e77
[SPR-8089] Added TODOs.
2011-03-28 19:01:33 +00:00
Sam Brannen
45c6eb1d62
[SPR-8089] re-ignoring JMX tests that require the presence of jmxremote_optional.jar.
2011-03-28 18:38:34 +00:00
Sam Brannen
309fa92199
[SPR-8089] re-ignoring JMX tests that require the presence of jmxremote_optional.jar.
2011-03-28 18:26:30 +00:00
Sam Brannen
daa074734f
[SPR-8092] cleaning up ignored and broken ORM tests; suppressing warnings; fixed Eclipse classpath for tests.
2011-03-28 18:16:45 +00:00
Sam Brannen
adfcc929fb
[SPR-8091] developer notes
2011-03-28 18:09:14 +00:00
Costin Leau
5c3ceb8ef0
SPR-7971
...
+ add target object to KeyGenerator
2011-03-28 18:09:04 +00:00
Sam Brannen
71d70a6e06
[SPR-8089] cleaning up ignored and broken JMX tests; suppressing warnings; using generics where feasible; documented the jmxremote_optional.jar requirement in AbstractMBeanServerTests.
2011-03-28 17:57:01 +00:00
Sam Brannen
726564c84d
Polishing and fixed broken support for @IfProfileValue in AbstractJpaTests (even though it's deprecated).
2011-03-28 17:23:48 +00:00
Sam Brannen
d6be4c5a2a
[SPR-8090] Fixed broken tests in Log4jWebConfigurerTests.
2011-03-28 17:20:40 +00:00
Sam Brannen
657b145ea2
[SPR-8030] AbstractJUnit38SpringContextTests and AbstractTransactionalJUnit38SpringContextTests are now officially deprecated.
2011-03-28 14:43:01 +00:00
Costin Leau
a3a0e5165c
SPR-8007
...
+ add more logging
2011-03-28 12:10:26 +00:00
Costin Leau
eb4b68ffda
SPR-8007
...
SPR-7832
+ expose the invocation params through the cache root object
+ update javadocs
2011-03-28 11:36:05 +00:00
Agim Emruli
a20e73b148
fixed compile error in test with javac compiler
2011-03-24 11:06:32 +00:00
Chris Beams
6f80578a38
Ignore fragile test dependent on debug symbols
...
Issue: SPR-8078
2011-03-23 06:20:19 +00:00
Chris Beams
f4e1cde33b
Eliminate warnings in .validation package
...
Issue: SPR-8062
2011-03-18 06:47:12 +00:00
Chris Beams
150838bfc1
Remove TODOs related to profile logging
...
Issue: SPR-8031, SPR-7508, SPR-8057
2011-03-15 12:57:43 +00:00
Chris Beams
b50ac7489b
Resolve or eliminate Environment-related TODOs
...
Issue: SPR-8031, SPR-7508
2011-03-15 12:57:12 +00:00
Chris Beams
d471266d44
@Feature methods accept @Value-annotated params
...
Previously errors were being raised when trying to inject @Value
annotated paramaters such as:
@Feature
public FeatureSpec feature(@Value("#{environment['foo']}") String foo) {
return new FeatureSpec(foo);
}
This is not so much because dependency resolution of @Value-annotated
types was failing, but rather because the 'early bean reference'
proxying mechanism was throwing an exception if any final type was
detected as a parameter. This is of course because final types are
non-subclassable by CGLIB. On review, however, it's obvious that
certain final types must be allowed for injection. @Value injection
is an obvious one, but the rarer case of a Spring bean of type String
or int is another.
The explicit guard against final types as parameters to @Feature methods
has been removed. Final types are still checked for, however, and if
found, no proxing is attempted. The dependency is immediately resolved
against the current BeanFactory and injected into the @Feature method.
This means that @Value injection, @Qualifier injection, etc all work
as expected, but does mean that premature bean instantiation may occur
if a user unwittingly injects non-String, non-primitive final bean types
as @Feature method parameters.
Issue: SPR-7974
2011-03-15 07:09:49 +00:00
Chris Beams
529817301f
Docs reflect bean id change from xsd:ID->xsd:string
...
Issue: SPR-8054
2011-03-14 11:10:12 +00:00
Chris Beams
43676bd660
Deregister @Configuration CGLIB callbacks
...
CGLIB-enhanced @Configuration subclasses now implement DisposableBean
such that Enhancer.registerStaticCallbacks(subclass, null) is invoked
on container shutdown. This ensures that garbage collection can work
properly and avoids memory consumption issues for applications that
create and destroy many application contexts within the same JVM.
Issue: SPR-7901
2011-03-14 09:20:19 +00:00
Chris Beams
76ce418556
Fix context:property-placeholder XSD type hierarchy
...
context:property-placeholder extends 'propertyPlaceholder' type
defintion once again. This relationship was inadvertently removed in
3.1 M1, and the effect was that XML tooling would raise errors on
use of attributes like 'location'.
The updated schema has also been published to
http://www.springframework.org/schema/context/spring-context-3.1.xsd
Issue: SPR-8037
2011-03-13 19:12:50 +00:00
Chris Beams
8681536283
Polish imports
2011-03-13 19:12:10 +00:00
Sam Brannen
c86bc2671a
[SPR-8030] Updated reference manual regarding deprecation of JUnit 3.8 base classes.
2011-03-13 00:25:58 +00:00
Chris Beams
4cdb04ab25
Process @ImportResource with current ResourceLoader
...
Issue: SPR-7973
2011-03-12 12:24:38 +00:00
Chris Beams
704b229cc7
Test injection of Environment on @Feature methods
...
Issue: SPR-7975
2011-03-12 12:24:20 +00:00
Chris Beams
5cfbed8881
Test injection of special types on @Feature methods
...
Prove that injection of special container types such as ResourceLoader,
BeanFactory, etc already works with the current implementation of
@Feature methods.
Issue: SPR-7975
2011-03-11 12:40:51 +00:00
Chris Beams
f17f970144
Allow other delimiters in profile XML attribute
...
Previously, only commas could delimit <beans profile="p1,p2"/>. Now, as
with <bean alias="..."/>, the profile attribute allows for delimiting
by comma, space and/or semicolon.
BeanDefinitionParserDelegate.MULTI_VALUE_ATTRIBUTE_DELIMITERS has been
added as a constant to reflect the fact this set of delimiters is used
in multiple locations throughout the framework.
BDPD.BEAN_NAME_DELIMITERS now refers to the above and has been has been
preserved but deprecated for backward compat (though use outside the
framework is unlikely).
Changes originally based on user comment at
http://blog.springsource.com/2011/02/11/spring-framework-3-1-m1-released/comment-page-1/#comment-184455
Issue: SPR-8033
2011-03-11 04:08:10 +00:00
Chris Beams
b5baa69f5d
Fix 'Dymaic'->'Dynamic' typo in graphic (SPR-7715)
...
Also regenerate all OmniGraffle-based PNG graphics for color consistency
2011-03-10 14:09:11 +00:00
Chris Beams
5de35e8f92
Polishing
2011-03-10 14:08:58 +00:00
Sam Brannen
6993a8768a
[SPR-8030] AbstractJUnit38SpringContextTests and AbstractTransactionalJUnit38SpringContextTests are now officially deprecated.
2011-03-09 11:47:53 +00:00
Sam Brannen
c736e6b873
[SPR-8030] AbstractJUnit38SpringContextTests and AbstractTransactionalJUnit38SpringContextTests are now officially deprecated.
2011-03-09 11:45:43 +00:00
Costin Leau
8f6fcbda3c
+ fix missing tag
2011-03-07 12:59:04 +00:00
Costin Leau
08bccb28ae
+ revert back deleted resource
2011-03-06 18:19:19 +00:00
Costin Leau
4a589a78e1
+ more configuration file
2011-03-06 17:14:10 +00:00
Costin Leau
c3a635196b
SPR-8015
...
+ update default key generator strategy to improve compatibility for implicit declaration on one arg method
+ updated docs
2011-03-06 17:13:24 +00:00
Costin Leau
a4aca64007
+ fix bug that prevented internal expression cache from being used
2011-03-06 17:06:28 +00:00
Costin Leau
5daad3e081
SPR-8006
...
+ fix contains/get race-condition of caches (by adding an extra cache call)
2011-03-06 12:27:46 +00:00
Costin Leau
a20dd8095e
+ update copyright headers
2011-03-06 11:53:12 +00:00
Costin Leau
fad2f2ca30
SPR-8006
...
SPR-8023
- remove unneeded method
2011-03-06 11:43:25 +00:00
Costin Leau
523a83ca28
SPR-8008
...
SPR-8023
+ fix bug in Ehcache cache that considered expired entries for key checks
2011-03-06 11:36:36 +00:00
Sam Brannen
d7a8cf4b7e
Fixed typos
2011-03-04 23:12:09 +00:00
Rossen Stoyanchev
56d50ba8a5
SPR-7406 Improve documentation on handler method parameter type conversion.
2011-03-04 19:59:16 +00:00
Rossen Stoyanchev
386d8fdaa6
SPR-6932 Add option to extract value from single-key models in MappingJacksonJsonView
2011-03-04 14:19:14 +00:00
Rossen Stoyanchev
761a836236
SPR-2692 Add URI template support to RedirectView
2011-03-03 15:54:29 +00:00
Rossen Stoyanchev
4027cbd952
Improve docs for MvcDefaultServletHandler container feature.
2011-03-01 14:32:34 +00:00
Oliver Gierke
98d798dbe4
SPR-8005 - Made GenericTypeResolver.getTypeVariableMap(…) and resolvetype(…) public.
2011-02-28 17:09:09 +00:00
Arjen Poutsma
bc342df08f
@MVC 2.0: AbstractAnnotationMAR -> AbstractNamedValueMAR
2011-02-25 11:05:14 +00:00
Costin Leau
9dbab116fd
+ add missing # to SpEL variables
2011-02-24 15:06:03 +00:00
Rossen Stoyanchev
9779ca191c
SPR-7976 Add MvcInterceptors features.
2011-02-22 16:13:04 +00:00
Arjen Poutsma
5a5fff5221
Added equals and hashcode
2011-02-22 13:33:24 +00:00
Juergen Hoeller
4889794bed
final preparations for 3.1 M1 release
2011-02-10 23:20:28 +00:00
Juergen Hoeller
716aa6974c
fixed scheduling tests
2011-02-10 23:04:40 +00:00
Juergen Hoeller
0d70e08ac3
exceptions thrown by @Scheduled methods will be propagated to a registered ErrorHandler (SPR-7723)
2011-02-10 22:50:16 +00:00
Juergen Hoeller
03190950d1
polishing
2011-02-10 22:19:10 +00:00
Chris Beams
6bfead259e
Further compensation for STS version mismatch
...
Current STS version of Spring (3.0.5) does not contain
the BeanUtils.instantiateClass(Class<?>, Class<T>) signature
that was added in 3.1.0, therefore NoSuchMethodErrors are
being thrown when STS classloads and delegates to
3.1.0 NamespaceHandler and BeanDefinitionParser implementations
on the user project classpath.
In this case, it's AbstractSpecificationBeanDefinitionParser
doing the calling to the unknown new method. In this specific
example, reverting back to the old single-arg signature is actually
not a problem, because it does accept Class<T> and returns an
instance of type T, which was the desired behavior in the first
place.
The newer signature remains in order to accommodate callers
who do not know the generic type of the Class to be instantiated
(i.e. Class<?>), but do know the type that it should be assignable
to -- this becomes the second argument Class<T>, and an instance
of type T is returned (if indeed it is assignable to the specified
type; otherwise IllegalArgumentException.
2011-02-10 17:59:26 +00:00
Chris Beams
d7a8536bd7
Re-introduce and deprecate BDPD.initDefaults(Element)
...
For compatibility with Spring Integration's standalone usage of
BeanDefinitionParserDelegate.
2011-02-10 13:33:09 +00:00
Sam Brannen
c9c436128f
[SPR-7953] BeanDefinitionVisitor now actually visits factory method names.
2011-02-10 13:08:31 +00:00
Sam Brannen
c84ef76fc3
[SPR-7953] BeanDefinitionVisitor now actually visits factory method names.
2011-02-10 13:01:58 +00:00
Juergen Hoeller
a6d35d4801
prepared 3.1 M1 changelog
2011-02-10 02:07:14 +00:00
Juergen Hoeller
ce761d3fe8
renamed AbstractPropertyPlaceholderConfigurer to PlaceholderConfigurerSupport
2011-02-10 02:01:02 +00:00
Juergen Hoeller
df6be9f694
turned to package visibility
2011-02-10 01:58:21 +00:00
Juergen Hoeller
47c9278e32
renamed AbstractPropertyPlaceholderConfigurer to PlaceholderConfigurerSupport
2011-02-10 01:55:11 +00:00
Juergen Hoeller
93304b5ff2
removed ConversionService/TypeConverter convenience methods in order to restore 3.0's SPI (for backwards compatibility with implementers)
2011-02-10 01:36:57 +00:00
Juergen Hoeller
cd584afe93
removed ConversionService/TypeConverter convenience methods in order to restore 3.0's SPI (for backwards compatibility with implementers)
2011-02-10 01:24:08 +00:00
Chris Beams
b7d7fa7b7e
Further compensations for STS; binary compat fixes
...
Defensively catch NoSuchMethodError when calling BDPD.getEnvironment()
and supply a DefaultEnvironment if not available.
Replace the single-arg constructor for BDPD and deprecate, preserving
binary compat particularly for Spring Integration who instantiates
this class directly, which is unusual.
2011-02-10 00:30:30 +00:00
Chris Beams
9cc125531b
Fix STS compatibility issues; other improvements
...
Revert changes to ParserContext, ReaderContext, and XmlReaderContext
These changes cause cross-version incompatibilities at tooling time
-- for instance, an STS version that ships with Spring 3.0.5
classloads the ParserContext defined in that version, whereas it
classloads NamespaceHandlers and BeanDefinitionParsers (by default)
from the user application classpath, which may be building against
3.1.0. If so, the changes introduced to these types in 3.1.0 are
incompatible with expectations in the 3.0.5 world and cause all
manner of problems. In this case, it was NoSuchMethodError due to
the newly-added XmlReaderContext.getProblemReporter() method; also
IncompatibleClassChangeError due to the introduction of the
ComponentRegistrar interface on ParserContext.
Each of these problems have been mitigated, though the solutions
are not ideal. The method mentioned has been removed, and instead
the problemReporter field is now accessed reflectively.
ParserContext now no longer implements ComponentRegistrar, and
rather a ComponentRegistrarAdapter class has been introduced that
passes method calls through to a ParserContext delegate.
Introduce AbstractSpecificationBeanDefinitionParser
AbstractSpecificationBeanDefinitionParser has been introduced in
order to improve the programming model for BeanDefinitionParsers
that have been refactored to the new FeatureSpecification model.
This new base class and it's template method implementation of
parse/doParse ensure that common concerns like (1) adapting a
ParserContext into a SpecificationContext, (2) setting source and
source name on the specification, and (3) actually executing the
specification are all managed by the base class. The subclass
implementation of doParse need only actually parse XML, populate
and return the FeatureSpecification object. This change removed
the many duplicate 'createSpecificationContext' methods that had
been lingering.
Minor improvement to BeanDefinitionReaderUtils API
Introduced new BeanDefinitionReaderUtils#registerWithGeneratedName
variant that accepts BeanDefinition as opposed to
AbstractBeanDefinition, as BeanDefinition is all that is actually
necessary to satisfy the needs of the method implementation. The
latter variant accepting AbstractBeanDefinition has been deprecated
but remains intact and delegates to the new variant in order to
maintain binary compatibility.
2011-02-09 16:44:26 +00:00
Thomas Risberg
939da34869
switched to create the PreparedStatementCreatorFactory using a list of SqlParameters to preserve type names (SPR-7699)
2011-02-09 13:58:30 +00:00
Arjen Poutsma
91debc3a35
Fixing compilation error with javac.
2011-02-09 09:39:29 +00:00
Chris Beams
c58b63a982
Revert signature change in BDRU.registerWithGeneratedName
...
This change broke binary compatibility as evidenced by running
the greenhouse test suite and finding that Spring Integration's
AbstractConsumerEndpointParser.parseInternal fails with
NoSuchMethodError when trying to invoke.
2011-02-09 06:57:24 +00:00
Chris Beams
b1756e2f17
Sync pom.xml deps with ivy.xml changes since 3.0.5
2011-02-09 06:56:53 +00:00
Chris Beams
2f7c2230f0
Include license.txt and notice.txt in module JARs
2011-02-09 06:56:40 +00:00
Chris Beams
906b50ef51
Add FeatureMethodErrorTests
...
Capture common mistakes with @Feature method declarations and ensure
that useful error messages are produced.
2011-02-09 06:54:02 +00:00
Sam Brannen
6926e0f563
Suppressing warnings, polishing JavaDoc, etc.
2011-02-08 22:50:45 +00:00
Sam Brannen
e7c2713fd4
polishing JavaDoc
2011-02-08 22:08:38 +00:00
Chris Beams
2d76dde611
Rename ExecutorContext => SpecificationContext
2011-02-08 19:08:41 +00:00
Chris Beams
c5063004eb
Rename spring.{profile}.active => {profiles}
...
Same for spring.profiles.default
2011-02-08 19:07:46 +00:00
Chris Beams
a2bc381ade
Extract ProblemCollector interface
2011-02-08 19:07:03 +00:00
Juergen Hoeller
60414c9052
updated for the 3.1 M1 release
2011-02-08 16:58:34 +00:00
Juergen Hoeller
9bef79f5a8
removed assertions
2011-02-08 16:35:38 +00:00
Chris Beams
b4fea47d5c
Introduce FeatureSpecification support
...
Introduce FeatureSpecification interface and implementations
FeatureSpecification objects decouple the configuration of
spring container features from the concern of parsing XML
namespaces, allowing for reuse in code-based configuration
(see @Feature* annotations below).
* ComponentScanSpec
* TxAnnotationDriven
* MvcAnnotationDriven
* MvcDefaultServletHandler
* MvcResources
* MvcViewControllers
Refactor associated BeanDefinitionParsers to delegate to new impls above
The following BeanDefinitionParser implementations now deal only
with the concern of XML parsing. Validation is handled by their
corresponding FeatureSpecification object. Bean definition creation
and registration is handled by their corresponding
FeatureSpecificationExecutor type.
* ComponentScanBeanDefinitionParser
* AnnotationDrivenBeanDefinitionParser (tx)
* AnnotationDrivenBeanDefinitionParser (mvc)
* DefaultServletHandlerBeanDefinitionParser
* ResourcesBeanDefinitionParser
* ViewControllerBeanDefinitionParser
Update AopNamespaceUtils to decouple from XML (DOM API)
Methods necessary for executing TxAnnotationDriven specification
(and eventually, the AspectJAutoProxy specification) have been
added that accept boolean arguments for whether to proxy
target classes and whether to expose the proxy via threadlocal.
Methods that accepted and introspected DOM Element objects still
exist but have been deprecated.
Introduce @FeatureConfiguration classes and @Feature methods
Allow for creation and configuration of FeatureSpecification objects
at the user level. A companion for @Configuration classes allowing
for completely code-driven configuration of the Spring container.
See changes in ConfigurationClassPostProcessor for implementation
details.
See Feature*Tests for usage examples.
FeatureTestSuite in .integration-tests is a JUnit test suite designed
to aggregate all BDP and Feature* related tests for a convenient way
to confirm that Feature-related changes don't break anything.
Uncomment this test and execute from Eclipse / IDEA. Due to classpath
issues, this cannot be compiled by Ant/Ivy at the command line.
Introduce @FeatureAnnotation meta-annotation and @ComponentScan impl
@FeatureAnnotation provides an alternate mechanism for creating
and executing FeatureSpecification objects. See @ComponentScan
and its corresponding ComponentScanAnnotationParser implementation
for details. See ComponentScanAnnotationIntegrationTests for usage
examples
Introduce Default[Formatting]ConversionService implementations
Allows for convenient instantiation of ConversionService objects
containing defaults appropriate for most environments. Replaces
similar support originally in ConversionServiceFactory (which is now
deprecated). This change was justified by the need to avoid use
of FactoryBeans in @Configuration classes (such as
FormattingConversionServiceFactoryBean). It is strongly preferred
that users simply instantiate and configure the objects that underlie
our FactoryBeans. In the case of the ConversionService types, the
easiest way to do this is to create Default* subtypes. This also
follows convention with the rest of the framework.
Minor updates to util classes
All in service of changes above. See diffs for self-explanatory
details.
* BeanUtils
* ObjectUtils
* ReflectionUtils
2011-02-08 14:42:33 +00:00
Chris Beams
b04987ccc3
Make ObjectUtils.addObjectToArray() generic
2011-02-08 13:01:29 +00:00
Costin Leau
fb57316afa
renamed EhcacheCacheManager to EhCacheCacheManager
2011-02-07 17:45:29 +00:00
Costin Leau
ca2dbc1c59
renamed EhcacheCacheManager to EhCacheCacheManager
2011-02-07 17:44:41 +00:00
Costin Leau
4da39b48f7
moved cache abstraction from context.support to context
2011-02-07 17:41:25 +00:00
Keith Donald
fbb1fa33a1
added support for Instant and MutableDateTime binding to JodaTime formatting system; allow for use of @DateTimeFormat on any ReadableInstant field
2011-02-04 20:17:52 +00:00
Keith Donald
ff7f3aebea
reordered interface operations for clarity
2011-02-04 18:20:05 +00:00
Keith Donald
7d1104e442
SPR-7875
2011-02-04 18:17:30 +00:00
Rossen Stoyanchev
37e0a90350
SPR-7327 Add minOccurs=0 to sub-elements of mvc:annotation-driven and add more tests
2011-02-03 22:56:13 +00:00
Rossen Stoyanchev
7aaad37120
SPR-7327 add <mvc:argument-resolvers> namespace element
2011-02-03 15:22:00 +00:00
Costin Leau
182b6a437c
+ fixed cache xsd minor typo
2011-02-01 10:20:09 +00:00
Costin Leau
44b5df0db1
SPR-7887
...
+ add javadoc on JBoss LTW for usage on JBoss 6.0
2011-02-01 10:19:23 +00:00
Costin Leau
9c071e5d19
SPR-4331
...
docs for LTW for WebSphere
2011-02-01 10:18:06 +00:00
Costin Leau
f191be56d1
SPR-4331
...
LTW for WebSphere
2011-02-01 10:17:42 +00:00
Rossen Stoyanchev
93de9622fc
Remove code for parsing mvc:formatters (SPR-7732)
2011-01-31 21:30:48 +00:00
Costin Leau
0c5a13cc96
SPR-7887
...
+ add note about JBoss 6
2011-01-31 16:53:56 +00:00
Arjen Poutsma
c4a954a618
SPR-7494 - Introduce interceptors for RestTemplate
2011-01-28 14:24:52 +00:00
Arjen Poutsma
62425568b9
SPR-7494 - Introduce interceptors for RestTemplate
2011-01-28 09:17:00 +00:00
Rossen Stoyanchev
abff2b959b
SPR-7912 Add tests for FormattingConversionServiceFactoryBean, update reference docs, and remove mvc:formatters
2011-01-27 11:26:19 +00:00
Rossen Stoyanchev
149348c907
SPR-7912 Introduce FormatterRegistrar interface and FormattingConversionServiceFactoryBean enhancements.
2011-01-26 22:20:49 +00:00
Juergen Hoeller
9dd6f467b9
get/stripFilenameExtension correctly ignores Unix-style hidden directories (SPR-7828)
2011-01-26 20:47:45 +00:00
Juergen Hoeller
7af890cc5f
fixed tests (SPR-7779)
2011-01-26 20:39:57 +00:00
Juergen Hoeller
f4a2282d9d
LocaleChangeInterceptor validates locale values in order to prevent XSS vulnerability (SPR-7779)
2011-01-26 20:30:30 +00:00
Juergen Hoeller
b3f039ae5f
Servlet/PortletRequestDataBinder perform unwrapping for MultipartRequest as well (SPR-7795)
2011-01-26 20:09:42 +00:00
Arjen Poutsma
4835be78b7
Made abstract requests public again
2011-01-26 16:09:41 +00:00
Arjen Poutsma
4e50eafe74
Small performance improvement
2011-01-26 14:43:34 +00:00
Rossen Stoyanchev
f26b499cbd
SPR-7732, SPR-6506, SPR-7191 MVC Namespace improvements to the annotation-driven element - custom message converters, formatters, and message codes resolver.
2011-01-25 17:49:57 +00:00
Arjen Poutsma
1ed1c59888
SPR-7909 - Sending large payloads with RestTemplate results in an OutOfMemoryError
2011-01-25 16:18:47 +00:00
Arjen Poutsma
d0d6a07870
SPR-7909 - Sending large payloads with RestTemplate results in an OutOfMemoryError
2011-01-25 16:08:15 +00:00
Arjen Poutsma
33674933ea
OutOfMemory Errors when posting large objects via RestTemplate
2011-01-25 09:48:19 +00:00
Sam Brannen
2ed3d77331
[SPR-7849] fixed link to Goals section and updated EasyMock description.
2011-01-21 11:48:30 +00:00
Sam Brannen
6362de44d1
[SPR-7849] revised the testing chapter based on internal review and new insight.
2011-01-21 00:23:34 +00:00
Juergen Hoeller
d3d7634574
added tests with error in BindingResult (SPR-7809)
2011-01-18 21:39:08 +00:00
Arjen Poutsma
465e093bfb
SPR-7729 - MediaType incorrectly calls the toString() method instead of name() method causing RestTemplate on Android to fail
2011-01-10 15:45:42 +00:00
Arjen Poutsma
157623b47f
SPR-6902 - @ResponseBody does not work with @ExceptionHandler
2011-01-10 12:26:57 +00:00
Arjen Poutsma
4998d061f8
SPR-7869 - Accept-Charset header with '*' results in java.nio.charset.IllegalCharsetNameException
2011-01-10 11:24:48 +00:00
Keith Donald
2fcab44de0
remove addressed TODO
2011-01-07 21:25:44 +00:00
Keith Donald
34fbd5affa
typo
2011-01-07 21:13:20 +00:00
Keith Donald
0d28b70aa8
failing test case
2011-01-07 20:58:20 +00:00
Keith Donald
7bf4e93783
out of memory test case
2011-01-07 20:56:42 +00:00
Keith Donald
414fcab899
sp7839 - map autogrow, including auto-grow support for map values
2011-01-07 19:22:45 +00:00
Andy Clement
ac9fd008de
more projection tests - verifying the typedescriptor changes made by Keith
2011-01-07 19:14:42 +00:00
Keith Donald
b5c167bdb1
ignore failing tests temp for array nesting level bug and map autogrow bug
2011-01-07 17:59:51 +00:00
Keith Donald
90d8dade25
fixed bug related to array autogrow
2011-01-07 17:54:17 +00:00
Keith Donald
8df6b86dd1
ignore failing test
2011-01-07 17:29:00 +00:00
Keith Donald
5d6840e877
array autogrow on set e.g. array[0]=foo
2011-01-07 17:28:18 +00:00
Keith Donald
2ef629d5a8
removed accidental system.out commit
2011-01-07 16:18:04 +00:00
Keith Donald
1ed03fc6ca
fetch property value again after setting default value to protect against object copy
2011-01-07 16:16:32 +00:00
Keith Donald
3bb17974d8
empty collection test refinements
2011-01-07 15:27:29 +00:00
Keith Donald
b040606cfa
spr-7728: empty collection conversion can return value not assignable to targetType
2011-01-07 14:21:54 +00:00
Chris Beams
a7293d2961
Introduce ApplicationContextInitializer interface
...
Designed primarily for use in conjunction with web applications
to provide a convenient mechanism for configuring the container
programmatically.
ApplicationContextInitializer implementations are specified through the
new "contextInitializerClasses" servlet context parameter, then detected
and invoked by ContextLoader in its customizeContext() method.
In any case, the semantics of ApplicationContextInitializer's
initialize(ConfigurableApplicationContext) method require that
invocation occur *prior* to refreshing the application context.
ACI implementations may also implement Ordered/PriorityOrdered and
ContextLoader will sort instances appropriately prior to invocation.
Specifically, this new support provides a straightforward way to
programmatically access the container's Environment for the purpose
of adding, removing or otherwise manipulating PropertySource objects.
See Javadoc for further details.
Also note that ApplicationContextInitializer semantics overlap to
some degree with Servlet 3.0's notion of ServletContainerInitializer
classes. As Spring 3.1 development progresses, we'll likely see
these two come together and further influence one another.
2011-01-07 09:57:57 +00:00
Keith Donald
71e60f4551
Favor convertValue(Object, TypeDescriptor) where possible and TypedValue(Object); check with Andy on Selection and Projection TypedValue usage
2011-01-07 06:32:21 +00:00
Keith Donald
0fb631348e
switched to better encapsulated convert(Object, TypeDescriptor) where possible
2011-01-07 05:57:25 +00:00
Keith Donald
bb4aa9cc39
added call to applyIndexedObject to build nested source element type descriptor from element value
2011-01-07 04:41:21 +00:00
Keith Donald
8e23685a6d
support for empty collection->collection. map->map, collection->array conversion
2011-01-07 03:24:24 +00:00
Keith Donald
42403a37c3
getPropertyTypeDescriptor implementation optimization
2011-01-07 02:51:56 +00:00
Keith Donald
e254521952
getPropertyTypeDescriptor bug fixes
2011-01-06 23:12:00 +00:00
Keith Donald
4c9731d572
added forNestedType(MethodParameter) for resolution of nested parameter types for collection, array, and map parameter types
2011-01-06 21:59:34 +00:00
Sam Brannen
61cfb96d95
Changed slf4j.jcl dependency from 1.5.6 to 1.5.3 for consistency with build.versions.
2011-01-06 20:05:22 +00:00
Keith Donald
c6c782df59
forNestedType usage clarification
2011-01-06 18:33:50 +00:00
Sam Brannen
c309ef74d7
Updates to readme and changelog files regarding 3.1.0.M1
2011-01-06 12:05:48 +00:00
Keith Donald
7ec5f1694b
temp added ignore on 2 new failing tests until time to investigate
2011-01-06 12:00:51 +00:00
Keith Donald
86f1179606
temp added ignore on 2 new failing tests until time to investigate
2011-01-06 11:41:30 +00:00
Chris Beams
15ac99f59c
Introduce and integrate JndiPropertySource
...
DefaultWebEnvironment automatically adds a JndiPropertySource if
a "jndiPropertySourceEnabled" property is detected in any of the
other other default property sources.
2011-01-06 07:43:29 +00:00
Chris Beams
a7704c8cce
Polish Javadoc for PropertySource implementations
2011-01-06 07:43:03 +00:00
Keith Donald
01c98c3bfb
added initial support for handling unknown nested type values when converting collections; now favor factory method for constructing nested type descriptors for clarity (made constructor private); improved javadoc
2011-01-06 05:14:49 +00:00
Chris Beams
9420bdc246
Document createEnvironment() methods
...
in AbstractApplicationContext and SpringContextResourceAdapter
2011-01-05 22:25:42 +00:00
Chris Beams
bc41cb2f27
Polish (Mutable)PropertySources
...
* PropertySources is now an Iterable<PropertySource> in favor of
exposing an asList() method
* Otherwise reduced the set of methods exposed by PropertySources to the
absolute minimum
* Added Javadoc for both types and all methods
2011-01-05 22:25:24 +00:00
Chris Beams
7f8ede1407
Remove dead code
...
* removed registerStandardBeanFactoryPostProcessors() methods
* removed commented-out test from PropertyResourceConfigurerTests
2011-01-05 22:24:55 +00:00
Chris Beams
431eaf6df8
Refactor PropertyPlaceholderConfigurer hierarchy
...
PropertySourcesPlaceholderConfigurer accommodates recent changes in
Environment and PropertySource APIs, e.g. no longer assuming enumerability
of property names.
PSPC reuses as much functionality as possible from
AbstractPropertyPlaceholderConfigurer, but overrides
postProcessBeanFactory() and defines its own variation on
processProperties() in order to accept a PropertyResolver rather than
a PropertySource.
AbstractPropertyPlaceholderConfigurer introduces doProcessProperties()
method to encapsulate that which is actually common, such as the
visiting of each bean definition once a StringValueResolver has been
created in the subclass.
2011-01-05 22:24:37 +00:00
Chris Beams
2b99cf6d29
Refactor Environment and PropertySource
...
* Environment now extends PropertyResolver
* Environment no longer exposes resolver and sources
* PropertySource is String,Object instead of String,String
* PropertySource no longer assumes enumerability of property names
* Introduced EnumerablePropertySource for those that do have enumerable property names
2011-01-05 22:24:14 +00:00
Chris Beams
7c4582b4b3
Update build instructions in readme
2011-01-05 22:22:58 +00:00
Juergen Hoeller
e971ad56b6
reduced BeanDefinition footprint by initializing Sets and Maps with 0 (SPR-7491)
2011-01-05 19:59:00 +00:00
Juergen Hoeller
125b843cf7
revised javadoc on "exactDateLength" (SPR-7759)
2011-01-05 19:55:24 +00:00
Juergen Hoeller
efe1e64b08
fixed aspects bundle to declare dependencies for @Async aspect as well (SPR-7702)
2011-01-05 19:50:23 +00:00
Juergen Hoeller
3fe2d037ed
fixed AbstractBindingResult to avoid NPE in "hashCode()" if target is null (SPR-7682)
2011-01-05 19:42:35 +00:00
Juergen Hoeller
a780a4a401
ProxyCreationContext uses "ThreadLocal.remove()" over "ThreadLocal.set(null)" as well
2011-01-05 19:32:02 +00:00
Juergen Hoeller
67d9b8b943
EhCacheManagerFactoryBean properly closes "ehcache.xml" input stream, if any (SPR-7813)
2011-01-05 19:29:07 +00:00
Keith Donald
cc91efecae
Fixed bugs in bean wrapper related to nesting levels on method parameters
2011-01-05 19:18:29 +00:00
Keith Donald
3536b8178d
failing nested list binding
2011-01-05 17:10:05 +00:00
Keith Donald
a417aa2ea3
ignore failing map test case
2011-01-05 16:59:47 +00:00
Keith Donald
818bd841fe
method naming improvements; applyIndexObject call for array indexing
2011-01-05 16:54:03 +00:00
Juergen Hoeller
9c64ac7482
fixed potential InjectionMetadata NPE when using SpringBeanAutowiringInterceptor (SPR-7686)
2011-01-05 16:08:43 +00:00
Keith Donald
3cfe557971
spr 7839 reproduce
2011-01-05 06:38:14 +00:00
Keith Donald
fe386f1c10
spr7816
2011-01-05 06:23:04 +00:00
Keith Donald
da898faac9
spr7766
2011-01-05 06:05:34 +00:00
Keith Donald
39e0c29d19
TypeDescriptor cleanup and general polishing; fixed a number of bugs related to TypeDescriptor usage in client code across beans and spel packages
2011-01-05 05:49:33 +00:00
Arjen Poutsma
74b5b7b56a
SPR-7845 - FormHttpMessageConverter.read() always ignores post data when processing request (from Tomcat)
2011-01-04 11:25:30 +00:00
Michael Isvy
e133bde01f
SPR-7858
2011-01-04 09:40:39 +00:00
Arjen Poutsma
e5d8fa0771
SPR-7834 - HttpHeaders.getEtag() mangles the value
2011-01-03 15:51:23 +00:00
Arjen Poutsma
fbede64c86
SPR-7845 - FormHttpMessageConverter.read() always ignores post data when processing request (from Tomcat)
2011-01-03 14:48:34 +00:00
Arjen Poutsma
e98afc087f
SPR-7845 - FormHttpMessageConverter.read() always ignores post data when processing request (from Tomcat)
2011-01-03 14:38:28 +00:00
Chris Beams
5e6912302a
Introduce "Aware" superinterface
...
All existing *Aware interfaces have been refactored to extend this
new marker interface, serving two purposes:
* Easy access to a type hierarchy that can answer the question
"What *Aware interfaces are available?", without requiring
text-based searches. Also clearly excludes false positives like
TargetClassAware and ParamAware, which while similarly named,
are not semantically similar to traditional *Aware interfaces
in Spring.
* Minor potential performance improvements in
AbstractAutowireCapableBeanFactory and
ApplicationContextAwareProcessor. Both have blocks of sequential
instanceof checks in order to invoke any *Aware interface callback
methods. For a bean that implements none of these interfaces,
the whole sequence can be avoided by guarding first with
if (bean instanceof Aware) {
...
}
Implementors of custom *Aware-style interfaces (and presumably
the BeanPostProcessors that handle them), are encouraged to refactor to
extending this interface for consistency with the framework as well as
the points above.
2011-01-03 10:13:57 +00:00
Chris Beams
b3ff9be78f
M1 cut of environment, profiles and property work (SPR-7508)
...
Decomposed Environment interface into PropertySources, PropertyResolver
objects
Environment interface and implementations are still present, but
simpler.
PropertySources container aggregates PropertySource objects;
PropertyResolver provides search, conversion, placeholder
replacement. Single implementation for now is
PropertySourcesPlaceholderResolver
Renamed EnvironmentAwarePropertyPlaceholderConfigurer to
PropertySourcesPlaceholderConfigurer
<context:property-placeholder/> now registers PSPC by default, else
PPC if systemPropertiesMode* settings are involved
Refined configuration and behavior of default profiles
See Environment interface Javadoc for details
Added Portlet implementations of relevant interfaces:
* DefaultPortletEnvironment
* PortletConfigPropertySource, PortletContextPropertySource
* Integrated each appropriately throughout Portlet app contexts
Added protected 'createEnvironment()' method to AbstractApplicationContext
Subclasses can override at will to supply a custom Environment
implementation. In practice throughout the framework, this is how
Web- and Portlet-related ApplicationContexts override use of the
DefaultEnvironment and swap in DefaultWebEnvironment or
DefaultPortletEnvironment as appropriate.
Introduced "stub-and-replace" behavior for Servlet- and Portlet-based
PropertySource implementations
Allows for early registration and ordering of the stub, then
replacement with actual backing object at refresh() time.
Added AbstractApplicationContext.initPropertySources() method to
support stub-and-replace behavior. Called from within existing
prepareRefresh() method so as to avoid impact with
ApplicationContext implementations that copy and modify AAC's
refresh() method (e.g.: Spring DM).
Added methods to WebApplicationContextUtils and
PortletApplicationContextUtils to support stub-and-replace behavior
Added comprehensive Javadoc for all new or modified types and members
Added XSD documentation for all new or modified elements and attributes
Including nested <beans>, <beans profile="..."/>, and changes for
certain attributes type from xsd:IDREF to xsd:string
Improved fix for detecting non-file based Resources in
PropertiesLoaderSupport (SPR-7547, SPR-7552)
Technically unrelated to environment work, but grouped in with
this changeset for convenience.
Deprecated (removed) context:property-placeholder
'system-properties-mode' attribute from spring-context-3.1.xsd
Functionality is preserved for those using schemas up to and including
spring-context-3.0. For 3.1, system-properties-mode is no longer
supported as it conflicts with the idea of managing a set of property
sources within the context's Environment object. See Javadoc in
PropertyPlaceholderConfigurer, AbstractPropertyPlaceholderConfigurer
and PropertySourcesPlaceholderConfigurer for details.
Introduced CollectionUtils.toArray(Enumeration<E>, A[])
Work items remaining for 3.1 M2:
Consider repackaging PropertySource* types; eliminate internal use
of SystemPropertyUtils and deprecate
Further work on composition of Environment interface; consider
repurposing existing PlaceholderResolver interface to obviate need
for resolve[Required]Placeholder() methods currently in Environment.
Ensure configurability of placeholder prefix, suffix, and value
separator when working against an AbstractPropertyResolver
Add JNDI-based Environment / PropertySource implementatinos
Consider support for @Profile at the @Bean level
Provide consistent logging for the entire property resolution
lifecycle; consider issuing all such messages against a dedicated
logger with a single category.
Add reference documentation to cover the featureset.
2011-01-03 09:04:34 +00:00
Sam Brannen
b130a36af7
[SPR-7850][SPR-7851] Upgraded to JUnit 4.8.1 and TestNG 5.12.1; added changelog entries for 3.1.0.M1.
2010-12-30 08:00:58 +00:00
Sam Brannen
d7c4db1b49
[SPR-7849] work in progress: revising the testing chapter based on internal review.
2010-12-30 06:19:58 +00:00
Sam Brannen
b8ab33e0c5
[SPR-7849] work in progress: revising the testing chapter based on internal review.
2010-12-30 05:47:23 +00:00
Sam Brannen
54a7ad9f74
[SPR-7848] Improved readability, grammar, and formatting of the Container Extension Points section of the reference manual.
2010-12-30 02:07:22 +00:00
Oliver Gierke
30751c9b0a
SPR-2946 - Corrected documentation for lazy-init behaviour on Bean(Factory)PostProcessors.
...
Changed the documentation to correctly state that B(F)PP are instantiated eagerly no matter if they are explicitly marked as to be lazy initialized or the default-lazy-init attribute is used at a <beans /> element.
2010-12-28 10:06:00 +00:00
Oliver Gierke
f20ded5f63
SPR-7674 - Documented value defaulting in Spring EL
...
Added short note of how to use the Elvis operator for defaulting values in the Spring expression language sections.
2010-12-28 09:42:58 +00:00
Costin Leau
bfb3003cba
SPR-7308
...
+ wrapping up cache documentation
+ plug in cache docs
2010-12-27 18:36:57 +00:00
Chris Beams
9f5fd3afcf
Normalize indentation of Apache license URL
...
In accordance with recommendations at
http://www.apache.org/licenses/LICENSE-2.0.html .
A number of classes had strayed from this format, now all
are the same.
2010-12-22 21:40:19 +00:00
Arjen Poutsma
64c7549c70
Removed JDK 1.6 usage
2010-12-22 10:23:34 +00:00
Costin Leau
29a8ca4edc
SPR-7308
...
+ draft cache documentation
2010-12-21 17:13:17 +00:00
Costin Leau
893fc83f49
SPR-7308
...
+ fix initialization problem for root object (inside SpEL eval context)
+ add integration tests for root object expressions
2010-12-21 15:47:22 +00:00
Costin Leau
e90f0a35e3
SPR-7308
...
+ add check for null key
2010-12-21 15:46:37 +00:00
Arjen Poutsma
9f4499cb36
SPR-7789 - FormHttpMessageConverter does not honor the charset in the content type when writing a form and uses a wrong default charset
2010-12-20 16:56:14 +00:00
Arjen Poutsma
d0394599ad
SPR-7789 - FormHttpMessageConverter does not honor the charset in the content type when writing a form and uses a wrong default charset
2010-12-20 16:50:44 +00:00
Arjen Poutsma
db3634f859
SPR-7706 - 304 responses should not have non-0 Content-Length
2010-12-20 16:32:58 +00:00
Costin Leau
8285e9c2a7
SPR-7308
...
SPR-7736
+ clarify storage of null values
2010-12-17 10:15:50 +00:00
Costin Leau
18e141cbaa
SPR-7308
...
+ optimize updating of multiple caches
2010-12-17 09:14:09 +00:00
Costin Leau
58633e4a89
SPR-7308
...
+ update AJ caching test
2010-12-16 21:25:12 +00:00
Costin Leau
bbba832904
SPR-7308
...
+ add missing package javadocs
2010-12-16 13:19:34 +00:00
Costin Leau
faf01b0337
SPR-7308
...
+ add support for multiple cache names
+ require each annotation to specify a cache name
+ add method support in Key generator interface
+ add bug fix for embedded JDK concurrent declaration
2010-12-16 13:19:01 +00:00
Costin Leau
21d64a74ae
SPR-7308
...
+ remove unnecessary methods for EhCacheCache
2010-12-16 11:13:43 +00:00
Costin Leau
47711c6743
+SPR-7470
...
+ minor adjustments
2010-12-16 10:28:56 +00:00
Chris Beams
f105670cec
Fix breaking logic around getFilename() call
2010-12-15 17:34:31 +00:00
Chris Beams
1a7aebb0dd
Improved fix for detecting non-file based Resources in PropertiesLoaderSupport (SPR-7547, SPR-7552)
...
Use instanceof check against AbstractFileResolvingResource instead of
try/catch around resource.getFilename() call.
2010-12-15 17:09:31 +00:00
Costin Leau
c08a2764d0
SPR-7470
...
+ add basic documentation for c: namespace
2010-12-15 16:12:54 +00:00
Costin Leau
da97547f00
fixed mistake in jmx docs (SPR-977)
2010-12-15 15:13:23 +00:00
Thomas Risberg
fbb106cfbe
updated license and notice files
2010-12-09 19:55:41 +00:00
Chris Beams
f46a455c72
Eliminate PropertySourceAggregator interface
2010-12-08 07:59:55 +00:00
Chris Beams
8770ea96b0
Expose Environment ConfigurationService
...
AbstractEnvironment delegates to an underlying ConfigurationService when
processing methods such as getProperty(String name, Class<?> targetType)
Accessor methods have been added to the ConfigurableEnvironment
interface that allow this service to be updated or replaced.
2010-12-08 07:59:41 +00:00
Chris Beams
b3e36a335d
Eliminate reserved 'default' profile (SPR-7778)
...
There is no longer a reserved default profile named 'default'. Rather,
users must explicitly specify a default profile or profiles via
ConfigurableEnvironment.setDefaultProfiles(String...)
- or -
spring.profile.default="pD1,pD2"
Per above, the setDefaultProfile(String) method now accepts a variable
number of profile names (one or more). This is symmetrical with the
existing setActiveProfiles(String...) method.
A typical scenario might involve setting both a default profile as a
servlet context property in web.xml and then setting an active profile
when deploying to production.
2010-12-08 07:59:25 +00:00
Chris Beams
e693d9fa58
Polish JavaDoc
2010-12-08 07:58:47 +00:00
Chris Beams
b50abc67de
Add Hamcrest 1.1 as test-time dependency for .context
...
Provides a richer set of Matcher implementations than JUnit's hamcrest
package.
2010-12-07 06:56:55 +00:00
Chris Beams
e0c5ced695
Use dot notation rather than camel case for profile props (SPR-7508)
...
Before this change, the following properties could be used to manipulate
Spring profile behavior:
-DspringProfiles=p1,p2
-DdefaultSpringProfile=pD
These properties have been renamed to follow usual Java conventions for
property naming:
-Dspring.profile.active=p1,p2
-Dspring.profile.default=pD
2010-12-05 20:14:26 +00:00
Chris Beams
5062dc31af
Support default profile (SPR-7508, SPR-7778)
...
'default' is now a reserved profile name, indicating
that any beans defined within that profile will be registered
unless another profile or profiles have been activated.
Examples below are expressed in XML, but apply equally when
using the @Profile annotation.
EXAMPLE 1:
<beans>
<beans profile="default">
<bean id="foo" class="com.acme.EmbeddedFooImpl"/>
</beans>
<beans profile="production">
<bean id="foo" class="com.acme.ProdFooImpl"/>
</beans>
</beans>
In the case above, the EmbeddedFooImpl 'foo' bean will be
registered if:
a) no profile is active
b) the 'default' profile has explicitly been made active
The ProdFooImpl 'foo' bean will be registered if the 'production'
profile is active.
EXAMPLE 2:
<beans profile="default,xyz">
<bean id="foo" class="java.lang.String"/>
</beans>
Bean 'foo' will be registered if any of the following are true:
a) no profile is active
b) 'xyz' profile is active
c) 'default' profile has explicitly been made active
d) both (b) and (c) are true
Note that the default profile is not to be confused with specifying no
profile at all. When the default profile is specified, beans are
registered only if no other profiles are active; whereas when no profile
is specified, bean definitions are always registered regardless of which
profiles are active.
The default profile may be configured programmatically:
environmnent.setDefaultProfile("embedded");
or declaratively through any registered PropertySource, e.g. system properties:
-DdefaultSpringProfile=embedded
Assuming either of the above, example 1 could be rewritten as follows:
<beans>
<beans profile="embedded">
<bean id="foo" class="com.acme.EmbeddedFooImpl"/>
</beans>
<beans profile="production">
<bean id="foo" class="com.acme.ProdFooImpl"/>
</beans>
</beans>
It is unlikely that use of the default profile will make sense in
conjunction with a statically specified 'springProfiles' property.
For example, if 'springProfiles' is specified as a web.xml context
param, that profile will always be active for that application,
negating the possibility of default profile bean definitions ever
being registered.
The default profile is most useful for ensuring that a valid set of
bean definitions will always be registered without forcing users
to explictly specify active profiles. In the embedded vs. production
examples above, it is assumed that the application JVM will be started
with -DspringProfiles=production when the application is in fact in
a production environment. Otherwise, the embedded/default profile bean
definitions will always be registered.
2010-12-01 09:01:58 +00:00
Chris Beams
b33da670e5
Rename EnvironmentBeansTests* -> ProfileXmlBeanDefinitionTests*
...
Earlier naming reflected initial conception of 'environment-specific
bean definitions'. This notion has evolved into bean definitions
specific to particular profiles, and the new naming more clearly
expresses it.
2010-12-01 08:36:29 +00:00
Chris Beams
c8b4915891
Remove obsolete ConfigurationClassPostProcessor.getOrder()
2010-12-01 08:36:12 +00:00
David Syer
b109a07fd9
SPR-7705: re-order rules and befores
2010-11-17 17:27:03 +00:00
David Syer
c52915bde6
Add hamcrest to beans pom in the right place to make tests compile
2010-11-16 17:12:32 +00:00
Chris Beams
197a46d0ab
Fix .integration-tests build path errors
...
Add .expression as a build path dependency to satisfy imports in
Spr7538Tests.java
2010-11-15 19:15:29 +00:00
David Syer
36ec06a917
Add missing JPA dependency
2010-11-15 16:54:12 +00:00
David Syer
cfe1fdb5e5
Add missing Hamcrest dependency
2010-11-15 16:50:59 +00:00
David Syer
a3df1c4e41
Re-order deps to allow Hamcrest to come before JUnit
2010-11-15 16:50:01 +00:00
David Syer
b73224427f
Add missing ROME dep
2010-11-15 16:49:17 +00:00
Arjen Poutsma
01120eb2f0
Using random port for HTTP integration tests
2010-11-09 10:40:51 +00:00
Arjen Poutsma
8762ec956c
SPR-7707 - Unexpected behavior with class-level @RequestMappings
2010-11-08 14:56:35 +00:00
Costin Leau
01e79cfedd
SPR-7703
...
- minor performance improvements to servlet and portlet handlers
2010-10-31 17:46:15 +00:00
Costin Leau
caf1a0875a
SPR-7308
...
+ add updated IDE classpath
+ add updated OSGi manifest
2010-10-29 17:17:38 +00:00
Costin Leau
4f8105ccaa
SPR-7308
...
+ add updated IDE classpath
+ add updated OSGi manifest
2010-10-29 17:17:10 +00:00
Costin Leau
85c02981b5
SPR-7308
...
+ initial commit of caching abstraction
+ main API
+ Spring AOP and AspectJ support
+ annotation driven, declarative support
+ initial namespace draft
2010-10-29 17:00:08 +00:00
Arjen Poutsma
416777022d
SPR-6614 - Add human-readable descriptions for statuc codes in HttpStatus
2010-10-29 10:56:43 +00:00
Arjen Poutsma
7cc3f49910
SPR-7695 - Add ETag version of WebRequest.checkNotModified()
2010-10-29 10:28:47 +00:00
Costin Leau
095a36e853
SPR-7470
...
+ add missing test class
2010-10-28 17:54:07 +00:00
Costin Leau
6ef987bced
SPR-7470
...
+ add test for XML config with errors
2010-10-28 17:49:49 +00:00
Costin Leau
c13905ad16
SPR-7470
...
+ add c: namespace
2010-10-28 17:49:01 +00:00
Chris Beams
4214bc0735
Minor post-merge cleanup
2010-10-25 19:54:01 +00:00
Chris Beams
f480333d31
Merge 3.1.0 development branch into trunk
...
Branch in question is 'env' branch from git://git.springsource.org/sandbox/cbeams.git; merged into
git-svn repository with:
git merge -s recursive -Xtheirs --no-commit env
No merge conflicts, but did need to
git rm spring-build
prior to committing.
With this change, Spring 3.1.0 development is now happening on SVN
trunk. Further commits to the 3.0.x line will happen in an as-yet
uncreated SVN branch. 3.1.0 snapshots will be available
per the usual nightly CI build from trunk.
2010-10-25 19:48:20 +00:00
Juergen Hoeller
b0ea2b13d2
polishing
2010-10-20 21:15:22 +00:00
Arjen Poutsma
a37a9e8a38
SPR-7667
2010-10-20 13:59:37 +00:00
Juergen Hoeller
577755d580
polishing
2010-10-20 05:51:51 +00:00
Juergen Hoeller
610812949f
prepared for 3.0.5 release
2010-10-20 05:48:25 +00:00
Juergen Hoeller
82ec515e59
declared JPA API as optional (SPR-6819)
2010-10-20 05:37:25 +00:00
Juergen Hoeller
d418eed56f
AbstractJasperReportsView only sets locale model attributes if not present already
2010-10-20 05:22:43 +00:00
Juergen Hoeller
244c96151e
added consistent license header
2010-10-20 05:19:17 +00:00
Ramnivas Laddad
92298469bf
Fixed configuration of AnnotationAsyncExecutionAspect (was incorrectly under the same name as that for transaction management aspect)
2010-10-17 22:33:30 +00:00
Juergen Hoeller
bfd54f4f35
AnnotationAsyncExecutionAspect etc
2010-10-15 21:04:48 +00:00
Juergen Hoeller
c5e53ee432
polishing
2010-10-15 20:50:51 +00:00
Juergen Hoeller
8c9b64c948
added mode="proxy"/"aspectj" and proxy-target-class options to task namespace; switched to concise names for async aspects
2010-10-15 20:50:23 +00:00
Thomas Risberg
171f1ee097
added additional parameter name matching using lowercase with Locale.ENGLISH (SPR-7658)
2010-10-15 15:56:59 +00:00
Juergen Hoeller
be21358db7
reintroduced getHandler(request, cache) in deprecated form (after removing it in 3.0.4)
2010-10-15 14:05:22 +00:00
Juergen Hoeller
5da5fc6499
polishing
2010-10-15 08:44:03 +00:00
Chris Beams
c7aaa85ef6
Add proper default values for 'merge' attributes in collection elements (SPR-7656)
2010-10-15 07:56:02 +00:00
Juergen Hoeller
a25e4d794e
Hibernate 3.6, etc
2010-10-14 23:10:08 +00:00
Juergen Hoeller
3c067e5db6
optimized AnnotationUtils findAnnotation performance for repeated search on same interfaces (SPR-7630)
2010-10-14 23:06:45 +00:00
Juergen Hoeller
0f924820e8
revised OracleTableMetaDataProvider for reliable Oracle Connection detection; autodetect JdbcTemplate's NativeJdbcExtractor (SPR-7611)
2010-10-14 21:25:14 +00:00
Juergen Hoeller
1f1577e33e
fixed @Value injection to correctly cache temporary null results for non-singleton beans (SPR-7614)
2010-10-14 19:49:29 +00:00
Juergen Hoeller
e1dbb66798
StringToArray/CollectionConverter trims element values before trying to convert them (SPR-7657)
2010-10-14 19:44:26 +00:00
Juergen Hoeller
1933b648c3
fixed @Value injection to correctly cache temporary null results for non-singleton beans (SPR-7614)
2010-10-14 19:40:36 +00:00
Juergen Hoeller
5cb06f5da2
consistent caching of @Autowired arguments in field and method case (SPR-7635)
2010-10-14 09:34:31 +00:00
Juergen Hoeller
ffa4ed093f
BeanWrapper etc
2010-10-14 00:30:38 +00:00
Juergen Hoeller
4c73a29f99
polishing
2010-10-14 00:30:07 +00:00
Juergen Hoeller
0195b0da3c
BeanWrapper does not attempt to populate Map values on access (just auto-grows Map itself)
2010-10-14 00:14:50 +00:00
Juergen Hoeller
27a10c74d1
resolve dependency outside of synchronized block before subsequently preparing cached arguments (SPR-7635)
2010-10-13 23:22:57 +00:00
Juergen Hoeller
7893b3ebf6
applied synchronization in order to avoid race condition in skipping check (SPR-7635, SPR-7642)
2010-10-13 22:29:28 +00:00
Juergen Hoeller
21d6883139
moved async aspect to aspectj sub-package
2010-10-13 21:06:38 +00:00
Juergen Hoeller
a6569a2930
moved async aspect to aspectj sub-package
2010-10-13 20:53:12 +00:00
Arjen Poutsma
d9d7fb6f9a
Docs
2010-10-13 14:19:48 +00:00
Arjen Poutsma
4108927b28
SPR-5367 - PathVariable mappings are greedy over hard coded mappings
2010-10-13 12:03:26 +00:00
Juergen Hoeller
ac5b1bcfab
fixed Autowired/CommonAnnotationBeanPostProcessor to prevent race condition in skipping check (SPR-7635, SPR-7642)
2010-10-12 22:56:38 +00:00
Arjen Poutsma
c5c1d70aa3
SPR-6291 - UrlPathHelper is too aggressive decoding URLs
2010-10-12 12:09:43 +00:00
Arjen Poutsma
043ec2c8b2
SPR-7636 - XStreamMarshaller - Add support for configuring XStream with aliases by class (type) and also defining multiple attributes for the same class.
2010-10-12 11:55:29 +00:00
Arjen Poutsma
1f296403da
SPR-7620 - StaxEventContentHandler does not set Location for StartDocument event
2010-10-12 09:50:39 +00:00
Arjen Poutsma
35da7bdb44
SPR-7621 - AbstractStaxContentHandler sets NamespaceContext on every start/end element
2010-10-12 09:41:23 +00:00
Arjen Poutsma
ab21dbad08
SPR-7621 - AbstractStaxContentHandler sets NamespaceContext on every start/end element
2010-10-12 09:35:23 +00:00
Juergen Hoeller
c32c0d5674
fixed package declaration
2010-10-11 21:26:32 +00:00
Juergen Hoeller
e506ccf4e1
serializer package etc
2010-10-11 21:15:56 +00:00
Juergen Hoeller
0ef971b82b
polishing
2010-10-11 21:15:26 +00:00
Juergen Hoeller
b062de1133
revised initial cut of serializer package; moved Converter adapters to sub-package 'support'
2010-10-11 21:15:12 +00:00
Juergen Hoeller
3740380a7a
polishing
2010-10-11 20:03:40 +00:00
Juergen Hoeller
cb434793d5
avoid double flushing of ObjectOutputStream when close is being called right afterwards anyway
2010-10-11 20:00:45 +00:00
Oliver Gierke
9114f80b68
SPR-7641 - Added Principal to listing of supported method parameter types.
2010-10-11 19:59:16 +00:00
Juergen Hoeller
ae3cfff380
fixed JodaTimeContextHolder to use a non-inheritable ThreadLocal and expose a reset method (SPR-7441); use of remove() even when being called with a null argument
2010-10-11 18:55:21 +00:00
Mark Fisher
c046419acd
SPR-7627 added Serializer and Deserializer strategies, Converter adapters, and default implementations
2010-10-11 17:36:18 +00:00
Thomas Risberg
bd22bed10a
added a SybaseAnywhereMaxValueIncrementer since syntax is slightly different than for Sybase ASE (SPR-7623)
2010-10-11 14:17:09 +00:00
Juergen Hoeller
a0fead1880
revised TypedValue toString representation (SPR-7569)
2010-10-10 21:29:18 +00:00
Juergen Hoeller
f7cd9865f4
polishing
2010-10-10 21:09:59 +00:00
Juergen Hoeller
ebe8052d55
fixed detection of element type in case of nested collections (SPR-7569)
2010-10-10 21:09:43 +00:00
Juergen Hoeller
6b3c299a50
consistent handling of handler methods, init binder methods and model attribute methods (SPR-7355)
2010-10-10 21:01:04 +00:00
Juergen Hoeller
722778c74a
SpEL MapAccessor consistently rejects "target.key" style access to Maps if no such key is found (SPR-7614)
2010-10-10 20:22:15 +00:00
Juergen Hoeller
1cd77e2a15
polishing
2010-10-10 20:11:53 +00:00
Juergen Hoeller
5be9473136
initialize cache Maps early, turning them into final fields
2010-10-10 20:11:44 +00:00
Juergen Hoeller
7553b76f15
SpEL method invocations prefer method with fewest parameters (e.g. no-arg over vararg; SPR-7633)
2010-10-10 19:23:01 +00:00
Juergen Hoeller
d78eda8aeb
polishing
2010-10-10 18:31:43 +00:00
Juergen Hoeller
061063257a
optimized @Bean error messages (SPR-7628, SPR-7629)
2010-10-10 18:31:03 +00:00
Juergen Hoeller
4e43ba544b
Jdbc4NativeJdbcExtractor etc
2010-10-09 23:08:23 +00:00
Juergen Hoeller
ccded10d86
added configurable Connection/Statement/ResultSet target types to Jdbc4NativeJdbcExtractor (SPR-7613); added OracleJdbc4NativeJdbcExtractor with pre-configured Oracle JDBC API types
2010-10-09 23:04:50 +00:00
Juergen Hoeller
2433feab09
fixed embedded database exception test
2010-10-09 13:29:22 +00:00
Juergen Hoeller
be04aca037
consistent handling of unwrap/isWrapperFor/isClosed in JDBC proxies
2010-10-09 12:38:37 +00:00
Juergen Hoeller
153680a5e6
polishing
2010-10-09 12:35:38 +00:00
Juergen Hoeller
a15d023b45
ResourceDatabasePopulator throws descriptive ScriptStatementFailedException with resource details (SPR-7546)
2010-10-09 12:35:21 +00:00
Thomas Risberg
63b8ae085a
added a nativeJdbcExtractor property for the TableMetaDataProvider and a method to specify the one to use for SImpleJdbcInsert (SPR-7611)
2010-10-08 18:28:01 +00:00
Oliver Gierke
1c6e131746
SPR-7604 - Support multiple embedded databases.
...
Added missing test configuration file.
2010-10-08 12:40:06 +00:00
Ramnivas Laddad
00984781af
SPR-7369: @Async support in spring-aspects with AspectJ
2010-10-06 20:13:22 +00:00
Ramnivas Laddad
e1fb19f4e1
SPR-7369: @Async support in spring-aspects with AspectJ
2010-10-06 20:12:15 +00:00
Arjen Poutsma
21cca695e5
Polishing
2010-10-06 12:05:11 +00:00
Oliver Gierke
ba2bac17de
SPR-7604 - Support multiple embedded databases.
...
Embedded datasources now get their bean ids set as database name to allow multiple databases of the same type in parallel. Refactored tests a little and made BeanDefinitionParser package private to align with the other ones. Adapted changelog accordingly.
2010-10-02 06:30:05 +00:00
Juergen Hoeller
5918e2fa9c
preparations for 3.0.5 release
2010-10-02 01:29:35 +00:00
Juergen Hoeller
6d94c92d97
DefaultMessageListenerContainer's skips no-message-received commit on Tibco (avoiding a deadlock; SPR-7558)
2010-10-02 01:25:25 +00:00
Juergen Hoeller
3f0462510e
getTestExecutionListeners() returns actual List which allows for iteration as well as modification (SPR-7595)
2010-10-02 01:05:40 +00:00
Juergen Hoeller
40fa8afce4
DispatcherPortlet's default resource serving explicitly prevents access to WEB-INF and META-INF (SPR-7540)
2010-10-02 00:03:09 +00:00
Juergen Hoeller
aac2de9221
avoid ConcurrentModificationException when iterating attribute names (SPR-7557)
2010-10-01 22:27:34 +00:00
Juergen Hoeller
cbab6fa59f
reduced BeanDefinition footprint by initializing Sets and Maps with 0
2010-10-01 22:22:50 +00:00
Juergen Hoeller
b7b2a25953
fixed ApplicationContext event processing for repeated invocations to non-singleton listener beans (SPR-7563)
2010-10-01 22:16:21 +00:00
Juergen Hoeller
d9b54a524d
revised "ClassUtils.isAssignable" semantics to cover primitives vs wrappers in both directions (SPR-7610)
2010-10-01 21:50:25 +00:00
Oliver Gierke
9008e08171
SPR-7651 - Document limitations of @Async.
...
* documented that @Async can't be used in conjunction with lifecycle callbacks such as @PostConstruct
* provide sample for workaround
* added semantic markup for code
2010-10-01 09:44:55 +00:00
Oliver Gierke
eb0990b37e
Formatting for scheduling.xml.
2010-10-01 09:44:52 +00:00
Oliver Gierke
1fc6de0403
SPR-7609 - Fixed typos in JMS documentation.
2010-10-01 06:52:08 +00:00
Oliver Gierke
b467f2c858
SPR-7602 - Correctly shutdown Derby >= 10.6
...
The shutdown mechanism for in-memory databases has changed since 10.6. We now have to trigger 'drop' instead of 'shutdown'. Besides that we can skip purging the database manually in newer versions.
2010-09-30 17:56:41 +00:00
Juergen Hoeller
e211c09065
fixed exists() check for resources in zipped files (SPR-7559)
2010-09-29 14:45:44 +00:00
Juergen Hoeller
f88f69e700
AspectJExpressionPointcut uses bean ClassLoader for initializing the AspectJ pointcut parser (SPR-7570)
2010-09-29 14:31:23 +00:00
Juergen Hoeller
eda6268d9d
fixed findPlaceholderEndIndex to work with a custom suffix as well (SPR-7574)
2010-09-29 14:01:54 +00:00
Juergen Hoeller
668207d59d
fixed Portlet UnavailableException tests (SPR-7542)
2010-09-29 13:45:50 +00:00
Juergen Hoeller
803b336354
fixed Portlet UnavailableException tests (SPR-7542)
2010-09-29 13:31:53 +00:00
Juergen Hoeller
4c154d3cab
AnnotationSessionFactoryBean's "postProcessConfiguration" is non-final now (because of Hibernate 3.6; SPR-7581)
2010-09-29 13:22:24 +00:00
Juergen Hoeller
7ad191c912
made ResourceHttpRequestHandlerTests more reliable (SPR-7565)
2010-09-29 13:14:18 +00:00
Arjen Poutsma
70cb81b4b5
SPR-7591 - HttpStatusCodeException should contain response body
2010-09-24 10:06:52 +00:00
Costin Leau
6e516b7281
SPR-6819
...
+ change jpa Maven dependency from provided to compile
2010-09-21 23:14:22 +00:00
Jeremy Grelle
aab05c4da9
Minor correction to doc updates made as part of SPR-7545 - "cache-period" attribute was incorrectly documented as "cache-seconds".
2010-09-17 18:50:01 +00:00
Chris Beams
562747ef41
Review recent documentation and default servlet changes
...
- Relocate and fix typos in interface-based @RequestMapping tip (SPR-7537)
- Fix typos in constructor-arg 'name' disambiguation section (SPR-7443)
- Polish whitespace in DefaultServletHttpRequestHandler (SPR-7553)
2010-09-15 08:45:21 +00:00
Oliver Gierke
c1d2c36f32
SPR-7443 - Mentioned @ConstructorProperties in doc
...
If you want to reference parameters by name in XML
configuration you can also use @ConstructorProperties
to name the parameters in the class.
2010-09-15 08:13:12 +00:00
Oliver Gierke
e8b9c6d5ff
SPR-7443 - Constructor arg resolution by name (doc)
...
Added documentation on constructor argument
disambiguation by using the argument names.
2010-09-15 06:37:05 +00:00
Thomas Risberg
b2b195e2cf
changed the access of the "reconcileColumnsToUse" and "reconcileParameters" methods to protected (SPR-7556)
2010-09-14 15:48:03 +00:00
Oliver Gierke
2c559aa8c8
SPR-7537 - Document proxying for MVC controllers
...
Extended documentation to include hints on what to
consider when working with proxied controllers.
Explained the necessity of moving @RequestMapping
annotations to the interface or use proxy-target-
class="true".
2010-09-14 11:02:46 +00:00
Juergen Hoeller
bf90a2ddb6
DispatcherPortlet throws custom NoHandlerFoundException instead of misleading UnavailableException (SPR-7542)
2010-09-14 06:43:53 +00:00
Juergen Hoeller
a3f155220b
UriTemplate is serializable now (SPR-7541)
2010-09-14 05:37:30 +00:00
Juergen Hoeller
6d4faa6c52
ApplicationContext registers context-specific ClassArrayEditor for its bean ClassLoader (SPR-1461)
2010-09-14 05:09:08 +00:00
Jeremy Grelle
d8ecc76d4c
SPR-7545 - Reference documentation now reflects the final state of the ResourceHttpRequestHandler and references the DefaultServletHttpRequestHandler properly.
2010-09-13 23:06:06 +00:00
Chris Beams
05bcc4028d
Fix assumption about file-based Resources in PropertiesLoaderSupport (SPR-7547)
...
When using PropertiesLoaderSupport implementations (principally
PropertyPlaceholderConfigurer), an assumption was made that any
Resource representing a set of properties must be file-based. SPR-7547
exposed the fact that if a non-file-based Resource implementation such
as ByteArrayResource were passed in, an IllegalStateException would be thrown
from the AbstractResource base class' implementation of getFilename().
This is now patched, and PropertiesLoaderSupport implementations treat
Resource implementations equally, regardless of file-orientation.
See also SPR-7552.
2010-09-13 20:23:26 +00:00
Jeremy Grelle
334a294e2a
SPR-7553 - DefaultServletHttpRequestHandler fails on Google App Engine
2010-09-13 19:58:26 +00:00
Chris Beams
99f7142e3f
Add @Ignored repro test for SPR-7538
2010-09-10 16:32:20 +00:00
Juergen Hoeller
aa54518e2e
final preparations for 3.0.5
2010-09-10 09:09:28 +00:00
Juergen Hoeller
c2dab9c200
EmbeddedDatabaseFactory shuts down database when failing to populate it in initDatabase (SPR-7536)
2010-09-10 09:07:20 +00:00
Juergen Hoeller
609f91e1b4
final preparations for 3.0.5
2010-09-09 22:14:51 +00:00
Juergen Hoeller
87e7258c9a
polishing
2010-09-09 22:14:36 +00:00
Juergen Hoeller
134e79c0fd
clearly document behavior with respect to beans of same name at different factory levels (SPR-6117)
2010-09-09 22:12:23 +00:00
Chris Beams
08fb61316d
Comment xsd-config-setup doc pending overhaul (SPR-7521)
2010-09-09 10:16:43 +00:00
Chris Beams
4b89069cab
Polish whitespace in docs
2010-09-09 10:16:39 +00:00
Juergen Hoeller
5f2d88f74a
polishing
2010-09-09 09:04:40 +00:00
Juergen Hoeller
53692a79e2
polishing
2010-09-09 08:13:49 +00:00
Juergen Hoeller
b07a7be262
expression parser stuff
2010-09-08 22:53:54 +00:00
Juergen Hoeller
7a42ff16ac
polishing
2010-09-08 22:53:39 +00:00
Juergen Hoeller
f848e5081d
updated version statement in javadoc
2010-09-08 22:48:03 +00:00
Juergen Hoeller
91a53a36ec
LocalSessionFactoryBean's "entityCacheStrategies" works with region names on Hibernate 3.6 as well
2010-09-08 22:45:58 +00:00
Thomas Risberg
1247d2085b
Polished the support for looking up column values by column label (SPR-7506)
2010-09-08 18:59:28 +00:00
Thomas Risberg
90636f66a8
Added support for looking up column values by column label to support CachedRowSetImpl which doesn't allow for column label use (SPR-7506); added some generics;
2010-09-08 18:46:21 +00:00
Juergen Hoeller
c33df5977a
pass full TypeDescriptor context through to ConversionService calls (SPR-7519)
2010-09-08 17:26:02 +00:00
Chris Beams
6f69b7b752
Allow class-relative resource loading in GenericXmlApplicationContext (SPR-7530)
...
Before:
- new GenericXmlApplicationContext("com/acme/path/to/resource.xml");
- GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
ctx.load("com/acme/path/to/resource.xml");
ctx.refresh();
After:
- The above remain supported, as well as new class-relative variants
- import com.acme.path.to.Foo;
new GenericXmlApplicationContext(Foo.class, "resource.xml");
- import com.acme.path.to.Foo;
GenericXmlApplicationContext ctx = new GenericXmlApplicationContext();
ctx.load(Foo.class, "resource.xml");
ctx.refresh();
These changes are generally aligned with signatures long available in
ClassPathXmlApplicationContext. As GenericXmlApplicationContext is
intended to be a more flexible successor to CPXAC (and FSXAC), it's
important that all the same conveniences are available.
2010-09-08 15:30:48 +00:00
Juergen Hoeller
912d349366
@MVC fixes
2010-09-08 14:48:52 +00:00
Juergen Hoeller
284f98f12a
fixed @MVC processing of parameter-level annotations to work with interface-based proxies again (SPR-7483)
2010-09-08 14:45:00 +00:00
Juergen Hoeller
907febd86e
revised @RequestParam processing to support CSV-to-array/collection binding with ConversionService (SPR-7479)
2010-09-08 13:56:42 +00:00
Arjen Poutsma
af7203b839
Added XMLEventStreamWriter
2010-09-08 12:52:23 +00:00
Juergen Hoeller
a251d6a6cc
revised @RequestParam processing to support CSV-to-array/collection binding with ConversionService (SPR-7479)
2010-09-08 12:39:57 +00:00
Arjen Poutsma
449337a544
Small Stax fixes.
2010-09-08 09:45:18 +00:00
Arjen Poutsma
f92f295055
Small Stax fixes.
2010-09-08 08:42:09 +00:00
Juergen Hoeller
6a4bc3e39f
further fixes for 3.0.5
2010-09-06 23:35:14 +00:00
Juergen Hoeller
88e0dcfa06
added MockMultipartFile to web-portlet module
2010-09-06 23:22:03 +00:00
Juergen Hoeller
bd05b046d0
reverted shortening of action exception parameter value; fixed multipart test (SPR-7495)
2010-09-06 23:11:11 +00:00
Juergen Hoeller
7e5215b5d4
fixed typo
2010-09-06 22:56:18 +00:00
Juergen Hoeller
ba946c08dd
copy event parameters to render parameters in case of an action exception as well (SPR-7495)
2010-09-06 22:56:05 +00:00
Juergen Hoeller
3eda5144ae
DispatcherPortlet copies all action parameters to render parameters in case of an action exception (SPR-7495); shortened Portlet MVC's action exception render parameter value to "true"
2010-09-06 22:45:31 +00:00
Juergen Hoeller
e68f2f0a5f
removed unused HandlerExecutionChain caching
2010-09-06 21:44:06 +00:00
Juergen Hoeller
45d9b0cb2d
allow for writing the response directly in a Portlet @ExceptionHandler method (like in the Servlet equivalent)
2010-09-06 21:43:26 +00:00
Juergen Hoeller
66b4499973
polishing
2010-09-06 21:20:03 +00:00
Juergen Hoeller
e035477e6a
extended synchronization for methodResolverCache (SPR-7525)
2010-09-06 20:41:50 +00:00
Juergen Hoeller
479b4c1b84
added bean type to post-processing log statement (SPR-7524)
2010-09-06 20:06:48 +00:00
Juergen Hoeller
05a3f3ad8d
avoid failures in case of manually registered null instance (SPR-7523)
2010-09-06 19:47:16 +00:00
Arjen Poutsma
b67da6c3f8
Granting Keith's wish
2010-09-03 08:50:45 +00:00
Sam Brannen
0485f15998
Fixed typo
2010-09-01 23:38:51 +00:00
Juergen Hoeller
b60a7a2e07
prepared for 3.0.5
2010-09-01 22:24:21 +00:00
Juergen Hoeller
e6425ee41f
polishing
2010-09-01 22:02:33 +00:00
Juergen Hoeller
0a17e41755
catch invalid arguments early; avoid stack overflow in object-to-collection case (SPR-7488)
2010-09-01 22:02:07 +00:00
Juergen Hoeller
055c343ce0
SpEL supports projection on any kind of Collection (SPR-7493)
2010-09-01 21:55:39 +00:00
Juergen Hoeller
3f68ccadd9
polishing
2010-09-01 18:41:10 +00:00
Juergen Hoeller
4e3227441b
DefaultLobHandler's "wrapAsLob" mode works with PostgreSQL's getAsciiStream() requirement (SPR-7487)
2010-09-01 18:09:29 +00:00
Juergen Hoeller
e56cfb8173
consistent use of JDK 1.5's ThreadLocal.remove() over ThreadLocal.set(null), preventing leaks (SPR-7441)
2010-09-01 17:17:25 +00:00
Juergen Hoeller
66a5bb7c22
JaxWsPortClientInterceptor does not fall back to annotation-specified name as portName anymore (SPR-7505)
2010-09-01 14:02:32 +00:00
Juergen Hoeller
82bcef037d
JDBC bundle uses local ClassLoader as bean ClassLoader for "sql-error-codes.xml" parsing (SPR-7497)
2010-09-01 13:46:57 +00:00
Juergen Hoeller
5ddf8245dd
fixed EvalTag's EvaluationContext caching (SPR-7482)
2010-09-01 13:33:45 +00:00
Juergen Hoeller
3e5aca86d5
fixed no-message-received commit case for non-cached Sessions (SPR-7478)
2010-09-01 11:21:40 +00:00
Juergen Hoeller
d7e0776148
avoid hanging in case of shutdown errors (SPR-7511)
2010-09-01 11:19:11 +00:00
Arjen Poutsma
416004b1bc
Fixing build
2010-08-31 15:48:42 +00:00
Arjen Poutsma
2182287d3e
Minor tweaks
2010-08-31 10:46:58 +00:00
Arjen Poutsma
e3298061d2
Added createCustomStaxSource/Result, because JAXP 1.4 kills babies in their sleep.
2010-08-31 09:51:59 +00:00
Arjen Poutsma
9aafa1c6b2
Various StAX improvements.
2010-08-27 11:35:27 +00:00
Chris Beams
b72cca5403
Fix memory leak in serializable bean factory management (SPR-7502)
...
GenericApplicationContext and AbstractRefreshableApplicationContext
implementations now call DefaultListableBeanFactory.setSerializationId()
only upon successful refresh() instead of on instantiation of the
context, as was previously the case with GAC.
DLBF.setSerializationId() adds the beanFactory to the *static*
DLBF.serializableFactories map, and while calling close() on the
application context removes entries from that map, it does so only if
the context is currently active (i.e. refresh() has been called).
Also, cancelRefresh() has been overridden in GAC just as it has been
in ARAC to accomodate the possibility of a BeansException being thrown.
In this case, the beanFactory serializationId will be nulled out and
the beanFactory removed from the serializableFactories map.
The SerializableBeanFactoryMemoryLeakTests test case provides full
coverage of these scenarios.
2010-08-27 10:53:20 +00:00
Arjen Poutsma
d0f13b5beb
SPR-7490 - Reverting RedirectView to it's 3.0.3 version
2010-08-25 09:00:09 +00:00
Arjen Poutsma
4504ab8bc2
SPR-7316 - writeAcceptCharset now also set to false when using mvc namespace.
2010-08-23 14:53:00 +00:00
Ben Hale
7730e76c06
Publishing license and notice files
2010-08-23 13:17:31 +00:00
Arjen Poutsma
dbfa049e1e
Prepping for 3.0.5
2010-08-19 11:04:04 +00:00
Arjen Poutsma
9f05f28727
Prepping for 3.0.5
2010-08-19 10:55:41 +00:00
Juergen Hoeller
a9da123259
temporarily disabled constructor argument caching for converted values (SPR-7423)
2010-08-19 09:30:04 +00:00
Arjen Poutsma
001d676dec
SPR-7471 - Regression in redirect URL encoding
2010-08-19 08:54:42 +00:00
Arjen Poutsma
061b2c91a0
SPR-7474 - AbstractXmlStreamReader getAttributeValue(String, String) does not handle null namespaceURI properly
2010-08-19 07:53:48 +00:00
Chris Beams
9ab2c6628b
Split IoC chapter DocBook XML into multiple files (SPR-7467)
...
All <section/> elements in beans.xml >=~ 500 lines have been broken out
into separate documents with DOCTYPE 'section'. This refactoring makes
working with these files much easier in wysiwyg editors (namely
oXygen Author).
For consistency, this same refactoring should be applied to all other
chapters much larger than 1500 lines, such as aop.xml (3861), mvc.xml
(3466), jdbc.xml (3042), and so on.
beans.xml and the new section files have also been formatted for
consistency and to avoid whitespace diffs as much as possible into the
future.
2010-08-18 10:37:35 +00:00
Juergen Hoeller
2f980d95ff
final preparations for 3.0.4 release
2010-08-18 09:13:10 +00:00
Juergen Hoeller
9857ba077b
revised constructor argument caching for highly concurrent creation scenarios (follow-up to SPR-7423)
2010-08-18 09:08:55 +00:00
Chris Beams
9a088b8128
Document BeanFactoryPostProcessor implementation constraints (SPR-7466)
...
JavaDoc and reference docs now warn developers against interacting with
bean instances within BeanFactoryPostProcessor implementations in order
to avoid premature bean instantiation.
See SPR-7450 for an example of a third-party BFPP
(OAuthTokenLifecycleRegistryPostProcessor) prematurely instantiating
a FactoryBean instance, such that bean post-processing is bypassed
and autowired injection (via @Inject) never occurs.
2010-08-17 09:50:22 +00:00
Juergen Hoeller
e4792aaf33
polishing
2010-08-16 21:24:21 +00:00
Juergen Hoeller
b58e19b04c
polishing
2010-08-16 20:39:28 +00:00
Juergen Hoeller
48869a86cc
consistent converting and escaping of label values (following AbstractMultiCheckedElementTag's SPR-7174)
2010-08-16 20:39:14 +00:00
Juergen Hoeller
a032ce12cb
renamed "mapping-order" to "order"; added "cache-period"
2010-08-16 19:04:51 +00:00
Juergen Hoeller
ecb351c475
return 404 in case of no media type found
2010-08-16 19:02:12 +00:00
Juergen Hoeller
b51f067f74
@MVC handler method resolution
2010-08-15 23:51:01 +00:00
Juergen Hoeller
9b3fbc2333
WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
2010-08-15 23:20:55 +00:00
Juergen Hoeller
ee04046ed7
polishing
2010-08-15 23:04:19 +00:00
Juergen Hoeller
3cf22a0255
lazy creation of MessageFormats
2010-08-15 23:04:02 +00:00
Juergen Hoeller
0aec5efb56
polishing
2010-08-15 23:01:10 +00:00
Juergen Hoeller
5c3cf5f672
added testStringArrayToResourceArray
2010-08-15 23:00:46 +00:00
Juergen Hoeller
d1afb29074
Servlet/PortletContextResource inherit isReadable, contentLength and lastModified from AbstractFileResolvingResource
2010-08-15 22:57:37 +00:00
Juergen Hoeller
b2b1ff60dd
CommonsMultipartResolver cleans up all multipart files in case of multiple files for same name as well (SPR-2784)
2010-08-15 22:52:54 +00:00
Juergen Hoeller
255d1ad434
WebDataBinder and @MVC request param binding detect and introspect MultipartFile arrays as well (SPR-2784)
2010-08-15 22:51:02 +00:00
Juergen Hoeller
5b0448c609
MockMultipartHttpServletRequest pre-defines method "POST" and content type "multipart/form-data"
2010-08-15 22:46:15 +00:00
Juergen Hoeller
1841b14b21
consistent mocks between modules
2010-08-15 22:02:40 +00:00
Juergen Hoeller
19fcbeafb4
renamed UriUtilsTest to UriUtilsTests
2010-08-15 22:01:33 +00:00
Juergen Hoeller
ace7b072f1
fixed accidental change to byte array loop
2010-08-15 21:43:24 +00:00
Juergen Hoeller
fd159246ed
polishing
2010-08-15 21:26:43 +00:00
Juergen Hoeller
2516bc0faf
polishing
2010-08-15 21:24:35 +00:00
Juergen Hoeller
3963ff6e3b
use generic Class<?> in TransactionAttributeSource signature
2010-08-15 21:19:52 +00:00
Juergen Hoeller
a5b30fd074
polishing
2010-08-15 21:17:39 +00:00
Juergen Hoeller
35971f9f90
revised handler method resolution, in particular with respect to generic interfaces (SPR-7355)
2010-08-15 21:12:54 +00:00
Juergen Hoeller
49a2970def
search super-interfaces as well (SPR-7355)
2010-08-14 21:12:58 +00:00
Juergen Hoeller
665a997f66
refined exception messages; added unit tests for custom array types
2010-08-14 19:42:29 +00:00
David Syer
5109501d16
SPR-7463: switched to instance variable
2010-08-14 11:09:42 +00:00
Juergen Hoeller
e27f4b1577
revised DispatcherServlet's last-modified handling to properly work with scoped controllers
2010-08-12 23:32:53 +00:00
Juergen Hoeller
f8690cf791
DispatcherServlet etc
2010-08-12 22:55:12 +00:00
Juergen Hoeller
f6c07b371f
revised DispatcherServlet's last-modified handling to properly work with scoped controllers; added HEAD support to ResourceHttpRequestHandler
2010-08-12 22:54:24 +00:00
Juergen Hoeller
29b12adbaa
revised web scoping tests
2010-08-12 22:49:26 +00:00
Juergen Hoeller
a79c015297
refined logging of handler objects in order to avoid early access to scoped proxies (SPR-7456)
2010-08-12 22:14:20 +00:00
Juergen Hoeller
01b65cd201
polishing
2010-08-12 18:49:13 +00:00
Juergen Hoeller
61fcef1471
polishing
2010-08-12 18:42:13 +00:00
Juergen Hoeller
34ebad5fff
fixed JSP EvalTag to render null result as empty String instead of "null" String (SPR-7459)
2010-08-12 18:41:24 +00:00
Juergen Hoeller
9bd0bd9c3a
SpringTemplateLoader supports last-modified timestamp through Resource abstraction (SPR-7454)
2010-08-12 10:56:28 +00:00
Juergen Hoeller
99733aef2a
introspect superclass when given a CGLIB proxy as target class (SPR-7448); use generic Class<?> in TransactionAttributeSource signature
2010-08-11 21:47:50 +00:00
Juergen Hoeller
8a23ce917a
Spring's constructor resolution consistently finds non-public multi-arg constructors (SPR-7453)
2010-08-11 19:24:30 +00:00
Arjen Poutsma
6e303d25c4
SPR-7427 - URL in a redirect is not escaped by RedirectView
2010-08-11 11:44:44 +00:00
Arjen Poutsma
ac1d2d93d6
SPR-7439 - JSON (jackson) @RequestBody marshalling throws awkward exception
2010-08-11 08:16:12 +00:00
Chris Beams
b90260f8d2
Link to Spring Integration at end of event coverage
2010-08-11 06:36:00 +00:00
Chris Beams
258a47435d
Remove XFire reference documentation (SPR-7434)
...
XFire is now CXF (per http://xfire.codehaus.org ), and given that Spring
does not actually ship with any explicit XFire support, it makes sense
to remove the documentation completely. CXF does provide support for
writing services with Spring, and they provide their own documentation.
See http://cxf.apache.org/docs/writing-a-service-with-spring.html
2010-08-10 23:10:35 +00:00
Juergen Hoeller
1503a139e2
fixed yet another regression with respect to newlines (SPR-7449)
2010-08-10 22:36:36 +00:00
Chris Beams
3d2dd447af
Remove Chapter 27 from reference documentation (SPR-7433)
...
Chapter 27 covered @Required and RequiredAnnotationBeanPostProcessor but
did not hold together as a chapter unto itself. The IoC chapter already
makes mention of @Required and RequiredAnnotationBeanPostProcessor,
though not in quite as much detail as Chapter 27 did. Links have been
updated throughout to reference these sections and Chatper 27 has been
eliminated entirely.
2010-08-10 22:13:55 +00:00
Chris Beams
abf523698c
Apply parentheses consistently within <methodname/>
...
Prior to change, there were 175 instances of <methodname/> elements
including parentheses (e.g.: <methodname>foo()</methodname>, and
36 instances without.
Now all 211 instances include parentheses for consistency.
2010-08-10 22:13:50 +00:00
Sam Brannen
e3400f77c9
[SPR-7449] @Ignore'd failing test for regression in ResourceDatabasePopulator.
2010-08-10 21:51:35 +00:00
Chris Beams
9008cf907a
Overhaul custom ApplicationEvent documentation (SPR-7422, SPR-7395)
...
Documentation now:
- Reflects generic use of ApplicationListener interface
- Demonstrates use of ApplicationEventPublisher(Aware) instead of
ApplicationContext(Aware) for publishing custom events
- Provides a more complete narrative as to how each of the publisher,
listener, and event objects interact with one another
2010-08-10 20:59:36 +00:00
Chris Beams
720f7ecf48
Polish validation chapter program listings
...
<programlisting/> elements must contain no newlines at beginning or end.
The following is an example of what not to do:
<programlisting><![CDATA[
package com.foo.bar;
class XFoo implements Foo<X> {
}]]>
</programlisting>
This leaves newlines at the beginning and end of the programlisting
panel within the PDF. Instead, do it like this:
<programlisting><![CDATA[package com.foo.bar;
class XFoo implements Foo<X> {
}]]></programlisting>
2010-08-10 13:48:48 +00:00
Chris Beams
87caa13363
Clarify ConversionServiceFactoryBean documentation (SPR-7362)
...
- The sentence at the end of section 5.5.5 now refers to the
<mvc:annotation-driven conversion-service="..."/> example at the end
of section 5.6.
- The sentence at the end of section 5.5.5 refers to the
FormatterConversionServiceFactoryBean section that follows.
2010-08-10 13:48:44 +00:00
Chris Beams
cecee4d02b
Fix typo in validation chapter
2010-08-10 13:48:41 +00:00
Chris Beams
f45bb92917
Format validation chapter docbook source
2010-08-10 13:48:34 +00:00
Chris Beams
73ec840279
Remove dependency-check coverage from reference docs (SPR-7303)
...
- 'dependency-check' attribute of the <bean/> element was removed
in the spring-beans-3.0 XSD; documentation now reflects this change.
- 'autodetect' was removed from the enumeration of possible values
for autowire mode in the spring-beans-3.0 XSD; documentation now
reflects this change.
Note that the underlying functionality for these values has not been
removed from Spring Core. Users of Spring 3.0 who still need this
support may choose to use spring-beans-2.5.xsd in order to preserve
backward-compatibility.
2010-08-10 13:48:26 +00:00
Juergen Hoeller
771db05608
changed contentLength() from int to long
2010-08-09 15:58:07 +00:00
Juergen Hoeller
e250ff0fb4
fixed package-info
2010-08-08 23:31:48 +00:00
Juergen Hoeller
b4cd58394a
revised ResourceHttpRequestHandler (SPR-7116)
2010-08-08 23:25:49 +00:00
Juergen Hoeller
bda3d81bc9
implement file resolution for isReadable() as well
2010-08-08 23:21:41 +00:00
Juergen Hoeller
2b4e714c68
Resource refinements, etc
2010-08-08 23:00:30 +00:00
Juergen Hoeller
82730830d1
added "contentLength()" method to Resource abstraction; URL-based Resource variants introspect "last-modified" and "content-length" response headers (SPR-5465); refined "exists()" check for UrlResource (HEAD request) and ClassPathResource (URL resolution)
2010-08-08 22:53:52 +00:00
Chris Beams
f5b0edbebd
Typo fix 'a enterprise' -> 'an enterprise'
2010-08-07 22:47:32 +00:00
Juergen Hoeller
48874801a3
fixed accidental regression with respect to newlines
2010-08-07 18:02:51 +00:00
Juergen Hoeller
58b07f586d
SpEL passes full collection type context to ConversionService (SPR-7410)
2010-08-07 17:54:23 +00:00
Juergen Hoeller
7cddb1c50e
polishing
2010-08-07 16:52:16 +00:00
Juergen Hoeller
a8133a9917
ignore empty statements (SPR-7363)
2010-08-07 16:52:05 +00:00
Chris Beams
bf4b9f5ffb
Replace 'Java EE' with 'enterprise Java' as appropriate
...
Also change 'JEE' -> 'Java EE'
2010-08-07 14:47:17 +00:00
Chris Beams
0625990020
Add missing equals sign to code snippet (SPR-7339)
2010-08-07 13:57:28 +00:00
Chris Beams
e116a29795
Change 'lastName*' -> 'lastName' for error display (SPR-7339)
...
It's not clear why the asterisk would be necessary, as 'lastName'
alone should match all errors associated with that field.
2010-08-07 13:57:26 +00:00
Chris Beams
d97f899bee
Fix typos (SPR-7339)
2010-08-07 13:57:23 +00:00
Chris Beams
5ce4cada53
Fix typos in Chapter 27 (SPR-7339)
...
Note that SPR-7433 has also been created to consider removing this
chapter entirely.
2010-08-07 13:57:18 +00:00
Chris Beams
b87b23087d
Replace 'recourse' with simpler terms (SPR-7339)
2010-08-07 13:57:16 +00:00
Chris Beams
bab902e85b
Fix typo 'type form'->'type from' (SPR-7339)
2010-08-07 13:57:14 +00:00
Chris Beams
5e64f228b6
Consistently refer to 'default no-arg constructor' (SPR-7339)
2010-08-07 13:57:12 +00:00
Chris Beams
edad222e6a
Distinguish JMS remoting from JMS messaging support (SPR-7339)
2010-08-07 13:57:09 +00:00
Chris Beams
91172f4f43
Clarify ServletException is thrown when no view is resolved (SPR-7339)
2010-08-07 13:57:07 +00:00
Chris Beams
3a9fc70f91
Add @Repository use to JdbcTemplate Best Practices (SPR-7339)
2010-08-07 13:57:03 +00:00
Chris Beams
30b0e5e250
Improve explanation re DAOs and persistence resources (SPR-7339)
2010-08-07 13:57:01 +00:00
Chris Beams
55f2fe7dd5
Replace 'tropes' language (SPR-7339)
2010-08-07 13:56:58 +00:00
Chris Beams
d109879b6c
Ignore OS X .DS_Store files
2010-08-07 13:56:49 +00:00
Juergen Hoeller
4af36454ba
PortletWrappingController supports Portlet 2.0 resource and event requests as well (SPR-7430)
2010-08-07 11:47:32 +00:00
Juergen Hoeller
753cda3d81
Portlet AbstractController consistently uses session mutex if "synchronizeOnSession" is active
2010-08-07 11:46:15 +00:00
Juergen Hoeller
b054ca4a48
reintroduced createInstance() template method in deprecated form (SPR-7428)
2010-08-07 11:16:46 +00:00
Juergen Hoeller
9ef47b82a5
added missing setter method for the "valueSeparator" property (SPR-7429)
2010-08-07 11:03:49 +00:00
Jeremy Grelle
103297cf59
SPR-7116 - Added documentation for <mvc:default-servlet-handler>
2010-08-03 16:14:37 +00:00
Michael Isvy
6adf8d18df
SPR-7416
...
Typo on the name of the @Autowired annotation: @Autowire -> @Autowired
Usage of the @Value annotation: ${jdbcProperties.url} -> ${jdbc.url} (inside section "Declaring @Configuration classes as plain Spring <bean/> elements").
2010-08-03 07:14:29 +00:00
Jeremy Grelle
8e77701358
SPR-7116 - Added documentation for <mvc:resources>
2010-08-03 01:23:24 +00:00
Jeremy Grelle
c1246d506c
SPR-7116 - javadocs
2010-08-02 22:37:14 +00:00
Juergen Hoeller
af0fac9099
JaxWsPortProxyFactoryBean takes "wsdlDocumentUrl", "namespaceUri" etc defaults from @WebService (SPR-7412)
2010-08-02 21:44:14 +00:00
Jeremy Grelle
367048c5d1
SPR-7116 - Simplified (removed gzip and white-listing) and completed XML namespace config.
2010-07-31 01:09:40 +00:00
Juergen Hoeller
061af2f25f
ultimateTargetClass falls back to raw class instead of returning null
2010-07-30 15:13:38 +00:00
Juergen Hoeller
faad0f4bb1
AutodetectCapableMBeanInfoAssembler signature consistently refers to Class<?> (SPR-7405)
2010-07-29 20:29:32 +00:00
Juergen Hoeller
c3a639f07d
fixed concurrency issue in TypedStringValue, showing for nested typed Maps in prototype beans (SPR-7398); optimized building of keyed arg names in BeanDefinitionValueResolver
2010-07-29 13:49:09 +00:00
Jeremy Grelle
bd4f4d0d30
SPR-7116 further work in progress. Added white-listing by media type, checking MIME type from the ServletContext, and some additional validations.
2010-07-29 00:01:13 +00:00
Juergen Hoeller
3e0003a1a0
TaskExecutorFactoryBean (as used by task:executor) exposes full ThreadPoolTaskExecutor type (SPR-7403)
2010-07-28 17:39:03 +00:00
Jeremy Grelle
60a69bd653
SPR-7116 work in progress. ResourceHttpRequestHandler is now functionally equivalent to the Spring JS ResourceServlet, with the exception of the resource concatenation feature (which will be deferred for reconsideration in 3.1).
2010-07-27 04:45:43 +00:00
Juergen Hoeller
72da237474
FilterDefinitionFactoryBean supports Hibernate 3.6.0.beta1 as well
2010-07-27 00:04:23 +00:00
Juergen Hoeller
d3cb310962
bunch of fixes for 3.0.4
2010-07-26 21:03:55 +00:00
Juergen Hoeller
d4f73c1d3d
turned TypeDescriptor.UNKNOWN into an internal detail (SPR-7349)
2010-07-26 20:55:14 +00:00
Juergen Hoeller
3c0ce48cbd
added further test case for property type detection with generic interface
2010-07-26 20:39:27 +00:00
Juergen Hoeller
8e5c033446
avoid double ConversionFailedException nesting
2010-07-26 20:33:34 +00:00
Juergen Hoeller
f04febaf2d
fixed @PathVariable regression in combination with ConversionService usage on DataBinder
2010-07-26 20:14:57 +00:00
Juergen Hoeller
b261d336b1
HibernateJpaDialect correctly closes borrowed connections even for nested JDBC executions (SPR-7393)
2010-07-26 12:33:37 +00:00
Arjen Poutsma
8519a2d705
Fixed execute -> exchange
2010-07-26 08:00:43 +00:00
Juergen Hoeller
f90125f984
fixed WeakReferenceMonitor to never stop its monitoring thread if an entry has been registered (SPR-7373)
2010-07-23 18:18:16 +00:00
Juergen Hoeller
18af8a00f9
added license header
2010-07-23 10:09:33 +00:00
Juergen Hoeller
b7b7c067c6
GenericTypeResolver works for nested parameterized types and for generic superclasses as well (SPR-7389)
2010-07-22 15:57:55 +00:00
Arjen Poutsma
60fa490b50
Typo
2010-07-22 09:31:01 +00:00
Chris Beams
605ac0e230
Remove redundant @Aspect from CodeStyleAspect.aj
...
This has been present for quite some time, and compilation at the
command line was never a problem. However, after upgrading to
STS 2.3.3.M2, errors started appearing in the Problems tab about
'duplicate @Aspect annotations'. This message was a bit misleading
given that the underlying issue is that applying an @Aspect annotation
on an aspect declared in .aj style is redundant. Andy Clement is
investigating as well, but for now the reason for the change in behavior
remains a mystery.
2010-07-21 19:18:11 +00:00
Juergen Hoeller
7304c09021
Spring field error arguments include actually declared annotation attributes in alphabetical order (SPR-6730)
2010-07-21 14:24:10 +00:00
Chris Beams
9bcfc5480d
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'.
2010-07-21 12:04:06 +00:00
Chris Beams
022e74ea3d
Add .springBeans to .gitignore
2010-07-21 12:04:03 +00:00
Juergen Hoeller
4d5a9c41e0
allow for converting a property value based on the corresponding property name (SPR-7386)
2010-07-21 11:17:44 +00:00
Juergen Hoeller
11886f2149
polishing
2010-07-20 20:02:43 +00:00
Juergen Hoeller
1dce03af78
JSR-303 Pattern message resolvable through Spring MessageSource (despite special characters; SPR-7329)
2010-07-20 20:02:23 +00:00
David Syer
3afe8aee18
Fix hibernate-validatin version
2010-07-20 15:41:41 +00:00
David Syer
e26fc66523
SPR-7384: switch to using 1-12 for month numbers
2010-07-20 15:25:00 +00:00
Arjen Poutsma
c24ffc9175
SPR-7381 - HTTP headers returned as part of ResponseEntity(MultiValueMap<String, String> headers, HttpStatus statusCode) are ignored when using this constructor
2010-07-16 13:47:19 +00:00
Arjen Poutsma
228c0b18cb
SPR-7345 - HTTP 405 (Method not supported) returned when 404 Status (Not Found) was expected
2010-07-16 10:06:19 +00:00
Juergen Hoeller
b456bc107b
DefaultMessageListenerContainer triggers Session commit even if no message has been received (SPR-7366)
2010-07-15 19:43:56 +00:00
Juergen Hoeller
f25a04c69c
fixed JMS CachingConnectionFactory to correctly cache a producer without fixed destination as well (SPR-7148)
2010-07-15 17:05:30 +00:00
Arjen Poutsma
f8425a5f7b
SPR-7346 - @RequestHeader negation expressions (e.g. !Accept=text/plain) are not applied
2010-07-15 08:49:18 +00:00
Juergen Hoeller
dcad6c341b
BeanWrapper, EvalTag, etc
2010-07-12 21:05:30 +00:00
Juergen Hoeller
66abad2540
BeanWrapper preserves annotation information for individual array/list/map elements (SPR-7348)
2010-07-12 20:56:22 +00:00
Juergen Hoeller
e0e1cb3c24
polishing
2010-07-12 19:54:37 +00:00
Juergen Hoeller
df5e9b1211
MVC HandlerExceptionResolvers prevent caching for exception views if preventResponseCaching=true (SPR-7334)
2010-07-12 19:54:05 +00:00
Juergen Hoeller
263fabb0fc
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
2010-07-12 19:36:26 +00:00
Juergen Hoeller
d1d5e2d52a
JmsResourceHolder does not ignore IllegalStateException from locally synchronized transaction (SPR-7360)
2010-07-08 12:15:35 +00:00
Juergen Hoeller
96b9cf6ca9
DefaultJdoDialect supports JDO 3.0 query timeout facility (as supported by DataNucleus 2.1)
2010-07-08 11:47:30 +00:00
Juergen Hoeller
3918518779
polishing
2010-07-08 11:45:52 +00:00
Juergen Hoeller
7e9e8401f7
@ExceptionHandler works for inherited method and CGLIB proxies on Portlet controllers as well (SPR-7337)
2010-07-08 11:45:35 +00:00
Andy Clement
cb72fe1be2
SpEL documentation (!) on @Bean referencing, inline lists and array construction
2010-07-06 21:40:25 +00:00
Andy Clement
f5ced9be38
SPR-7335: support for expression inline lists and array construction
2010-07-06 21:00:54 +00:00
Andy Clement
88560fd910
SPR-7343: StandardEvaluationContext not threadsafe in its lazy initialization
2010-07-02 16:08:25 +00:00
Andy Clement
6de707d8e0
polish
2010-07-02 16:07:13 +00:00
Andy Clement
0c1424acb6
polish
2010-07-02 16:06:59 +00:00
Juergen Hoeller
0d405fd124
fixed typos (SPR-7332)
2010-06-29 10:22:49 +00:00
Chris Beams
45ed0ba43c
licensing header
2010-06-28 23:20:44 +00:00
Chris Beams
cd271fca43
attempted to repro SPR-7318 to no avail
2010-06-28 22:57:26 +00:00
Juergen Hoeller
3f31a1cf75
added "validationMessageSource" property to LocalValidatorFactoryBean, for Spring-based messages (SPR-7307)
2010-06-28 22:08:31 +00:00
Juergen Hoeller
4d56b89619
transaction names based on method id from most specific method (target class instead of interface; SPR-7317)
2010-06-28 19:47:13 +00:00
Juergen Hoeller
f9017ea05d
added formCheckbox to macro list (SPR-7322)
2010-06-28 18:23:56 +00:00
Juergen Hoeller
ce6194c7c3
fixed typo (SPR-7321)
2010-06-28 18:18:26 +00:00
Sam Brannen
8bd0633697
[SPR-7323] SpEL 'select last' operator now works consistently with maps.
2010-06-26 21:13:02 +00:00
Sam Brannen
db7531be60
[SPR-7323] SpEL 'select last' operator now works consistently with maps.
2010-06-26 21:10:20 +00:00
Costin Leau
94292cad1c
SPR-6819
...
+ fix EBR pom as well
2010-06-25 09:32:29 +00:00
Arjen Poutsma
8d5662ec7a
typo
2010-06-24 11:52:44 +00:00
Arjen Poutsma
c059f53823
SPR-7305 - o.s.http.client.SimpleClientHttpRequestFactory does not allow to specify a java.net.Proxy
2010-06-24 11:42:28 +00:00
Arjen Poutsma
3160ddf0e8
SPR-7314 - RestTemplate does not handle null uri template parameters
2010-06-24 09:33:06 +00:00
Arjen Poutsma
ccdd1a9efd
SPR-7316 - remove "Accept-Charset" header from response, generated by @ResponseBody
2010-06-24 09:15:50 +00:00
Juergen Hoeller
d956da2fa1
ConversionService etc
2010-06-23 21:55:30 +00:00
Juergen Hoeller
9e4140e549
growCollection fails for element type Object as well; prefer use of getElementTypeDescriptor()
2010-06-23 21:00:28 +00:00
Juergen Hoeller
942c656970
removed eager skipping of empty collection conversion, for UtilNamespaceHandlerTests to pass again
2010-06-23 20:05:00 +00:00
Juergen Hoeller
7faf4a6713
AbstractJaxWsServiceExporter supports "bindingType" bean property, overriding @BindingType; AbstractJaxWsServiceExporter supports "webServiceFeatures" bean property on JAX-WS 2.2
2010-06-23 19:55:47 +00:00
Juergen Hoeller
41d6f8e9ed
turned formatter implementations non-final
2010-06-23 19:34:29 +00:00
Juergen Hoeller
0d7ce3eac5
refined ignoreUnresolvablePlaceholders javadoc
2010-06-23 19:33:03 +00:00
Juergen Hoeller
e6b708376d
skip collection conversion early if empty
2010-06-23 19:32:29 +00:00
Juergen Hoeller
8f8fc97b79
fixed test failures with respect to null handling and PropertyTypeDescriptor usage for collection elements
2010-06-23 19:31:51 +00:00
Juergen Hoeller
27b04036a9
ConversionService is able to deal with empty collections and nested collections (fixed regression; SPR-7289, SPR-7293); ConversionService properly handles nested Resource arrays in Map values (fixed regression; SPR-7295); ConversionService does not accidentally use copy constructor for same type (SPR-7304)
2010-06-23 17:29:34 +00:00
Juergen Hoeller
7f91153bba
BeanWrapper/DataBinder's "autoGrowNestedPaths" works for Maps as well (SPR-7285)
2010-06-23 17:27:37 +00:00
Juergen Hoeller
5d6937bab1
Portlet @MVC's implicit render model will be updated at the end of the event phase
2010-06-23 17:24:28 +00:00
Juergen Hoeller
ef3b70d40a
Spring's MessageEndpointFactory classes are now JCA 1.6 compliant as well
2010-06-23 17:23:11 +00:00
Keith Donald
ab13e9b5ec
mvc resources handler initial commit
2010-06-22 21:36:45 +00:00
Keith Donald
5a1bd20864
mvc resources handler initial commit
2010-06-22 21:26:03 +00:00
Oliver Gierke
e11a40f809
SPR-7311 - Clarify usage of PropertyEditorRegistrars VS. plain configuration of customEditors property in CustomEditorConfigurer JavaDoc.
2010-06-22 12:41:59 +00:00
Oliver Gierke
868d3a4451
Fixed language attribute in code sample to activate currently missing syntax highlighting.
2010-06-22 12:41:55 +00:00
Andy Clement
569cb91573
javadoc fix
2010-06-21 22:13:49 +00:00
Sam Brannen
32167790b0
Fixed "of the Spring" text and reformatted.
2010-06-21 20:37:08 +00:00
Juergen Hoeller
20ea69e06b
prepared for 3.0.4 release
2010-06-20 19:38:29 +00:00
Juergen Hoeller
b2204ec94e
@CookieValue returns decoded cookie value in a Servlet environment (SPR-7286)
2010-06-20 19:21:00 +00:00
Juergen Hoeller
de06de11fe
fixed order
2010-06-20 19:11:51 +00:00
Juergen Hoeller
07e9f1775b
added test for invalid binding to ClassLoader
2010-06-20 19:11:36 +00:00
Juergen Hoeller
d49c067770
DispatcherServlet applies view name translation to error views as well (SPR-7298)
2010-06-20 19:06:56 +00:00
Juergen Hoeller
89fadb987c
mvc:annotation-driven reliably detects JSR-303 and JAXB2 in an OSGi environment as well (SPR-7291)
2010-06-20 18:55:21 +00:00
Juergen Hoeller
037c277351
@MVC handler methods reliably resolve MultipartRequest arguments with HiddenHttpMethodFilter (SPR-7296)
2010-06-20 18:45:42 +00:00
Juergen Hoeller
5e5a8a09cf
Jaxb2Marshaller's "marshallerProperties" Map accepts any value type (SPR-7292)
2010-06-20 18:28:07 +00:00
Juergen Hoeller
91560774a0
accept any EHCache 2.x version as well (SPR-7302)
2010-06-20 18:19:51 +00:00
Arjen Poutsma
b31c34ed7d
Upgrading version to 3.0.4
2010-06-15 14:18:29 +00:00
Juergen Hoeller
7b189d1124
avoid ConverterNotFoundException if source object is assignable to target type
2010-06-15 09:35:39 +00:00
Costin Leau
bd88bbab4a
SPR-6819
...
changed JPA dependency to provided
2010-06-15 06:33:20 +00:00
Oliver Gierke
420f8237c0
Rollback accidental commit :/.
2010-06-15 05:33:39 +00:00
Oliver Gierke
897aab9f59
Added missing imports.
...
Added additional annotation to test interface to make sure no ClassCastException appears.
2010-06-15 05:29:48 +00:00
Oliver Gierke
a383633630
Added helper methods to access method parameter annotations.
2010-06-15 05:29:45 +00:00
Juergen Hoeller
4a0c2f8879
final touches for 3.0.3
2010-06-14 23:27:15 +00:00
Juergen Hoeller
0e59fc4a15
smarter guessing of the element type (SPR-7283)
2010-06-14 23:26:44 +00:00
Juergen Hoeller
96b1dc9db4
ConversionService fully supports conversion from String to MediaType now (through 'valueOf'; SPR-7282); revised exception handling in ObjectToObjectConverter, avoiding InvocationTargetExceptions
2010-06-14 23:23:49 +00:00
Juergen Hoeller
902938e95f
smarter guessing of the element type (SPR-7283)
2010-06-14 22:58:18 +00:00
Juergen Hoeller
379bc5a8a6
properly support void.class in TypeDescriptor and GenericConversionService (SPR-7281)
2010-06-11 21:40:56 +00:00
Juergen Hoeller
cbb90236dc
polished VFS support (SPR-7197)
2010-06-11 19:54:58 +00:00
Juergen Hoeller
53ed9b282b
added warnings regarding accidental usage of @Configurable on a managed bean (SPR-7216)
2010-06-11 13:48:52 +00:00
Juergen Hoeller
3d3f8f3219
added explicit section on autodetecting aspects through component scanning (SPR-7246)
2010-06-11 13:28:14 +00:00
Juergen Hoeller
28a765f32b
fixed JExcel example code (SPR-7277)
2010-06-11 10:49:41 +00:00
Juergen Hoeller
65655b949f
set Tiles 2.2 ELAttributeEvaluator on RendererFactory as well (SPR-7251)
2010-06-10 22:13:31 +00:00
Juergen Hoeller
c8984d2e30
Portlet MVC, etc
2010-06-10 21:49:02 +00:00
Juergen Hoeller
11330baf77
DefaultListableBeanFactory checks for alias circle on registerAlias (avoiding endless loop; SPR-7274)
2010-06-10 21:45:47 +00:00
Juergen Hoeller
433b4eff8f
MailSendException includes all messages as failed messages in case of a connect failure (SPR-7245)
2010-06-10 21:06:13 +00:00
Juergen Hoeller
2f4453a99c
revised Portlet SessionStatus.setComplete() to avoid re-exposure of attributes in render phase (SPR-6126); shortened implicit model render parameter name to "implicitModel" (SPR-7149)
2010-06-09 20:09:53 +00:00
Arjen Poutsma
65885d1dfd
SPR-7263 - TypeMismatchException instead of IllegalArgumentException: argument type mismatch for wrong RequestBody
2010-06-09 10:37:17 +00:00
Arjen Poutsma
723f94fd0e
SPR-7263 - TypeMismatchException instead of IllegalArgumentException: argument type mismatch for wrong RequestBody
2010-06-09 10:35:41 +00:00
Juergen Hoeller
2a140addfd
added EmbeddedValueResolver support to FormattingConversionServiceFactoryBean (SPR-7087)
2010-06-08 20:40:54 +00:00
Juergen Hoeller
eb3a3a6de2
reuse a shared UrlPathHelper instance in order to avoid reinstantiation overhead (SPR-7269)
2010-06-08 14:14:08 +00:00
Juergen Hoeller
e12fbd3e2b
avoid EntityManager close() exception through isOpen() check (SPR-7215)
2010-06-08 11:06:02 +00:00
Juergen Hoeller
928f5423af
avoid EntityManager close() exception through isOpen() check (SPR-7215)
2010-06-08 10:21:05 +00:00
Juergen Hoeller
65622bd546
revised DefaultLifecycleProcessor's handling of circular dependencies to avoid stack overflow (SPR-7266)
2010-06-08 10:08:33 +00:00
Juergen Hoeller
882289b06e
getAllInterfacesForClass introspects parent interfaces as well (SPR-7247)
2010-06-08 00:05:31 +00:00
Juergen Hoeller
12cffc68c8
added XmlAwareFormHttpMessageConverter, taking over the 3.0.2-introduced XML multipart support (avoiding a package cycle)
2010-06-07 23:18:34 +00:00
Juergen Hoeller
c58f46f056
preparations for 3.0.3 release
2010-06-07 23:01:16 +00:00
Juergen Hoeller
632c0e7c5e
added XmlAwareFormHttpMessageConverter, taking over the 3.0.2-introduced XML multipart support (avoiding a package cycle)
2010-06-07 22:59:48 +00:00
Juergen Hoeller
392accd910
introduced EmbeddedValueResolverAware callback interface for convenient placeholder resolution
2010-06-07 22:41:21 +00:00
Juergen Hoeller
8446fd1b26
added assertions for correct postProcess invocation order
2010-06-07 22:36:19 +00:00
Juergen Hoeller
5f9b2db90b
turn NotReadablePropertyException into JSR-303 oriented IllegalStateException
2010-06-07 22:30:11 +00:00
Juergen Hoeller
4cef52a86f
polishing
2010-06-07 22:21:22 +00:00
Juergen Hoeller
de866a0ff6
registerDependentBean resolves to the canonical bean name in order to handle alias references (SPR-7254)
2010-06-07 22:15:20 +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
fe1e7f0d6c
added "expose-proxy" attribute to aop namespace (enforcing AopContext proxy exposure with CGLIB; SPR-7261)
2010-06-07 21:19:32 +00:00
Oliver Gierke
857faec1f3
SPR-7103 - Added more detailed documentation on ordering of model attribute and BindingResult.
2010-06-07 20:57:55 +00:00
Juergen Hoeller
5b420e20c7
revised TaskScheduler javadoc (SPR-7253)
2010-06-07 20:52:12 +00:00
Juergen Hoeller
78c906caaa
JSP HiddenInputTag allows for using common HTML attributes (SPR-7249)
2010-06-07 20:32:52 +00:00
Juergen Hoeller
2ef3a86c4f
polishing
2010-06-07 19:23:08 +00:00
Juergen Hoeller
53cdb9dfeb
fixed JSP ErrorsTag to avoid invalid "*.errors" id, using form object name as id prefix instead (SPR-7258)
2010-06-07 19:22:53 +00:00
Juergen Hoeller
cc238207f9
fixed registerResolvableDependency mechanism to correctly handle non-serializable factory objects (SPR-7264)
2010-06-07 18:08:44 +00:00
Juergen Hoeller
5330dc48aa
fixed typo (SPR-7265)
2010-06-07 17:31:37 +00:00
Arjen Poutsma
4764fa53f0
SPR-7259 - ResponseStatus.reason() ignored for @ExceptionHandler methods
2010-06-07 13:33:43 +00:00
Arjen Poutsma
f72c431e8a
SPR-7257 - AbstractMarshaller incorrectly expects DOMResult to already have a node
2010-06-07 13:15:07 +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
Andy Clement
5801af9ef5
SPR-7244: double indexing with a collection of different types of element
2010-05-28 20:31:16 +00:00
Arjen Poutsma
d0393ea109
SPR-7233 - ResponseEntity having body, headers and HttpStatus mixed up in responseEntity.getBody()
2010-05-28 08:07:21 +00:00
Juergen Hoeller
75c5405d6f
added test for getType against an abstract FactoryBean
2010-05-27 13:45:44 +00:00
Juergen Hoeller
3a5af35d37
CachedIntrospectionResults only caches GenericTypeAwarePropertyDescriptors if fully safe (SPR-7227)
2010-05-27 13:45:21 +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
Juergen Hoeller
2136b04b65
added limit for parsed SQL cache to NamedParameterJdbcTemplate (SPR-7237); added configurable cache limit to CachingMetadataReaderFactory
2010-05-26 19:35:06 +00:00
David Syer
b4af04ba9d
SPR-7239: fix CronTrigger
2010-05-26 17:41:54 +00:00
Juergen Hoeller
f0777d130f
improved toString()
2010-05-26 13:59:20 +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
6c6004a93b
@Transactional qualifier value matches against @Qualifier annotations on @Bean methods as well (SPR-7232)
2010-05-26 09:46:03 +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
0c6b38b0b5
DataSourceUtils lets timeout exceptions through even for setReadOnly calls (revised; SPR-7226)
2010-05-25 14:10:28 +00:00
Juergen Hoeller
8800bab8a6
DataSourceUtils lets timeout exceptions through even for setReadOnly calls (revised; SPR-7226)
2010-05-25 13:57:56 +00:00
Juergen Hoeller
ed3cb4217d
expect user name to be null (SPR-7228)
2010-05-21 15:59:00 +00:00
Juergen Hoeller
66aca1e8b3
expect user name to be null (SPR-7228)
2010-05-21 15:44:10 +00:00
Juergen Hoeller
d7f72fbbd4
DataSourceUtils lets timeout exceptions through even for setReadOnly calls (SPR-7226)
2010-05-20 20:58:02 +00:00
Juergen Hoeller
2676771255
parse default elements if they live in the default namespace or if their parent is from another namespace (SPR-7218)
2010-05-20 19:18:34 +00:00
Juergen Hoeller
3cf303cabd
prepared for 3.0.3 release
2010-05-20 17:18:40 +00:00
Juergen Hoeller
a6d9c90841
refined BeanDefinitionParserDelegate to only parse default elements if they actually live in the default namespace (SPR-7218)
2010-05-20 17:15:56 +00:00
Juergen Hoeller
0390c2b9fe
added convenient "checkRefresh" bean property to TilesConfigurer (SPR-7225)
2010-05-20 16:49:53 +00:00
Juergen Hoeller
f9736ec3f6
JodaTime 1.3 or higher required (SPR-7222)
2010-05-20 09:12:39 +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
ecf2d8c5de
fixed typos (SPR-7221)
2010-05-20 08:16:49 +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
Oliver Gierke
8a3c56b6d5
Added myself and as author.
...
Added Dave and me in the copyright holder section, too.
2010-05-19 05:52:51 +00:00
Oliver Gierke
680bfbe718
SPR-7186 Added section on generic advice parameters
2010-05-19 05:52:47 +00:00
Oliver Gierke
d600e35157
Fixed year in copyright.
2010-05-19 05:52:44 +00:00
Andy Clement
101d8381ef
SPR-7209: parsing poorly formed Elvis expressions
2010-05-18 18:44:40 +00:00
Arjen Poutsma
ae56f3a361
SPR-7211 - Extend HttpMessage interface to expose requestURL
2010-05-18 11:12:54 +00:00
Juergen Hoeller
de326e5e95
ClassUtils recognizes "void" as primitive type name as well (SPR-7212)
2010-05-18 08:49:09 +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
Arjen Poutsma
0b8140b50d
Added DeprecatedBeanWarner
2010-05-17 14:31:48 +00:00
Juergen Hoeller
a8ed98255f
ServletContextResourcePatternResolver handles "/WEB-INF/lib/*.jar!/**/context.xml" style patterns (SPR-7198)
2010-05-17 12:41:32 +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
7f24edc3d5
removed ServerSessionMessageListenerContainer coverage
2010-05-16 17:46:28 +00:00
Juergen Hoeller
ff4f749adb
fixed typos
2010-05-16 17:32:01 +00:00
Costin Leau
578e80c1cf
SPR-7197
...
+ fix template
2010-05-15 09:22:56 +00:00
Costin Leau
d9a664a588
SPR-7197
...
polish :)
2010-05-14 19:34:36 +00:00
Costin Leau
e9ecf5d716
SPR-7197
...
+ removed compile time dependency on JBoss VFS
+ added support for JBoss AS 6.0 / JBoss VFS 3.0.0 infrastructure
2010-05-14 19:29:44 +00:00
Luke Taylor
27be8434f1
Rolled-back accidental .classpath changes
2010-05-14 16:23:48 +00:00
Luke Taylor
3f885d0302
Added DomUtils.getChildElements() method. Also refactored ConfigBeanDefinitionParser.parse() to use it.
2010-05-14 16:07:39 +00:00
Luke Taylor
9f9a27a1d8
SPR-7158: Added missing space in MVC docbook file
2010-05-14 14:04:56 +00:00
Thomas Risberg
d22a6f9da9
fixed index test for parameter types (SPR-7199)
2010-05-14 12:52:59 +00:00
Juergen Hoeller
8ccd74b6c8
JSP Radiobutton/CheckboxesTag utilizes PropertyEditor/ConversionService for label rendering (SPR-7174)
2010-05-13 23:07:11 +00:00
Juergen Hoeller
ceb668ac6c
added getLastTaskInfo() method to StopWatch (SPR-7134)
2010-05-13 22:43:18 +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
ad5c7aeb31
added "idleConsumerLimit" bean property to DefaultMessageListenerContainer (SPR-7189)
2010-05-13 16:33:55 +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
Juergen Hoeller
a1e4f4f406
MVC mappings properly apply even to welcome file entries that forward to a DispatcherServlet (SPR-7143)
2010-05-12 20:15:40 +00:00
Juergen Hoeller
fa7472c057
MockHttpServletResponse supports multiple includes (SPR-7188)
2010-05-12 14:07:25 +00:00
Juergen Hoeller
bd1b559d47
MockHttpServletResponse supports multiple includes (SPR-7188)
2010-05-12 14:05:21 +00:00
Thomas Risberg
15df7b11d0
added null check for parameter (SPR-7193)
2010-05-12 13:26:03 +00:00
Juergen Hoeller
4955a73047
added support for JAX-WS 2.1 WebServiceFeatures to JaxWsPortClientInterceptor/PortProxyFactoryBean (SPR-5712)
2010-05-12 12:32:03 +00:00
Juergen Hoeller
11bb7264a2
properly return null from getPersistenceUnitInfo again (SPR-7055)
2010-05-12 08:46:55 +00:00
Juergen Hoeller
853eab8b4c
setTransactionIsolation on JDBC Connection only called when actually necessary (for PostgreSQL; SPR-7184)
2010-05-11 13:14:53 +00:00
Juergen Hoeller
15fe75b1a1
restored original jms namespace declaration
2010-05-10 21:31:13 +00:00
Mark Pollack
dad714710f
some infrastructure files for custom schema
2010-05-10 18:33:31 +00:00
Juergen Hoeller
365737b515
CachingConnectionFactory detects destination equality for WebSphere MQ as well (using toString; SPR-7148)
2010-05-07 16:53:59 +00:00
Juergen Hoeller
026523d24b
set shared variables with configured ObjectWrapper (SPR-7165)
2010-05-07 15:06:27 +00:00
Andy Clement
2b0655b459
SPR-6941
2010-05-06 00:26:13 +00:00
Andy Clement
f53621a86f
SPR-7173, SPR-7100
2010-05-05 23:52:01 +00:00
Costin Leau
42cdfbcd89
SPR-7163
...
SPR-7161
+ update Petclinic references
+ minor corrections
2010-05-05 13:42:46 +00:00
Costin Leau
9919cc976b
SPR-7158
...
+ doc typos
2010-05-04 19:15:09 +00:00
Costin Leau
a45d33a158
SPR-7159
...
+ fix several typos
2010-05-04 18:49:09 +00:00
Juergen Hoeller
c0aac20081
further 3.0.3 preparations
2010-05-03 14:47:38 +00:00
Juergen Hoeller
b0afa0c472
only retrieve transaction manager bean if necessary (SPR-7153)
2010-05-03 12:51:54 +00:00
Juergen Hoeller
17a1362ed8
BeanDefinitionVisitor/PropertyPlaceholderConfigurer finds and resolves values in arrays as well (SPR-7136)
2010-05-03 12:26:32 +00:00
Arjen Poutsma
dd8c18188f
SPR-7160 - ShallowEtagHeaderFilter not adding ETag
2010-05-03 08:58:20 +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
Arjen Poutsma
c1f18582e7
SPR-7117 - Add ability for CNVR to search view names that use file extensions
2010-04-29 11:06:31 +00:00
Arjen Poutsma
f8a05da1c9
SPR-7146 - AppEngine : bug with SimpleClientHttpResponse.getHeaders
2010-04-29 09:20:44 +00:00
Arjen Poutsma
a910ce68ff
SPR-7145 - NullPointerException in AnnotationMethodHandlerAdapter if HttpHeaders in ResponseEntity are empty
2010-04-29 08:04:36 +00:00
Costin Leau
aa216672ae
SPR-7090
...
+ fix doc typos
2010-04-28 11:05:08 +00:00
Costin Leau
4ddcd35d13
SPR-6819
...
+ made JPA dependency implicit since the aspect will always require the JPA classes during the weaving process
2010-04-28 10:41:03 +00:00
Costin Leau
02cc37cc16
+ sanitize class names (eliminate trailing .class for dot notation)
2010-04-28 10:33:54 +00:00
Costin Leau
03415960ff
+ minor doc update regarding Tomcat setup (so the Tomcat list is rendered properly)
2010-04-28 10:29:21 +00:00
Arjen Poutsma
c2707150b1
SPR-7135 - org.springframework.http.MediaType#checkParameters fails to process a Content-Type like application/xml;charset="utf-8"
2010-04-27 08:26:51 +00:00
Juergen Hoeller
8ce4037af2
TilesConfigurer's "definitionsFactoryClass" property applies common Tiles DefinitionsFactory setup (SPR-7101)
2010-04-23 10:44:29 +00:00
Juergen Hoeller
101a5cd8ff
factored out getRequestDispatcher template method (SPR-7118)
2010-04-22 21:46:56 +00:00
Juergen Hoeller
8df0403e99
further fixes for 3.0.3
2010-04-22 21:39:09 +00:00
Juergen Hoeller
07920fc3df
polishing
2010-04-22 21:37:35 +00:00
Juergen Hoeller
87e327773e
introduced AopProxyUtils.ultimateTargetClass (SPR-7074)
2010-04-22 21:36:53 +00:00
Juergen Hoeller
b28310b051
added default InputSourceEditor for SAX InputSource construction with a URL String as system id (SPR-7099)
2010-04-22 19:02:05 +00:00
Juergen Hoeller
20d3085dc8
polishing
2010-04-22 17:38:49 +00:00
Juergen Hoeller
218ee6d24c
added "boolean isRegisteredWithDestination()" method (SPR-7065)
2010-04-22 17:38:37 +00:00
Chris Beams
3f06a92b6b
getBean(Class<?>) now filters out bean definitions for which isAutowireCandidate() is false (SPR-7120)
2010-04-22 16:34:36 +00:00
Juergen Hoeller
5057c4a69c
DefaultMessageListenerContainer reacts to maxConcurrentConsumers reduction for long-lived tasks (SPR-7075)
2010-04-22 13:27:16 +00:00
Juergen Hoeller
4cab4a7545
introspect decorated definition for getType calls as well (SPR-7006)
2010-04-21 20:06:38 +00:00
Juergen Hoeller
3dbe38e418
added check for WebSphere's compliance mode (SPR-7064)
2010-04-21 18:42:59 +00:00
Michael Isvy
c5f83686d2
line 149: fixed a typo.
...
Tomcat or IBM WebSphere that has itss own --> Tomcat or IBM WebSphere that has its own
2010-04-21 11:46:26 +00:00
Juergen Hoeller
77074c6c87
property placeholders can deal with nested expressions which happen to use the same suffix (SPR-7098)
2010-04-21 09:22:20 +00:00
Arjen Poutsma
1e34e2725a
SPR-7107 - RestTemplate/UriTemplate/UriUtils improperly encoding UTF-8
2010-04-21 07:55:56 +00:00
Costin Leau
7790dedff2
+ disable some of the WAS failing tests
2010-04-21 07:38:54 +00:00
Juergen Hoeller
399b388ea5
fixed JSP SelectTag's support for rendering enum constants (SPR-7112)
2010-04-20 16:15:23 +00:00
Costin Leau
5af6d917e9
SPR-7064
...
+ fix method name
2010-04-20 13:33:16 +00:00
Costin Leau
ea9eb853fa
SPR-7064
...
+ added unit tests for WAS with complaint setting
2010-04-20 13:32:02 +00:00
Costin Leau
05360c095c
SPR-7064
...
+ unit tests containing the differences between WAS and Tomcat
2010-04-20 12:12:57 +00:00
Juergen Hoeller
1ed05eceb9
remove trailing servlet path slash on WebSphere only (SPR-7064)
2010-04-20 11:43:20 +00:00
Juergen Hoeller
69c4cdf975
remove trailing servlet path slash on WebSphere only (SPR-7064)
2010-04-20 11:15:47 +00:00
Arjen Poutsma
3f6cc3f552
Added more tests.
2010-04-20 10:03:05 +00:00
Keith Donald
e21a1c5a61
polish
2010-04-19 20:35:57 +00:00
Keith Donald
86906d1b4d
checking in performance tests
2010-04-19 20:22:01 +00:00
Keith Donald
6e13cc9eaa
thread safety for caching
2010-04-19 19:22:35 +00:00
Arjen Poutsma
b25462ddf9
SPR-7107 - RestTemplate/UriTemplate/UriUtils improperly encoding UTF-8
2010-04-19 08:28:10 +00:00
Keith Donald
e60389283d
caching optmizations and performance tests
2010-04-19 03:58:28 +00:00
Keith Donald
066b4d542b
polish
2010-04-19 01:47:34 +00:00
Keith Donald
594596f361
cache invalidation
2010-04-19 01:45:27 +00:00
Keith Donald
bf03d0d56f
converter caching
2010-04-18 21:43:00 +00:00
Juergen Hoeller
33252495cf
fixed @ExceptionHandler resolution in case of multiple matches at different inheritance levels (SPR-7085)
2010-04-18 18:48:24 +00:00
Keith Donald
a71514222a
preserving desc context for collection/map elements
2010-04-18 14:09:41 +00:00
Keith Donald
8464ac90c7
promoted char sequence first
2010-04-17 20:22:30 +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
d98da7d240
fixed failing test
2010-04-17 04:50:01 +00:00
Keith Donald
e7c99b2b62
no longer used
2010-04-17 04:43:54 +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
Andy Clement
bf1a95c771
SPR-7100: '_' supported as first char of identifier
2010-04-16 21:10:23 +00:00
Juergen Hoeller
f6b56a591c
PropertyTypeDescriptor detects underlying field with same lenient naming rules as CachedIntrospectionResults (SPR-7102)
2010-04-16 15:39:23 +00:00
Juergen Hoeller
2a19148eed
changed "javax.persistence.criteria" import to an explicit Import-Package declaration (SPR-6636)
2010-04-15 22:16:17 +00:00
Juergen Hoeller
7048f32666
fixed canRead breakage
2010-04-15 16:13:50 +00:00
Juergen Hoeller
b3b5b356d2
polishing
2010-04-15 14:57:08 +00:00
Juergen Hoeller
7355dff967
EvalTag skips implicit variable check if VariableResolver is null (for Jetty compatibility; SPR-7096)
2010-04-15 14:56:37 +00:00
David Syer
eb7f8309e2
Update version in POMs to 3.0.3
2010-04-15 10:26:14 +00:00
Juergen Hoeller
67ba18f956
polishing
2010-04-14 12:18:05 +00:00
Juergen Hoeller
12ce250c6c
fixed constructor argument caching for prototypes with multiple constructor matches (SPR-7084)
2010-04-14 12:11:56 +00:00
Arjen Poutsma
e6b0a1d4d7
SPR-7081 - Add ignoreJafMediaTypes to ContentNegotiatingViewResolver
2010-04-13 08:37:59 +00:00
Juergen Hoeller
385298b808
JSP FormTag calculates proper default form action even when using a rewrite filter on WebSphere (SPR-7067)
2010-04-12 14:59:27 +00:00
Juergen Hoeller
03120b70d0
fixed URI construction to consider fragment as well (SPR-7083)
2010-04-09 15:26:43 +00:00
Juergen Hoeller
4d2a398cbc
call setAccessible for public final field too (SPR-7078)
2010-04-08 12:15:18 +00:00
Costin Leau
353781021d
SPR-6819
...
+ changed jpa dependency scope from optional to provided
2010-04-08 07:04:40 +00:00
Costin Leau
688dd1a018
SPR-7071
...
+ fix some Eclipse classpath entries
2010-04-08 06:39:41 +00:00
Juergen Hoeller
d34d8764b0
fixed getOriginatingQueryString javadoc (SPR-7072)
2010-04-07 13:51:46 +00:00
Arjen Poutsma
28da6e0d98
SPR-7070 - MappingJacksonJsonView.renderedAttributes to be made visible to subclasses
2010-04-07 08:30:04 +00:00
Juergen Hoeller
4ee6735376
DefaultPersistenceUnitManager's getPersistenceUnitInfo method has 2.5 compatible signature again (SPR-7055)
2010-04-06 15:38:40 +00:00
Juergen Hoeller
ff6abbd369
prepared for 3.0.3 release
2010-04-06 12:00:45 +00:00
Juergen Hoeller
ecda2aee4a
revised AspectJAnnotation for consistent use of final fields (SPR-7068)
2010-04-06 11:54:50 +00:00
Juergen Hoeller
e2a9bc9c66
specific detection of CGLIB subclasses in order to properly handle CGLIB interfaces (SPR-7066)
2010-04-06 11:52:42 +00:00
Arjen Poutsma
b5b60cafb7
SPR-7063 - MappingJacksonHttpMessageConverter breaks with Jackson 1.0.x
2010-04-06 11:39:50 +00:00
Arjen Poutsma
270fab4fd0
Updated to version 3.0.3
2010-04-02 13:12:58 +00:00
Arjen Poutsma
f7f0d18e41
Removed empty mock package
2010-04-02 10:33:46 +00:00
Juergen Hoeller
386b7507c6
final preparations for 3.0.2
2010-04-02 08:54:00 +00:00
Arjen Poutsma
8a1a23af83
SPR-7060 - @ResponseStatus: The reason value is not used.
2010-04-02 08:39:26 +00:00
Chris Beams
580dc8e72a
typed map and collection conversion routines now eagerly reject non-assignable required types and avoid spurious InvocationException stack traces in debug log (SPR-7058)
2010-04-02 08:00:48 +00:00
Ramnivas Laddad
66d2c6698b
Improved fix for SPR-6850 by dealing with bounds separately from normal types
2010-04-01 23:37:08 +00:00
Juergen Hoeller
7f90e3bcf7
enable JPATraversableResolver to introspect test domain classes
2010-04-01 11:45:01 +00:00
Juergen Hoeller
bc1abe6070
prepared for 3.0.2 release
2010-04-01 11:38:14 +00:00
Juergen Hoeller
6aa0e62597
compatibility with Hibernate 3.5 final
2010-04-01 11:37:35 +00:00
Juergen Hoeller
52179d8bfb
fixed TemplateParserContext documentation (SPR-7059)
2010-04-01 10:59:58 +00:00
Juergen Hoeller
ee686188b7
OSGi version range accepts JasperReports 3.x as well; fixed missing Spring version placeholder in context-support bundle
2010-04-01 10:57:15 +00:00
Juergen Hoeller
4a98fcb3f7
fixed ambiguous reference to Entry type
2010-04-01 10:36:57 +00:00
Juergen Hoeller
29ab58c4d8
ResourcePatternUtils provides plain PathMatchingResourcePatternResolver in case of a null ResourceLoader
2010-04-01 10:35:49 +00:00
Juergen Hoeller
f6d05eaad4
reintroduced two-arg constructor (making STS warning disappear); always use a ResourcePatternResolver (through ResourcePatternUtils)
2010-04-01 10:31:15 +00:00
Arjen Poutsma
5105793228
javadoc
2010-04-01 10:14:20 +00:00
Arjen Poutsma
689e7b7af2
Introduced ResponseEntity, for access to the response status code
2010-04-01 10:08:51 +00:00
Juergen Hoeller
636e2f0f4c
final preparations for 3.0.2
2010-03-31 15:38:11 +00:00
Juergen Hoeller
461b488eee
polishing
2010-03-31 15:36:35 +00:00
Juergen Hoeller
6b93f41f3a
AbstractInterceptorDrivenBeanDefinitionDecorator preserves lazy-init flag as well
2010-03-31 15:25:35 +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
20f4e9023b
UrlPathHelper cuts off trailing servlet-path slashes for root mappings (on WebSphere; SPR-7052)
2010-03-31 14:02:27 +00:00
Juergen Hoeller
c24bafd644
polishing
2010-03-31 13:38:15 +00:00
Juergen Hoeller
21b4526063
accept UrlMap with any value type
2010-03-31 13:37:46 +00:00
Juergen Hoeller
b2ff0b1df0
refined internal HandlerMapping/HandlerAdapter bean names
2010-03-31 13:37:11 +00:00
Juergen Hoeller
87d0da2d4c
final preparations for 3.0.2
2010-03-30 23:37:29 +00:00
Juergen Hoeller
ad78b5cdb5
polishing
2010-03-30 23:35:13 +00:00
Juergen Hoeller
de84703c02
@ExceptionHandler methods consistently receive original exception as thrown by user methods
2010-03-30 23:28:21 +00:00
Juergen Hoeller
b67b5ec408
clarified applicability of @ExceptionHandler in Portlet environments (SPR-6959)
2010-03-30 21:27:40 +00:00
Juergen Hoeller
65e88449aa
DispatcherPortlet passes handler instance into HandlerExceptionResolver for action exception; DispatcherPortlet applies preHandleRender callbacks in case of action exception as well (SPR-6959)
2010-03-30 21:17:31 +00:00
Juergen Hoeller
20de98362a
use simple type name in "missing parameter" exception text
2010-03-30 21:13:12 +00:00
Juergen Hoeller
ea7ff5241d
polishing
2010-03-30 21:12:40 +00:00
Juergen Hoeller
ae877e92c7
improved getBean(Class) javadoc
2010-03-30 15:53:32 +00:00
Juergen Hoeller
16305530f2
adapted to common naming convention for internal attributes
2010-03-30 15:44:11 +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
16eb915c95
ObjectFactoryCreatingFactoryBean creates a serializable ObjectFactory reference; added ProviderCreatingFactoryBean, exposing a serializable JSR-330 Provider reference (SPR-6998)
2010-03-30 14:45:43 +00:00
Juergen Hoeller
0eabef0720
added filter ordering comments (SPR-6594)
2010-03-30 10:46:51 +00:00
Juergen Hoeller
2c9753ad25
NativeWebRequest detects native MultipartRequest even when decorated (SPR-6594)
2010-03-30 10:24:39 +00:00
Juergen Hoeller
81e81ce77c
WebRequestInterceptor exposes HttpServletResponse through NativeWebRequest (after downcast)
2010-03-30 09:21:09 +00:00
Arjen Poutsma
9cecaa769e
SPR-7047 - XML MarshallingView assumes non-null value for object to be marshalled.
2010-03-30 08:34:29 +00:00
Juergen Hoeller
8c8eca7e05
refined use of generics
2010-03-29 23:08:32 +00:00
Juergen Hoeller
fba8bcc7dc
compatibility with JasperReports 3.x in terms of resource management (SPR-7048)
2010-03-29 23:07:53 +00:00
Juergen Hoeller
fa719ad4c5
restored compatibility with Servlet 2.4 containers on all VMs (SPR-7044)
2010-03-29 13:17:49 +00:00
Arjen Poutsma
63dc53a5ea
SPR-6861 - enable overwriting of createHttpInputMessage and createHttpOutputMessage in AnnotationMethodHandlerAdapter
2010-03-29 12:25:49 +00:00
Arjen Poutsma
bc7679f9fc
Documented HttpEntity
2010-03-29 12:02:22 +00:00
Arjen Poutsma
a6d5d7c8e2
javadoc
2010-03-29 11:21:55 +00:00
Arjen Poutsma
122e4346bb
Documented HttpEntity
2010-03-29 11:12:45 +00:00
Arjen Poutsma
c18137d40a
SPR-6728 - Document Spring MVC exception -> HTTP status code mappings
2010-03-29 10:28:05 +00:00
Sam Brannen
a827ab88b1
[SPR-6523] Commented all paragraphs (i.e., for list, map, and set) related to collection merging with the util namespace until this issue has been addressed.
2010-03-27 19:10:54 +00:00
Chris Beams
351e72b6e2
incorrectly invoked factory methods now result in exceptions with more descriptive messages (SPR-5475)
2010-03-26 12:05:36 +00:00
Juergen Hoeller
cbed1c1b4b
fixed collection element conversion using ConversionService (SPR-6950)
2010-03-25 15:02:19 +00:00
Arjen Poutsma
124837e2c3
Added @Override annotations.
2010-03-25 13:02:19 +00:00
Arjen Poutsma
753a54096f
SPR-7000 - AnnotationMethodHandlerAdapter gives priority to media type order over quality when selecting a method
2010-03-25 12:29:52 +00:00
Juergen Hoeller
d50881d82b
fixed collection element conversion using ConversionService (SPR-6950)
2010-03-25 11:53:41 +00:00
Arjen Poutsma
f836601e0f
SPR-7034 - XmlBeans UnMarshalling - does not work with RequestBody annotation
2010-03-25 11:52:32 +00:00
Chris Beams
fbda55f141
corrected TypeUtils.isAssignable() failure to return true in certain valid wildcard bounding scenarios (SPR-6850)
2010-03-25 10:33:25 +00:00
Juergen Hoeller
10c358718e
avoid NPE if runtimeTest is null (SPR-7032)
2010-03-25 10:22:16 +00:00
Arjen Poutsma
6f2062fb3a
SPR-7031 - MappingJacksonJsonView should add headers for no-caching
2010-03-25 10:14:11 +00:00
Juergen Hoeller
f42d4241b4
preparations for 3.0.2
2010-03-25 00:00:27 +00:00
Juergen Hoeller
3576bc4585
preparations for 3.0.2
2010-03-24 23:53:02 +00:00
Thomas Risberg
47389a0edd
added com.springsource.javax.servlet.jsp dependency to fix problem with test (SPR-7033)
2010-03-24 23:24:16 +00:00
Juergen Hoeller
ab139dffd0
added javadoc references to semantic definition of transaction attributes (SPR-7029)
2010-03-24 23:22:52 +00:00
Thomas Risberg
a5f3d00977
added conf attribute for the struts dependency (SPR-7033)
2010-03-24 22:39: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
65b0a8fcb2
revised BeanTypeDescriptor into core PropertyTypeDescriptor; consider method annotations for return type (SPR-6979)
2010-03-24 16:27:33 +00:00
Juergen Hoeller
461c200ce6
restricted onApplicationEvent callbacks for local ApplicationContext only (SPR-6964)
2010-03-24 14:38:10 +00:00
Juergen Hoeller
a614430899
allow for null keys and null values in rendered Map (SPR-7024)
2010-03-24 14:26:00 +00:00
Juergen Hoeller
bc2440ea16
updated for JDK 1.5+
2010-03-24 13:58:45 +00:00
Juergen Hoeller
6fb49f1de7
ignore failing serialization test for the time being
2010-03-24 10:52:20 +00:00
Chris Beams
6118d67321
updated JavaDoc regarding short-circuiting the BeanPostProcessor chain when returning null from BPP methods (SPR-6926)
2010-03-24 10:52:10 +00:00
Juergen Hoeller
cbca6e1acb
prevent findEditorByConvention AccessControlException on Google App Engine (SEC-1434)
2010-03-24 10:39:40 +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
Chris Beams
051b5f4f4f
removed duplicate junit and aspectjweaver dependencies
2010-03-24 10:09:58 +00:00
Juergen Hoeller
b370969690
added public "validateDatabaseSchema" method to Hibernate LocalSessionFactoryBean (SPR-3212)
2010-03-24 09:36:01 +00:00
Chris Beams
a1f6eabbce
SPR-7002: updated .classpath and pom to reflect new dependency upgrade from Jackson 1.0.0->1.4.2
2010-03-24 09:27:54 +00:00
Chris Beams
247c46e6ea
SPR-7002: updated .classpath and pom to reflect new dependency upgrade from Jackson 1.0.0->1.4.2
2010-03-24 09:03:39 +00:00
Juergen Hoeller
915ca47cad
updated to Jackson 1.4.2
2010-03-24 09:01:55 +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
4e7752c9ba
JCA listener containers delegate to wrapped Transaction handle (for Geronimo compatibility; SPR-6991)
2010-03-23 16:27:34 +00:00
Chris Beams
c13e5f9f5b
SPR-7009, SPR-6972: backed out unintentionally committed tests
2010-03-23 15:29:35 +00:00
Chris Beams
706a09c49e
SPR-7009: TransactionInterceptor now extracts ultimate target class before evaluating @Transactional metadata to accommodate double-proxying cases
2010-03-23 12:06:30 +00:00
Chris Beams
c38c09bc35
SPR-6972: removed import
2010-03-23 12:06:24 +00:00
Chris Beams
77bb68b967
SPR-6972: failed attempt to reproduce issue
2010-03-23 12:06:16 +00:00
Arjen Poutsma
212daa1995
SPR-7002 - RestTemplate fails to convert properly for Generic Type Container with MappingJacksonHttpMessageConverter
2010-03-23 11:15:13 +00:00
Arjen Poutsma
f7ac7a395c
SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
2010-03-23 09:50:47 +00:00
Arjen Poutsma
465e84eda4
Revert: SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
2010-03-23 08:52:59 +00:00
Chris Beams
ec577f8e24
SPR-6538: context-support is no longer marked as an optional dependency within aspects and webmvc POMs
2010-03-23 08:15:57 +00:00
Juergen Hoeller
26470cc23a
polishing
2010-03-22 18:31:41 +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
Chris Beams
5e19f2959e
SPR-6888: ClassPathResource.getDescription() now fully qualifies resource path regardless of constructor used.
2010-03-22 14:54:39 +00:00
Juergen Hoeller
5dc59aaa7b
avoid Synchronization List preparations upfront if possible (SPR-6999)
2010-03-22 14:31:58 +00:00
Arjen Poutsma
c9289a4dcf
SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
2010-03-22 14:31:27 +00:00
Juergen Hoeller
19b4618fb5
avoid Synchronization List preparations upfront if possible (SPR-6999)
2010-03-22 14:23:02 +00:00
Arjen Poutsma
4c0744ee54
SPR-6978 - Dispatcher fails to invoke handler method when request method conflicts with request path
2010-03-22 14:12:32 +00:00
Arjen Poutsma
b07d02f1bf
SPR-7018 - Support for HttpEntity<?> in @MVC
2010-03-22 10:23:39 +00:00
Sam Brannen
69cbadf7e9
[SPR-6918] Now verifying support for @Value in conjunction with the Spring TestContext Framework.
2010-03-19 12:57:17 +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
Thomas Risberg
2ff2f0205d
added metadata override to NUMERIC for NUMBER columns reported as DECIMAL but with zero decimal places (SPR-6912)
2010-03-18 14:19:30 +00:00
Christian Dupuis
e22431188b
made SortedResourcesFactoryBean ResourceLoaderAware to prevent specifying the ResourceLoader in the jdbc NamespaceHandlers; prevents leaking of class loader instances in tooling
2010-03-17 17:35:27 +00:00
Juergen Hoeller
b8c0e153e3
do not insist on BeanDefinition presence for @Value resolution (for use in unit tests; SPR-6918)
2010-03-16 23:47:40 +00:00
Juergen Hoeller
ff09482653
avoid ChainedTilesRequestContextFactory warn logging on Tiles 2.2
2010-03-16 23:27:18 +00:00
Andy Clement
d932c043da
SPR-6984: auto grow collections on write through indexer
2010-03-15 18:15:48 +00:00
Juergen Hoeller
0cb7e4dcb3
made getName() public; added isNullSafe() accessor (SPR-6980)
2010-03-14 22:19:56 +00:00
Christian Dupuis
2e5f1c22f6
fixed Eclipse classpath file
2010-03-14 17:58:46 +00:00
Chris Beams
cf93e7c69e
Fixed typo in javadoc on HttpRequestHandler
2010-03-14 11:26:06 +00:00
Juergen Hoeller
9da980d325
further fixes for 3.0.2
2010-03-12 23:12:40 +00:00
Juergen Hoeller
7da13e7ad1
compatibility with OpenJPA 2.0 (support for persistence.xml versioning; SPR-6975)
2010-03-12 23:10:06 +00:00
Juergen Hoeller
a0e40a5610
avoid ChainedTilesRequestContextFactory warn logging on Tiles 2.1
2010-03-12 22:36:24 +00:00
Juergen Hoeller
ac5c75690a
fixed test failures
2010-03-12 20:55:44 +00:00
Juergen Hoeller
795a5e02cd
polishing
2010-03-12 20:45:02 +00:00
Juergen Hoeller
bb75662a7e
@Transactional qualifiers work in unit tests as well (SPR-6892)
2010-03-12 20:44:41 +00:00
Juergen Hoeller
23cb161fb3
polishing
2010-03-12 19:45:17 +00:00
Juergen Hoeller
eb1c039a6e
WebContentInterceptor does not restrict HTTP methods by default anymore (SPR-6919)
2010-03-12 19:45:05 +00:00
Juergen Hoeller
4c39f90466
made CronSequenceGenerator public (SPR-6920)
2010-03-12 19:34:45 +00:00
Juergen Hoeller
d4de1ac346
AbstractInterceptorDrivenBeanDefinitionDecorator copies autowire settings just like ScopedProxyUtils does (SPR-6974)
2010-03-12 19:18:39 +00:00
Arjen Poutsma
4880d1d461
SPR-6976 - Add debug log for HttpMessageConverter usage
2010-03-12 17:46:50 +00:00
Arjen Poutsma
5a8aa53232
SPR-6973 - SimpleUrlHandlerMapping wildcards cannot handle escaped newline characters
2010-03-12 16:56:16 +00:00
Arjen Poutsma
85b8befbd1
SPR-6970 - AbstractHttpMessageConverter canWrite logic the wrong way round??
2010-03-12 16:43:57 +00:00
Christian Dupuis
4c4f19ec94
SPR-6977: updated copyright; added method comment
2010-03-12 16:10:03 +00:00
Christian Dupuis
145dcfd0c2
SPR-6977: added support for array parameter types
2010-03-12 15:09:24 +00:00
Arjen Poutsma
991c982e5b
SPR-5866 - RestTemplate - access to Request Headers
2010-03-12 09:07:29 +00:00
Juergen Hoeller
1d6f374970
fixed typo (SPR-6967)
2010-03-11 21:30:39 +00:00
Juergen Hoeller
eee72c52da
mention actual endpoint address in connect failure exception message (SPR-6971)
2010-03-11 21:26:10 +00:00
Arjen Poutsma
b0e3081636
SPR-5866 - RestTemplate - access to Request Headers
2010-03-11 17:41:30 +00:00
Arjen Poutsma
886eb665bf
SPR-5866 - RestTemplate - access to Request Headers
2010-03-11 17:35:08 +00:00
Arjen Poutsma
70ee2ee7b1
SPR-5866 - RestTemplate - access to Request Headers
2010-03-11 17:33:54 +00:00
Arjen Poutsma
f3f535623f
Fixing the build
2010-03-11 16:54:47 +00:00
Arjen Poutsma
63076d0865
SPR-6969 - Introduce HttpEntity
2010-03-11 16:42:25 +00:00
Arjen Poutsma
fc0a6ce40c
Javadoc
2010-03-11 14:19:30 +00:00
Arjen Poutsma
88773ae7f1
a HTTP -> an HTTP
2010-03-11 12:57:52 +00:00
Andy Clement
81b10be1d0
SPR-6968: indexing via square brackets can now treat the index as an attempt at property access
2010-03-11 01:09:50 +00:00
Scott Andrews
50c5593740
SPR-6923 SpEL resolving nested property as outer object
2010-03-10 17:44:14 +00:00
Arjen Poutsma
af4b22e5b9
SPR-5904 - Merged multipart support into FormHttpMessageConverter
2010-03-10 17:31:02 +00:00
Arjen Poutsma
6e55c8cd2f
Fixing build.
2010-03-10 14:03:56 +00:00
Arjen Poutsma
def90d1016
SPR-5904 - Multipart/mixed requests using RestTemplate
2010-03-10 13:53:29 +00:00
Juergen Hoeller
f30b0a86f7
autowire="byType" ignores parameter name when choosing a primary bean, as defined (SPR-6917)
2010-03-10 13:46:31 +00:00
Juergen Hoeller
95ad7168bf
changed doGetBean signature back to protected (SPR-6957)
2010-03-10 13:38:46 +00:00
Juergen Hoeller
ccb312a974
SimpleJdbcCall's "returningResultSet" accepts any plain RowMapper now (SPR-6963)
2010-03-10 12:54:52 +00:00
Arjen Poutsma
f588ab05fa
Added readonly version of HttpHeaders
2010-03-10 10:00:03 +00:00
Andy Clement
2dd1134303
SPR-6941: part (1) correct exception handling when null cachedExecutor
2010-03-09 17:33:36 +00:00
Arjen Poutsma
0efb9d8023
SPR-5904 - Multipart/mixed requests using RestTemplate
2010-03-09 16:15:41 +00:00
Arjen Poutsma
21fd150894
SPR-6906 - Combination of ControllerClassNameHandlerMapping and @RequestMappings with file extensions results in exception
2010-03-09 10:29:01 +00:00
Arjen Poutsma
ac9a625ccc
SPR-6939 - XStreamMarshaller + JsonHierarchicalStreamDriver + JsonWriter.DROP_ROOT_MODE produce empty output
2010-03-09 09:53:51 +00:00
Andy Clement
c31213e5cb
SPR-6866: unhelpful NPE when expression badly formed
2010-03-09 00:55:03 +00:00
Ramnivas Laddad
f82cc6458b
Fixed SPR-6734 by resticting record/replay logic to only entity methods that originated in a test method
2010-03-08 20:42:22 +00:00
David Syer
8d7df01d73
RESOLVED - issue SPR-6955, SPR-6901 added DisposableBean to TaskExecutorFactoryBean
2010-03-08 12:13:30 +00:00
Arjen Poutsma
5303ab68aa
Atom Feed HttpMessageConverter
2010-03-05 14:32:36 +00:00
Arjen Poutsma
c91ff130d5
SPR-6946 - RestTemplate should not encode fragments (#'s)
2010-03-05 11:40:52 +00:00
Juergen Hoeller
54d0346084
do not call isCurrentlyInCreation with null argument (in order to meet newly enforced assertions within the BeanFactory)
2010-03-05 10:49:24 +00:00
Juergen Hoeller
4f926c82bf
added bean name assertions
2010-03-04 22:36:35 +00:00
Juergen Hoeller
b07b146965
fixed @Configurable issue with null bean name (SPR-6947)
2010-03-04 22:33:59 +00:00
Juergen Hoeller
cfbc5224e3
fixed exception propagation issue with Hessian 4.0 (SPR-6899)
2010-03-04 22:22:47 +00:00
Arjen Poutsma
a0c41a0e03
SPR-6906 - Combination of ControllerClassNameHandlerMapping and @RequestMappings with file extensions results in exception
2010-03-04 15:17:09 +00:00
Juergen Hoeller
8fe5151f84
some further 3.0.2 entries
2010-03-04 13:58:23 +00:00
Juergen Hoeller
77f8b070cd
polishing
2010-03-04 13:58:02 +00:00
Arjen Poutsma
4f4f3fab7d
SPR-6934 - AnnotationMethodHandlerAdapter should take into account request accept header ordering
2010-03-04 13:54:24 +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
Juergen Hoeller
3e98b26b77
fixed typo (SPR-6936)
2010-03-04 11:17:12 +00:00
Juergen Hoeller
0aee6e9f5b
use target factory's ClassLoader in case of a raw EntityManagerFactory (SPR-6733)
2010-03-04 11:13:28 +00:00
Arjen Poutsma
eddc5b8898
SPR-6935 - @ResponseBody with method that return void throws "Could not resolve view exception".
2010-03-04 10:51:27 +00:00
Juergen Hoeller
57993d871e
WebApplicationObjectSupport's initServletContext will be called only once in any scenario (SPR-6914)
2010-03-03 16:26:47 +00:00
Arjen Poutsma
3c8a47bd06
SPR-6877 - AnnotationMethodHandlerAdapter.handleResponseBody prioritizes messageConverter over MediaType
2010-03-03 11:14:30 +00:00
Arjen Poutsma
7f8c91a52d
SPR-6902 - @ResponseBody does not work with @ExceptionHandler
2010-03-03 10:33:58 +00:00
Arjen Poutsma
62f9f477f5
SPR-6877 - AnnotationMethodHandlerAdapter.handleResponseBody prioritizes messageConverter over MediaType
2010-03-03 10:18:59 +00:00
Arjen Poutsma
894875ce8d
SPR-6907 - JibxMarshaller - provide access to jibx's writeDocType
2010-03-02 12:49:31 +00:00
Arjen Poutsma
9d1c3fa9ac
SPR-6907 - JibxMarshaller - provide access to jibx's writeDocType
2010-03-02 11:56:22 +00:00
Arjen Poutsma
d207c2294d
Fixed wrong encoding of URI templates with @-signs (SPR-6874)
2010-03-02 11:30:36 +00:00
Arjen Poutsma
e653a9cd03
javadoc
2010-03-02 10:53:15 +00:00
Arjen Poutsma
5675046cb7
SPR-6876 - RequestMethod does not appear to factor into @RequestMapping uniqueness in some cases
2010-03-02 09:52:43 +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
Juergen Hoeller
4bda92fd8a
newArg(Type)PreparedStatementSetter declares PreparedStatementSetter interface as return type (SPR-6897)
2010-02-24 14:32:22 +00:00
Sam Brannen
97adfdd398
Removed misleading comments regarding javax.inject.Qualifier.
2010-02-23 23:07:44 +00:00
Sam Brannen
a5b5df450e
[SPR-6879] @DirtiesContext is now an @Inherited annotation.
2010-02-23 17:44:59 +00:00
Sam Brannen
80b8fb8b83
[SPR-6879] @DirtiesContext is now an @Inherited annotation.
2010-02-23 17:43:00 +00:00
Juergen Hoeller
ef227c5d01
HibernateJpaDialect borrows JDBC Connection on demand (supporting aggressive release; SPR-6895)
2010-02-23 16:13:04 +00:00
Michael Isvy
9e5b129ba5
SPR-6885
...
updates based on Chris Beams' comments.
2010-02-23 15:46:52 +00:00
Juergen Hoeller
12b30843c5
widened AbstractFactoryBean's "getObjectType" signature to return any Class as well (SPR-6872)
2010-02-23 13:00:12 +00:00
Juergen Hoeller
09f02bc620
use WeakHashMap for DataSource-keyed cache (SPR-6887)
2010-02-23 10:47:51 +00:00
Chris Beams
3d2611484a
adding .gitignore
2010-02-22 23:52:56 +00:00
Michael Isvy
6af91773ee
SPR-6885
...
Improved documentation for JavaConfig's use of CGLIB for all @Configuration annotated classes
2010-02-22 13:50:41 +00:00
Juergen Hoeller
9e71af86f8
polishing
2010-02-22 11:49:19 +00:00
Juergen Hoeller
60ff93e5ac
avoid invalid id characters in ErrorsTag as well (SPR-6862)
2010-02-22 11:48:08 +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
fd4b9cf6a3
SPR-6881: remove extra dependency
2010-02-21 17:51:48 +00:00
David Syer
1a351db6e0
Update Central POMs to 3.0.2
2010-02-21 15:32:18 +00:00
Chris Beams
5b537e9604
minor typo fixes
2010-02-21 02:13:41 +00:00
Juergen Hoeller
6c69f47acf
regressions
2010-02-20 16:29:07 +00:00
Juergen Hoeller
44ef114981
fixed @RequestParam(required=false) regression for @InitBinder methods (SPR-6878)
2010-02-20 16:14:14 +00:00
Juergen Hoeller
67b342d923
fixed indexed property regression (SPR-6871)
2010-02-20 15:53:09 +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
Arjen Poutsma
fe59d4a787
setting things up for 3.0.2
2010-02-18 17:42:14 +00:00
Juergen Hoeller
e65610555e
final preparations for 3.0.1 release
2010-02-18 11:29:28 +00:00
Arjen Poutsma
68b4c7df6e
SPR-6752 - RestTemplate throws IllegalArgumentException when HTTP status is not in the HttpStatus enum
2010-02-18 11:15:17 +00:00
Juergen Hoeller
103ac0359d
DefaultRequestToViewNameTranslator strips trailing slashes as well (SPR-6830)
2010-02-18 10:47:22 +00:00
Ben Hale
fff4c77dbe
Updated spring-build to 2.5.0
2010-02-18 10:26:35 +00:00
Juergen Hoeller
b960bd579d
preparations for 3.0.1 release
2010-02-18 00:07:02 +00:00
Juergen Hoeller
5f7f37f1c1
polishing
2010-02-18 00:06:16 +00:00
Juergen Hoeller
572abbcff9
do not ever consider Object as a candidate type for autowiring by type (SPR-6600)
2010-02-18 00:04:08 +00:00
Juergen Hoeller
e74b33242b
fixed regression: method-level patterns without type-level pattern do not need to start with a slash (SPR-6598)
2010-02-17 23:26:06 +00:00
Juergen Hoeller
b54a099f49
marked spring-tx as a required dependency (SPR-6737)
2010-02-17 22:50:01 +00:00
Juergen Hoeller
c39b529c93
added vararg variants of query methods to JdbcTemplate (as known from SimpleJdbcTemplate; SPR-6858)
2010-02-17 22:19:49 +00:00
Juergen Hoeller
54acebd086
UriTemplate properly quotes variable values (SPR-6854)
2010-02-17 21:58:56 +00:00
Juergen Hoeller
36940c5fc8
only activate EL support if JSP ExpressionFactory actually available (SPR-6852)
2010-02-17 21:54:21 +00:00
Michael Isvy
6aa05994ae
SPR-6855
...
Documentation on Spring-Struts 1 integration needs to be updated
2010-02-17 15:59:52 +00:00
Juergen Hoeller
d3560706df
final preparations for 3.0.1 release
2010-02-16 18:21:50 +00:00
Juergen Hoeller
64f0200675
polishing
2010-02-16 18:21:25 +00:00
Juergen Hoeller
64fc4c23ea
revised EvalTag implementation
2010-02-16 18:16:47 +00:00
Juergen Hoeller
4ae1709313
relaxed generic Class declaration in HttpMessageConverter's canRead/canWrite/read signatures (SPR-6848)
2010-02-16 17:46:16 +00:00
Arjen Poutsma
19cdd558d3
Improved Jaxb2Marshaller.supports()
2010-02-16 14:25:55 +00:00
Arjen Poutsma
58f63f6142
Improved Jaxb2Marshaller.supports()
2010-02-16 14:13:18 +00:00
Juergen Hoeller
60ac239091
BeanDefinitionReader and ClassPath/FileSystemXmlApplicationContext use varargs where possible (SPR-6849)
2010-02-16 11:59:29 +00:00
Michael Isvy
c0f4d9c893
fixed SPR-6846
2010-02-15 22:45:26 +00:00
Juergen Hoeller
ccc7d0f53f
fixed interaction with ControllerClassNameHandlerMapping (as reported by Rossen)
2010-02-15 18:27:30 +00:00
Juergen Hoeller
87eb3f970e
store a static WebApplicationContext reference if the Spring jars get deployed in the same web application as the ContextLoader (SPR-5652)
2010-02-15 18:02:19 +00:00
Juergen Hoeller
db2d323d96
store a static WebApplicationContext reference if the Spring jars get deployed in the same web application as the ContextLoader (SPR-5652)
2010-02-15 17:58:52 +00:00
Juergen Hoeller
0598eafb84
polishing
2010-02-15 17:37:57 +00:00
Juergen Hoeller
b5e826976c
fixed interaction with ControllerClassNameHandlerMapping (as reported by Rossen)
2010-02-15 17:37:44 +00:00
Juergen Hoeller
5e1065838b
fixed isProxyFactoryBeanDefinition check (SPR-6842)
2010-02-15 17:04:13 +00:00
Juergen Hoeller
a6af91f7b2
avoid rendering invalid ids (SPR-6840)
2010-02-15 13:45:47 +00:00
Costin Leau
e8a4ddd3e0
+ fix test by disabling autowiring
2010-02-15 13:23:47 +00:00
Juergen Hoeller
18bd4a8337
improved "no matching factory method found" exception message (SPR-6837)
2010-02-15 13:01:46 +00:00
Juergen Hoeller
97059f4e18
@RequestParam/RequestHeader/CookieValue's defaultValue allows for declaring empty String (SPR-6791)
2010-02-15 12:10:55 +00:00
Juergen Hoeller
83231997c0
final preparations for 3.0.1 release
2010-02-15 00:50:21 +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
b3b4c7aaad
fixed checkboxes comparison for multi-list (SPR-6505)
2010-02-15 00:17:50 +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
d9112d071b
fixed error message
2010-02-14 23:59:53 +00:00
Keith Donald
f4631b1cb6
Spring eval docs
2010-02-12 20:43:55 +00:00
Keith Donald
d075b82372
Spring eval docs
2010-02-12 20:43:40 +00:00
Keith Donald
62eb6cb473
Spring eval docs
2010-02-12 20:42:35 +00:00
Keith Donald
9c35130fdc
Added spring:eval note
2010-02-12 20:03:23 +00:00
Keith Donald
b825e398ae
added jsp.* import to catch jsp.el
2010-02-12 17:54:13 +00:00
Keith Donald
6390e897b8
eval tag tidying
2010-02-12 17:42:41 +00:00
Andy Clement
117b138233
SPR-6745: metadata (annotations) attached to property accessors allowing formatting of values during conversion
2010-02-12 01:50:52 +00:00
Keith Donald
0f65a0f239
bug
2010-02-12 00:43:27 +00:00
Keith Donald
e1a0625a15
conversion service lookup in request
2010-02-12 00:33:27 +00:00
Juergen Hoeller
315c16de5f
relaxed test conditions
2010-02-12 00:02:32 +00:00
Juergen Hoeller
5f781e6266
generified PagedListHolded (SPR-6825)
2010-02-11 23:24:45 +00:00
Juergen Hoeller
09998b2434
relaxed test conditions
2010-02-11 23:15:15 +00:00
Keith Donald
daa45dd424
updated template.mf to depend on spring-expression
2010-02-11 23:10:18 +00:00
Keith Donald
c927e7dc7c
added spring expression dependency to maven pom
2010-02-11 23:01:58 +00:00
Keith Donald
f23b55dc13
spring:eval tag initial commit
2010-02-11 22:53:49 +00:00
Juergen Hoeller
16aa399040
optional EL support (only when Tiles EL module present); got rid of tiles-servlet-wildcard dependency (implemented wildcard support locally)
2010-02-11 17:03:37 +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
Costin Leau
caaa45c9ef
+ fixed internal caching for LocalVariableTableParameterNameDiscoverer
2010-02-11 11:35:39 +00:00
Costin Leau
6389097ac1
+ improved javadoc
2010-02-11 10:38:59 +00:00
Costin Leau
c9975504c6
+ improved LocalVariableTableParameterNameDiscoverer discovery and memory usage
...
+ added extra tests
2010-02-11 10:38:33 +00:00
Juergen Hoeller
06cd013b31
Tiles 2.2 etc
2010-02-10 23:25:43 +00:00
Juergen Hoeller
99c5a70ce3
added optional JPA dependency to spring-aspects POM (SPR-6819)
2010-02-10 23:02:31 +00:00
Juergen Hoeller
d87a947ef2
reverted to fixed definition path
2010-02-10 21:45:13 +00:00
Sam Brannen
69cb15f27f
[SPR-6821] Removed lingering reference to StandardScopes.
2010-02-10 21:35:26 +00:00
Juergen Hoeller
ef024db318
polishing
2010-02-10 21:29:13 +00:00
Juergen Hoeller
bef30a838c
support for Tiles 2.2.1 (preserving compatibility with Tiles 2.1.2 and above; SPR-6097)
2010-02-10 21:26:42 +00:00
Keith Donald
bfd61d6303
mvc namespace docs
2010-02-10 20:16:38 +00:00
Keith Donald
61958b6b3b
comments about tutorials
2010-02-10 15:38:54 +00:00
Juergen Hoeller
03e9e4568f
avoid double closing in case of shutdown hook (SPR-6793)
2010-02-10 13:49:51 +00:00
Ben Hale
63f574e741
Updated spring-build to see new maven targets
2010-02-10 11:38:33 +00:00
Juergen Hoeller
b670b19429
setAutoGrowNestedPaths throws an IllegalStateException if being called too late (SPR-6718)
2010-02-09 15:54:48 +00:00
Juergen Hoeller
aafe8ef9be
added "lenientFallback" flag to AbstractRoutingDataSource (SPR-6809)
2010-02-09 15:39:54 +00:00
Juergen Hoeller
f0bb45ae28
included qualifier value in debug log for each transaction (SPR-6811)
2010-02-09 14:57:17 +00:00
Juergen Hoeller
3322368106
fixed TilesConfigurer's init-param handling; added simple bootstrap test for Tiles (SPR-6606)
2010-02-09 12:32:32 +00:00
Costin Leau
7aec01bbac
SPR-5379
...
+ added clarifications to section 3.4.5.2 Excluding a bean from autowiring
2010-02-09 12:23:12 +00:00
Costin Leau
a9386f5c79
SPR-5246
...
+ clarify order of annotation and XML injection
2010-02-09 11:17:07 +00:00
Juergen Hoeller
c5c38c6664
non-matching @Transactional qualifier value will lead to IllegalStateException (SPR-6810)
2010-02-08 18:32:38 +00:00
Juergen Hoeller
6c0d934b92
do not try to convert read-only Collections/Maps (SPR-6808)
2010-02-08 12:29:21 +00:00
Sam Brannen
81649d5c3b
Removed unused import.
2010-02-07 15:57:57 +00:00
Juergen Hoeller
b25dc7cc55
compatibility with Hibernate 3.5 beta 4 (SPR-6804, SPR-6805)
2010-02-06 16:15:12 +00:00
Juergen Hoeller
3833444778
plenty of new entries for 3.0.1
2010-02-04 20:32:36 +00:00
Juergen Hoeller
d7b79dc9a9
fixed lookup log message (SPR-6746)
2010-02-04 18:40:39 +00:00
Juergen Hoeller
4778c4b750
support for Hessian 4.0.x (SPR-6041)
2010-02-04 18:36:21 +00:00
Costin Leau
0590184557
+ downgraded slf4j to 1.5.6 to solve IllegalAcessError with Hibernate 3.3
2010-02-04 17:10:31 +00:00
Juergen Hoeller
5279a07673
@SessionAttributes works when used on an annotated controller interface with AOP proxying (SPR-6797)
2010-02-04 16:53:44 +00:00
Juergen Hoeller
59360f4f65
added warning about pointing to a custom transaction manager bean (SPR-5174)
2010-02-04 16:47:57 +00:00
Juergen Hoeller
5f166f6799
added warning about annotated controller interfaces (SPR-6655)
2010-02-04 15:52:15 +00:00
Juergen Hoeller
56e119e822
@SessionAttributes works when used on an annotated controller interface with AOP proxying (SPR-6797)
2010-02-04 15:39:58 +00:00
Arjen Poutsma
7832381dd2
SPR-6788: fixed compareTo() consistency with equals
2010-02-04 14:19:11 +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
Arjen Poutsma
2047b9b6b3
SPR-6788: fixed compareTo() consistency with equals
2010-02-04 11:08:09 +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
Arjen Poutsma
44626054ce
SPR-6786: added more checks for quality factors & charsets
2010-02-04 09:47:52 +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
4d897e7ab5
lenient evaluation of boolean 'true' attribute expressions in JSP form tag library (SPR-6790)
2010-02-03 21:56:17 +00:00
Juergen Hoeller
41ecbc6814
fixed WebSphereUowTransactionManager regression: correctly roll back in case of exception (SPR-6695)
2010-02-03 19:41:14 +00:00
Arjen Poutsma
6e21c17253
SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
2010-02-03 14:02:44 +00:00
Arjen Poutsma
0135a9451a
SPR-6786 - The method org.springframework.http.MediaType.parseMediaType does not always throw IllegalArgumentException as the documentantion claims
2010-02-03 13:52:39 +00:00
Arjen Poutsma
0c6b99e489
SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
2010-02-03 11:38:31 +00:00
Juergen Hoeller
a44ec9f4f7
fixed JmsTemplate example (SPR-6789)
2010-02-03 00:29:49 +00:00
Andy Clement
5ca1f11ce2
SPR-6763: more methods on StandardEvaluationContext supporting add/remove from resolver/accessor strategies
2010-02-02 21:38:33 +00:00
Andy Clement
66f708392e
SPR-6764: filtering strategy for SpEL method invocation
2010-02-02 19:38:44 +00:00
Arjen Poutsma
4343714c6d
SPR-6788 - The class MediaType has a natural ordering that is inconsistent with equals, which is generally recommended or should otherwise at least be indicated in the javadoc
2010-02-02 13:14:19 +00:00
Andy Clement
644f3065b6
SPR-6610: don't wrap runtime exceptions thrown from methods invoked via an expression
2010-02-01 20:13:08 +00:00
Keith Donald
45f79530db
with dependencies distribution added
2010-02-01 19:59:05 +00:00
Andy Clement
4c35697c79
SPR-6760: method called twice if exits via exception in a 'normal' case
2010-02-01 19:53:34 +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
abdc35c893
component-scan's scoped-proxy attribute applies to scope-annotated singleton beans as well (SPR-6683)
2010-02-01 16:51:46 +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
Arjen Poutsma
208c2d9c8b
SPR-6785 - Improve message error when the MarshallingView modelKey attribute is not valid
2010-02-01 15:25:29 +00:00
Juergen Hoeller
1dbb64580c
throw NotSerializableException if no serialization id is available
2010-02-01 14:52:43 +00:00
Juergen Hoeller
5f5e7c3262
polishing
2010-02-01 14:51:54 +00:00
Juergen Hoeller
db71811c5a
SharedEntityManagerCreator's EntityManager proxies are fully serializable now (SPR-6684)
2010-02-01 14:48:18 +00:00
Juergen Hoeller
df54c8613d
TransactionInterceptor is able to serialize "transactionManagerBeanName" as well (SPR-6680)
2010-02-01 14:45:11 +00:00
Juergen Hoeller
2d525901ff
proxies with AspectJ pointcuts are fully serializable within a BeanFactory now (SPR-6681)
2010-02-01 14:43:35 +00:00
Costin Leau
dcf0244566
SPR-3786
...
+ add note on annotation-based injection vs XML
+ provide a nicer introduction to annotation based chapter
2010-02-01 14:36:38 +00:00
Juergen Hoeller
83c018a0b4
call processConfigBeanDefinitions lazily if postProcessBeanDefinitionRegistry hasn't been called
2010-01-31 16:10:11 +00:00
Juergen Hoeller
b53ccb3807
widened FactoryBean's "getObjectType" signature to return any Class<?> (SPR-6692)
2010-01-31 16:01:14 +00:00
Juergen Hoeller
8ab9da4461
introduced BeanDefinitionRegistryPostProcessor extension to BeanFactoryPostProcessor; @Configuration classes support definition of BeanFactoryPostProcessor beans as well (SPR-6455, SPR-6611)
2010-01-31 15:58:27 +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
Juergen Hoeller
2d6ea2f4fe
fixed JPA multi-unit setup example (SPR-6781)
2010-01-31 12:59:59 +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
Costin Leau
ee2b1cde82
SPR-6775
...
+ remove class definitions for sticking around (by forcing eager metadata initialization)
+ improve cache size by eliminating the numbers of method metadata objects created
+ improve lookup access on method metadata
2010-01-29 14:27:49 +00:00
Costin Leau
39f81760f8
SPR-6775
...
+ increase size to 256
2010-01-28 16:03:07 +00:00
Costin Leau
b32c4cfb8a
SPR-6775
...
+ replace the vanilla hashmap with a quick-and-dirty, JDK based, fixed LRU cache
2010-01-28 15:51:20 +00:00
Arjen Poutsma
f2fdf9fa6b
SPR-6771 - HttpMessageConverter should accept Class<? extends T> on can read
2010-01-28 09:23:34 +00:00
Chris Beams
1cda8cb6fa
Updated documentation to point out that AnnotationConfigWebApplicationContext can accept both fully-qualified class names as well as base packages to the contextConfigLocation init-param.
2010-01-28 03:42:42 +00:00
Juergen Hoeller
d13f0c8052
fixed namespace example (SPR-6766)
2010-01-27 13:48:57 +00:00
Arjen Poutsma
0a4a09a09d
SPR-6759 - Jetty 7 doesn't like ShallowEtagHeaderFilter
2010-01-27 13:02:02 +00:00
Costin Leau
1bbe93e535
SPR-3709
...
+ improved example to work with multi-nested declarations
+ used JDK 5 syntax
+ added documentation code into trunk (including unit test) for easier future reference
2010-01-27 12:25:04 +00:00
Arjen Poutsma
b1e2a2ec3c
SPR-6577 - MarshallingView auto detect model with Jaxb2Marshaller chooses the wrong object
2010-01-27 10:52:08 +00:00
Costin Leau
71d7b22d5e
SPR-3771
...
+ added table summarizing the Aware interfaces in Spring 3
2010-01-26 17:02:21 +00:00
Costin Leau
1152d51c6f
SPR-4493
...
+ added some clarifications
+ improved the document structure
2010-01-26 14:31:44 +00:00
Arjen Poutsma
ead5df4546
SPR-6649 - Request mapping incorrectly receiving all dispatches for a controller
2010-01-26 10:47:36 +00:00
Costin Leau
2f840b1097
SPR-6646
...
+ replaced handleRequest() with setSynchronizeOnSession() which is final
2010-01-26 10:07:40 +00:00
Juergen Hoeller
0968e9fbd0
LinkedMultiValueMap should implement Serializable (SPR-6765)
2010-01-25 20:04:01 +00:00
Costin Leau
bc37c50972
SPR-4493
...
SPR-6756
2010-01-25 17:03:05 +00:00
Ben Hale
0c2a710787
Upgrade to spring-build
2010-01-23 17:27:51 +00:00
Ben Hale
f614150421
Fixed up POM bug
2010-01-23 12:01:54 +00:00
Ben Hale
2afb58e74e
Upgraded spring-build
2010-01-23 09:28:22 +00:00
Ben Hale
693a83ba88
Upgraded spring-build
2010-01-23 00:15:00 +00:00
Ben Hale
1305d6ac11
Separated out unit test projects
2010-01-23 00:03:05 +00:00
Ben Hale
265b82013d
Updates to allow nightly snapshots of maven central-compatible artifacts
2010-01-22 20:16:25 +00:00
Juergen Hoeller
8c791b529b
fixed instrumentation jar names (SPR-6753)
2010-01-22 19:23:11 +00:00
Juergen Hoeller
0f75210408
changed exception wording from "recursive" to "cyclic" (SPR-6755)
2010-01-22 19:10:19 +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
3339356a55
fixed typo (SPR-6748)
2010-01-22 10:02:12 +00:00
Thomas Risberg
b7f143ae58
updated reference documentation with references to "spring-agent.jar" to use "org.springframework.instrument-{version}.jar" (SPR-6597)
2010-01-21 16:49:05 +00:00
Juergen Hoeller
bcfef8a4e1
support for JPA 2.0 TypedQuery interface and query vendor interfaces (SPR-6733)
2010-01-21 12:04:26 +00:00
Juergen Hoeller
975dcd7bbf
fixed inaccuracies (SPR-6723, SPR-6725)
2010-01-20 22:19:13 +00:00
Juergen Hoeller
0a6f2348b8
WebRequest is a resolvable dependency in Servlet/Portlet web application contexts (SPR-6727)
2010-01-20 22:09:13 +00:00
Juergen Hoeller
1b6f3f1f22
Query call chaining works with shared EntityManager proxy outside of transaction as well (SPR-6726)
2010-01-20 15:39:17 +00:00
Juergen Hoeller
081d81e5b0
fixed getPropertyTypeDescriptor to work for nested indexed property as well as for array property (SPR-6710)
2010-01-20 15:31:20 +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
a70bb40b3d
updated LocalValidatorFactoryBean documentation (SPR-6609)
2010-01-20 11:13:50 +00:00
Juergen Hoeller
8bf2e2459e
added default PropertyEditor for java.util.UUID (SPR-6696)
2010-01-20 09:32:03 +00:00
Juergen Hoeller
45448463b8
collect exceptions across all constructors that have been tried (SPR-6720)
2010-01-20 09:29:50 +00:00
Juergen Hoeller
1896efd048
removed references to Perl5RegexpMethodPointcut (SPR-6721)
2010-01-20 09:24:31 +00:00
Juergen Hoeller
6ffb750171
updated CustomEditorConfigurer example to recommended style (SPR-5971)
2010-01-20 09:20:30 +00:00
Juergen Hoeller
d9ed1e953e
fixed documentation bugs
2010-01-19 14:40:50 +00:00
Juergen Hoeller
9e642e75b2
removed Commons Collection reference from javadoc (SPR-6716)
2010-01-19 14:20:54 +00:00
Juergen Hoeller
a6769d60c0
fixed support for JPA 2.0 persistence schema (SPR-6711)
2010-01-18 19:26:52 +00:00
Juergen Hoeller
7a792f6c23
fixed support for JPA 2.0 persistence schema (SPR-6711)
2010-01-18 19:17:52 +00:00
Juergen Hoeller
95c695eb2f
fixed BeanPostProcessor invocation for null bean (SPR-6700)
2010-01-18 18:51:28 +00:00
Juergen Hoeller
7097a9e965
proceed in case of resolution failure for a single resource entry in the list
2010-01-18 18:27:30 +00:00
Juergen Hoeller
c31f245dc9
added test for system placeholders in PropertyPlaceholerConfigurer's Resource array property
2010-01-18 15:52:52 +00:00
Juergen Hoeller
88ff3c9a23
only try to restore attribute if the value differs (ignoring Portlet spec attributes; SPR-6712)
2010-01-18 15:51:00 +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
Arjen Poutsma
1cd0a9750d
SPR-6467 - Allow ContentNegotiatingViewResolver to be strict ant return a 406 if no view found
2010-01-15 16:37:58 +00:00
Arjen Poutsma
0cb9271b95
Test for SPR-6690
2010-01-15 11:17:27 +00:00
Arjen Poutsma
8d5fc2bf91
SPR-6686 - @ResponseBody throws HttpMediaTypeNotAcceptableException if client accepts "*/*"
2010-01-15 10:23:59 +00:00
Juergen Hoeller
f7952fccc8
fixed sample code (SPR-6687)
2010-01-14 17:01:40 +00:00
Juergen Hoeller
23b0f82173
fixed link to blog entry (SPR-6691)
2010-01-14 16:55:33 +00:00
Juergen Hoeller
0cc0a9bc2b
added "concurrency" property to Default/SimpleMessageListenerContainer and JmsActivationSpecConfig, supporting placeholders for the jms namespace "concurrency" attribute now (SPR-6232)
2010-01-14 11:17:15 +00:00
Juergen Hoeller
998aa14981
fixed resolveRootDirResource regression (SPR-6592)
2010-01-13 18:24:16 +00:00
David Syer
b077d5ba97
SPR-6678: fix poms for 3.0.1
2010-01-13 11:07:08 +00:00
David Syer
e4d8651aa9
RESOLVED - issue SPR-6668: Small Connection leak in DataSourceInitializer
...
http://jira.springframework.org/browse/SPR-6668
2010-01-13 11:00:41 +00:00
Juergen Hoeller
e195c39d3c
unresolvable placeholders will be ignored by default for Resource array properties as well (SPR-6654)
2010-01-12 19:50:18 +00:00
Juergen Hoeller
7cbd9e1d93
fixed type assignability check for wildcarded Map (SPR-6676)
2010-01-12 15:31:30 +00:00
Juergen Hoeller
1ff99f2569
MBeanClientInterceptor understands CompositeData/TabularData arrays (SPR-6548)
2010-01-12 15:10:07 +00:00
Juergen Hoeller
2e032889ef
added "alwaysTranslate" flag (SPR-6630)
2010-01-12 13:26:22 +00:00
Juergen Hoeller
fd3a39dc98
MimeMessageHelper encodes from, to, cc, bcc String addresses with given encoding as well (SPR-6530)
2010-01-12 13:19:50 +00:00
Juergen Hoeller
38cf127c8b
mark spring-aop as required for spring-context (SPR-6578)
2010-01-12 12:49:16 +00:00
Juergen Hoeller
0ba8375546
full support for JPA 2.0 PersistenceUnitInfo SPI (for compatibility with Hibernate 3.5 beta 3; SPR-6408)
2010-01-12 12:39:56 +00:00
Juergen Hoeller
5c41e2c6e1
made comment prefix configurable (SPR-6667)
2010-01-12 10:15:04 +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
Arjen Poutsma
bb3c8e5c87
SPR-6640 - PathVariable does not work properly after updated to 3.0 GA
2010-01-11 11:27:43 +00:00
Juergen Hoeller
a70f525d4e
fixed toString handling (SPR-5582)
2010-01-09 18:39:03 +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
2ef40d2422
fixed typos
2010-01-08 15:47:20 +00:00
Juergen Hoeller
b9a3d3f392
polishing
2010-01-07 23:29:13 +00:00
Juergen Hoeller
38f5c7a1d5
added assertion
2010-01-07 23:28:25 +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
4a90266f8e
expose offending value through public "getValue()" method (SPR-6629)
2010-01-07 13:27:40 +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
8bda9cd2bf
fixed StandardEvaluationContext code sample
2010-01-07 11:59:31 +00:00
Juergen Hoeller
a939c4ea4e
polishing
2010-01-06 22:24:30 +00:00
Juergen Hoeller
c270d347cf
DefaultLifecycleProcessor etc
2010-01-06 22:23:55 +00:00
Juergen Hoeller
2ba1dd47b0
allow for identifying a specific JBossWorkManagerMBean (SPR-6648)
2010-01-06 22:15:58 +00:00
Juergen Hoeller
431fd5bb22
allow for overriding specific DefaultLifecycleProcessor hooks (SPR-6617)
2010-01-06 19:48:48 +00:00
Juergen Hoeller
819f4be08e
added lock timeout error code for H2 (SPR-6612)
2010-01-06 19:35:15 +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
a7a03356f4
revised JSP-based views to never fail when trying to setting forward attributes (SPR-6623)
2010-01-05 14:03:27 +00:00
Juergen Hoeller
4931e8b229
fixed "inner vs. nested class" terminology (SPR-6608)
2010-01-05 14:01:30 +00:00
Juergen Hoeller
b594192425
refactored to pass along original ServletContext (for WebLogic and Resin JSP compatibility; SPR-6606)
2010-01-05 13:27:53 +00:00
Juergen Hoeller
e5d4ffc166
reset retriever cache when adding/removing listeners (SPR-6624)
2010-01-05 13:09:03 +00:00
Juergen Hoeller
f7b0a2c0a2
fixed JavaConfig sample code (SPR-6637, SPR-6638)
2010-01-05 12:58:41 +00:00
Juergen Hoeller
9ca6003533
fixed scoped proxy unwrapping (SPR-6625)
2010-01-05 12:52:28 +00:00
Juergen Hoeller
e328083d11
updated manifest for new JPA 2.0 criteria package (SPR-6636)
2010-01-05 12:50:22 +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
Juergen Hoeller
75d0f9b95c
initial preparations for 3.0.1 release
2009-12-28 18:58:07 +00:00
Juergen Hoeller
0fb4af6b59
generic ApplicationListener event type gets detected through proxy as well
2009-12-28 18:57:15 +00:00
Chris Beams
d2f28ccf41
SJC-273 resolved minor @Configuration documentation error
2009-12-28 07:00:49 +00:00
Juergen Hoeller
bddb38d787
fixed getBeansWithAnnotation to ignore beans with non-determinable type (SPR-6579)
2009-12-23 19:11:19 +00:00
Christian Dupuis
f3274624b3
STS-723: fixed ViewControllerBeanDefinitionParser to not rely on instance state for handler mapping and handler adapter bean names
2009-12-22 16:52:33 +00:00
Arjen Poutsma
4160fc85f2
Updated build for 3.0.1
2009-12-17 10:53:15 +00:00
Chris Beams
f6228b91e5
Resolved SPR-6187: touch-ups based on mfisher's feedback.
2009-12-16 08:44:54 +00:00
Juergen Hoeller
f208988563
polishing
2009-12-15 21:37:59 +00:00
Juergen Hoeller
fd1bfeefe4
avoid hard-coded AOP dependency for ScopedObject check
2009-12-15 21:20:51 +00:00
Juergen Hoeller
198911e0d2
removed hard ScopedProxyUtils dependency in ConfigurationClassEnhancer
2009-12-15 20:45:45 +00:00
Juergen Hoeller
776f0490f9
prepared for 3.0 GA release
2009-12-15 20:21:07 +00:00
Juergen Hoeller
2ec39f5000
TypedValue.NULL_TYPED_VALUE -> TypedValue.NULL
2009-12-15 20:19:24 +00:00
Juergen Hoeller
dc99df2972
use TypeDescriptor.forObject instead of constructor; enforce use of TypeDescriptor.valueOf through making the constructor private
2009-12-15 20:18:31 +00:00
Keith Donald
7fb19d658b
primitive desc caching
2009-12-15 19:55:10 +00:00
Keith Donald
2fef141a00
TypeDescriptor.valueOf usage in favor of constants; TypedValue usage simplification
2009-12-15 19:41:52 +00:00
Keith Donald
f37d7082a2
moved public methods up
2009-12-15 18:51:28 +00:00
Keith Donald
39325958bc
moved static factory methods up
2009-12-15 18:50:17 +00:00
Juergen Hoeller
d6f4f4c7b4
BeanValidationPostProcessor runs in before-initialization phase by default (SPR-6565)
2009-12-15 18:04:44 +00:00
Keith Donald
943c46b07d
value of optmization
2009-12-15 17:52:52 +00:00
Keith Donald
8ff801648d
object to String not supported test case
2009-12-15 16:07:43 +00:00
Keith Donald
5c7c56a6b3
ObjectToObject converter now only matches public methods/constructors; private class method invocations also supported now through a makeAccessible call
2009-12-15 15:53:11 +00:00
Keith Donald
b64945988b
general polishing
2009-12-15 15:09:25 +00:00
Keith Donald
bb93f5967f
removed generic warning
2009-12-15 14:00:27 +00:00
Juergen Hoeller
1c33206042
catch ConversionException and ConvertedNotFoundException in BeanWrapper's convertIfNecessary as well, in order to support constructor resolution (SPR-6563)
2009-12-15 12:53:36 +00:00
Juergen Hoeller
2153b2fbd5
introspect element type in case of incoming Collection/Map in order to not accidentally say canConvert=true (SPR-6564)
2009-12-15 12:36:22 +00:00
Juergen Hoeller
5f9f69958e
refined PropertyEditor exposure for the ConversionService case
2009-12-15 11:34:19 +00:00
Chris Beams
0057481a0a
SPR-6187: Document @Configuration classes and AnnotationConfig[Web]ApplicationContext
2009-12-15 11:04:25 +00:00
Juergen Hoeller
f52986ea15
introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING
2009-12-15 10:21:16 +00:00
Juergen Hoeller
1b0c6b848d
only try to convert to String if canConvert returns true
2009-12-15 09:59:11 +00:00
Chris Beams
2764024351
JavaDoc on AnnotationConfigApplicationContext#scan(String...)
2009-12-15 07:24:12 +00:00
Juergen Hoeller
83a7cb9177
SpelExpressionParser etc
2009-12-15 02:05:34 +00:00
Juergen Hoeller
086aeb0aac
rearranged spel subpackages in order to avoid package dependency cycle; introduced SpelParserConfiguration object to replace bit flags
2009-12-15 02:03:16 +00:00
Juergen Hoeller
b5b1962530
removed MultipartRequest mixin interface again (avoiding a package dependency cycle)
2009-12-15 00:51:32 +00:00
Keith Donald
5b87793521
html multi-page doc now only generates files per chapter consistent with Spring 2.5
2009-12-15 00:18:46 +00:00
Juergen Hoeller
18b5cd101e
ConverterRegistry etc
2009-12-14 21:42:54 +00:00
Juergen Hoeller
86475593bb
added special handling of String array values for required fields, e.g. for WebRequestDataBinder (SPR-6552)
2009-12-14 21:42:17 +00:00
Juergen Hoeller
26b3443299
added unit test for setRequiredFields with @MVC (SPR-6552)
2009-12-14 21:32:26 +00:00
Juergen Hoeller
6622c71935
revised default converters; renamed ConverterRegistry's addGenericConverter to addConverter
2009-12-14 21:14:26 +00:00
Costin Leau
c2e1f113f5
SPR-5764
...
+ improved JBoss LTW by using the proper class loader for loading reflection types
2009-12-14 18:56:16 +00:00
Chris Beams
77a70f256c
further tweaks on logging section
2009-12-14 17:27:27 +00:00
Chris Beams
56dcd9296a
minor usage/grammar improvements in logging section
2009-12-14 17:09:52 +00:00
Costin Leau
cb4bc58dbd
+ improved javadoc (no code changes)
2009-12-14 15:52:01 +00:00
Costin Leau
b963906bd1
SPR-6447
...
+ moved petclinic to spring-samples (https://src.springframework.org/svn/spring-samples/petclinic )
2009-12-14 15:51:33 +00:00
Thomas Risberg
d016a1cc2f
updated version for 3.0 GA release
2009-12-14 12:58:09 +00:00
David Syer
c8d65f078b
SPR-6558: correct maven repository locations
2009-12-14 07:17:36 +00:00
Keith Donald
d7a8d499be
long style formatting tests
2009-12-14 02:02:09 +00:00
Juergen Hoeller
2f539cded9
prepared for 3.0 GA release
2009-12-14 00:58:44 +00:00
Juergen Hoeller
6635a5d96d
@ManagedBean coverage in javadoc
2009-12-14 00:58:04 +00:00
Juergen Hoeller
cb9619f62b
support @ManagedBean for name retrieval in AnnotationBeanNameGenerator as well; support @ManagedBean and @Named for direct use only
2009-12-14 00:53:56 +00:00
Juergen Hoeller
59d9f73f46
ignore client proxies for export
2009-12-13 23:50:48 +00:00
Juergen Hoeller
3cfac84bff
updated javadoc (SPR-6546)
2009-12-13 23:45:16 +00:00
Juergen Hoeller
1b8a67d5d7
reimplemented bean lookup to avoid getBeanNamesForType(Object.class)
2009-12-13 23:30:07 +00:00
Juergen Hoeller
dc6c1dc727
MBeanExporter detects FactoryBean-exported resources independent from declaration order
2009-12-13 23:28:07 +00:00
Juergen Hoeller
db6e807421
removed getBeansWithAnnotation(Class,boolean,boolean) method from ListableBeanFactory; reimplemented getBeansWithAnnotation(Class) to avoid use of getBeanNamesForType(Object.class)
2009-12-13 23:24:43 +00:00
Juergen Hoeller
d7a1630381
removed getBeansWithAnnotation(Class,boolean,boolean) method from ListableBeanFactory; reimplemented getBeansWithAnnotation(Class) to avoid use of getBeanNamesForType(Object.class)
2009-12-13 23:23:34 +00:00
Juergen Hoeller
929665d284
fixed accidental breakage in bean class resolution with tempClassLoader
2009-12-13 16:07:03 +00:00
Juergen Hoeller
9d2f7934de
fixed non-Lifecycle-FactoryBean with exposed Lifecycle object case (SPR-6545)
2009-12-13 15:47:52 +00:00
Juergen Hoeller
35354ad520
polishing
2009-12-13 15:30:52 +00:00
Juergen Hoeller
42c7be4590
SmartLifecycle retrieval fix, properly taking FactoryBeans into account (SPR-6545)
2009-12-13 15:28:34 +00:00
Juergen Hoeller
a0c4d2c13c
detect Lifecycle-implementing FactoryBeans as well (SPR-6545)
2009-12-13 14:08:08 +00:00
Juergen Hoeller
5f9b444319
bean properties of type enum array/collection can be populated with comma-separated String (SPR-6547)
2009-12-13 13:21:30 +00:00
Juergen Hoeller
b497f6ccad
fixed JSR-303 Validator delegation code (SPR-6557)
2009-12-13 12:31:34 +00:00
David Syer
63996cbb06
SPR-6541: move spring repository placeholder into a profile (build) and the other repositories into another profile (legacy-build)
2009-12-13 10:03:59 +00:00
Christian Dupuis
7c6c1c3ad8
some minor adjustments to the mvc namespace to make it work in the tools
2009-12-11 23:03:49 +00:00
Keith Donald
14b69148f9
file names based on section id now; updated sec ids to match conventions
2009-12-11 19:01:25 +00:00
Keith Donald
b673087a87
polish
2009-12-11 18:26:12 +00:00
Keith Donald
541cf2de80
removed unused method; polishing
2009-12-11 18:24:44 +00:00
Keith Donald
753d0b0c91
removed generic warning
2009-12-11 18:19:43 +00:00
Keith Donald
027bd24260
polish
2009-12-11 18:16:38 +00:00
Keith Donald
4f4732df45
javadoc polishing
2009-12-11 17:56:41 +00:00
Keith Donald
8d4b9c0810
javadoc
2009-12-11 16:55:33 +00:00
Keith Donald
5ce16e01eb
broke out collection to string converter logic from collection to object
2009-12-11 14:45:21 +00:00
David Syer
143ce57e76
SPR-6541: consolidate repositories into a profile (-P build)
2009-12-11 06:23:46 +00:00
Juergen Hoeller
e1d5c7310a
updated JPA 2.0 support to the final spec (supporting the "getCriteriaBuilder" method)
2009-12-10 21:42:48 +00:00
Juergen Hoeller
859f422cbf
component scanning autodetects the new EE 6 "javax.annotation.ManagedBean" stereotype
2009-12-10 20:40:02 +00:00
Juergen Hoeller
77f07da49d
autodetect GlassFish V3 as well (SPR-6152)
2009-12-10 18:42:59 +00:00
Keith Donald
96de14ef2e
SPR-6537 initial commit; more extensive testing to follow
2009-12-10 17:36:58 +00:00
Keith Donald
dd1bbde891
removed generic warning
2009-12-10 16:21:30 +00:00
Arjen Poutsma
04e08d6952
Updated docbook files to use Docbook 4.5 DTDs, so it uses the locally cached versions
2009-12-10 15:22:55 +00:00
Arjen Poutsma
4c76b48fd6
Updated Multipart documentation
2009-12-10 12:37:28 +00:00
Juergen Hoeller
dc1b500430
preparations for 3.0 GA
2009-12-09 22:44:11 +00:00
Juergen Hoeller
1e1964a060
reintroduced createBinder template method in Servlet/Portlet AnnotationMethodHandlerAdapter (SPR-6534)
2009-12-09 22:29:43 +00:00
Juergen Hoeller
2ce5090d00
polishing
2009-12-09 17:54:02 +00:00
Juergen Hoeller
8334a03e03
added "converters" property to FormattingConversionServiceFactoryBean as well
2009-12-09 17:53:25 +00:00
Juergen Hoeller
bc6b707a22
revised GenericConverter's "getConvertibleTypes()" signature to return Set of ConvertiblePair
2009-12-09 17:52:19 +00:00
Juergen Hoeller
010e72c35a
GenericConversionService prefers matches against inherited interfaces over superclasses (SPR-6297)
2009-12-09 16:16:55 +00:00
Juergen Hoeller
ad29a2376d
PropertyPlaceholderConfigurer is compatible with Spring 2.5 extensions such as GigaSpaces again (SPR-6514)
2009-12-09 16:09:12 +00:00
Juergen Hoeller
3ffc2ba48d
revised section on inheriting annotations from interfaces
2009-12-09 15:32:58 +00:00
Juergen Hoeller
31144591b0
revised javadoc (SPR-5720)
2009-12-09 15:24:47 +00:00
Juergen Hoeller
8b0a4921d9
removed unnecessary logging
2009-12-09 14:59:44 +00:00
Costin Leau
74022861c5
SPR-6492
...
+ upgrade to JRuby 1.4.0
2009-12-09 10:57:54 +00:00
Chris Beams
481dd31006
Renamed tests for AnnotationConfig[Web]ApplicationContext; added tests for scan() and register() methods.
2009-12-08 15:29:27 +00:00
Juergen Hoeller
736c7212db
SmartLifecycle beans will get auto-started on demand even if marked as lazy-init (SPR-6515)
2009-12-08 13:27:15 +00:00
Juergen Hoeller
93b17042a2
SmartLifecycle beans will get auto-started on demand even if marked as lazy-init (SPR-6515)
2009-12-08 12:17:01 +00:00
Juergen Hoeller
e65ba99e23
use varargs for scan method as well
2009-12-08 10:17:27 +00:00
Costin Leau
95ddeff17d
SPR-6492
...
EBR-551
+ seems I spoke too soon - JRuby is still not in the EBR
2009-12-08 09:19:32 +00:00
Costin Leau
085aecd51f
SPR-6492
...
+ upgrade to JRuby 1.4.0
2009-12-08 08:57:48 +00:00
Juergen Hoeller
c4d8f6b3eb
extended registerAfterCompletionWithExistingTransaction's exception handling to detect JBoss RollbackException as well (SPR-6450)
2009-12-07 20:53:21 +00:00
Juergen Hoeller
5fdc29f152
polishing
2009-12-07 20:33:33 +00:00
Juergen Hoeller
1d005e12af
fail when @DateTimeFormat is being used without JodaTime on the classpath (SPR-6508)
2009-12-07 20:33:03 +00:00
Juergen Hoeller
61f23710eb
relaxed warning about ambiguous setters to only be logged in case of actual write access (SPR-6399)
2009-12-07 18:57:32 +00:00
Arjen Poutsma
27e0642543
SPR-6502 - Broken @RequestMapping inheritance
2009-12-07 16:44:51 +00:00
Juergen Hoeller
09a55c8ede
import works with relative resources in other classpath roots again (SPR-6493)
2009-12-07 15:16:36 +00:00
Arjen Poutsma
231c8337d2
SPR-6529 - DateTimeFormatAnnotationFormatterFactory calls String.isEmpty(), which exists only in JDK1.6+
2009-12-07 14:41:30 +00:00
Juergen Hoeller
93abbd0ef7
newTransactionStatus reverted to its original role, just without preparing synchronization (SPR-6521)
2009-12-07 14:27:27 +00:00
Arjen Poutsma
8678652f3e
SPR-6528 - PathVariables of type double
2009-12-07 14:25:21 +00:00
Arjen Poutsma
976f920db2
SPR-6482 - @RequestMapping handled incorrectly when value contains "." (dot) character
2009-12-07 13:59:07 +00:00
Juergen Hoeller
f36e8252c8
polishing
2009-12-07 09:43:16 +00:00
Juergen Hoeller
f72769a621
added order property to AnnotationMethodHandlerAdapter (SPR-6516)
2009-12-07 09:42:44 +00:00
Juergen Hoeller
abf6a7ee18
made parse and decorate non-final (SPR-6526)
2009-12-07 09:16:00 +00:00
Andy Clement
33a7bbb485
SPR-6525: avoid need to use #root for method parameter references
2009-12-06 23:21:07 +00:00
Sam Brannen
e01c2eafa1
Fixed copy-n-paste errors.
2009-12-04 23:31:28 +00:00
David Syer
f4763a801f
SPR-5327: Duh: broken build - invalid XML.
2009-12-04 21:39:32 +00:00
Sam Brannen
11d2921767
Removed reference to the British musical and multimedia group "the the". ;)
2009-12-04 20:43:45 +00:00
Juergen Hoeller
0ea5b5ef0b
opened up RestTemplate method signatures to Map<String, ?> and Object array instead of enforcing String values
2009-12-04 18:29:53 +00:00
David Syer
ad3fa505f3
SPR-5327: tweak the build.xml for core to try and make commons-logging optional in generated poms
2009-12-04 18:26:25 +00:00
David Syer
1202f67cc8
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
2009-12-04 18:25:31 +00:00
Juergen Hoeller
12892eef98
fixed String size constraint example (SPR-6517)
2009-12-04 17:29:06 +00:00
Juergen Hoeller
0d413c7e36
reverted schema update implementation for Hibernate 3.2 compatibility (SPR-6509)
2009-12-04 17:19:47 +00:00
David Syer
604a9f077d
SPR-5327: update artifact ids
2009-12-04 16:15:20 +00:00
David Syer
fae06dc156
SPR-6092: clarify jar name in test docs
2009-12-04 15:21:51 +00:00
David Syer
5013664ec5
BATCH-5327: Correct name of SLF4J
2009-12-04 14:00:58 +00:00
David Syer
ebd15e3287
SPR-6092: add section on Ivy
2009-12-04 12:47:47 +00:00
David Syer
0400ccc11f
SPR-5327: tidy up aopalliance dependency
2009-12-04 11:33:56 +00:00
David Syer
d1dfa873b7
SPR-6092: add section on EBR/Maven and tidy up references to jar files throughout
2009-12-04 11:21:04 +00:00
Juergen Hoeller
95fb766d10
initial preparations for 3.0 GA
2009-12-04 00:58:38 +00:00
Juergen Hoeller
e161c93f8d
full support for formatters on array/collection elements (SPR-6504)
2009-12-04 00:34:40 +00:00
Juergen Hoeller
388edd7aaa
lenient property name casing, beyond standard JavaBeans conventions (SPR-6491)
2009-12-03 23:34:37 +00:00
Juergen Hoeller
0a36596468
do not register default formatters for Date and Calendar (requiring explicit use of @DateTimeFormat there)
2009-12-03 23:26:08 +00:00
Juergen Hoeller
73a75220a8
do not register a default NumberFormatter (SPR-6490)
2009-12-03 22:41:44 +00:00
Juergen Hoeller
ac3a1d9132
added since tag
2009-12-03 16:30:51 +00:00
Juergen Hoeller
fcfe94139c
updated required Hibernate version
2009-12-03 13:18:39 +00:00
Juergen Hoeller
b16e502c16
fixed typo
2009-12-03 13:17:08 +00:00
Juergen Hoeller
0b577dd558
fixed dependencies
2009-12-03 13:15:33 +00:00
Sam Brannen
4093935275
JavaDoc polishing
2009-12-02 09:34:12 +00:00
David Syer
277d153604
Add trailing / to repository URLs on S3 (improves build time for clients)
2009-12-02 08:26:13 +00:00
Juergen Hoeller
cb9e877e4a
preparations for RC3 release
2009-12-01 02:58:38 +00:00
Juergen Hoeller
132bb8a672
polishing
2009-12-01 02:45:12 +00:00
Juergen Hoeller
126f83959b
preparations for RC3 release
2009-12-01 02:26:23 +00:00
Juergen Hoeller
69124f9392
JSR-303 SpringValidatorAdapter uses field name as first argument (analogous to bind errors; SPR-6407)
2009-12-01 02:25:48 +00:00
Juergen Hoeller
5165465821
initialize synchronization after begin while instantiating TransactionStatus as early as possible (SPR-6409)
2009-12-01 01:32:51 +00:00
Thomas Risberg
d67e655c17
updated version for RC3 release
2009-11-30 17:55:24 +00:00
Thomas Risberg
fdfbf2a01b
changed jar name to use RELEASE instead of RC1
2009-11-30 17:54:50 +00:00
Keith Donald
b7b52fffea
renamed path element to mapping per code review
2009-11-30 16:32:59 +00:00
Costin Leau
7a1c4d23b4
SPR-6469
...
+ renamed spring-agent.jar to org.springframework.instrument.jar through-out the documentation.
2009-11-30 13:18:16 +00:00
David Syer
b7e37ddb07
SPR-5327: tidy up Maven dependencies (keeping commons-logging)
2009-11-30 12:57:11 +00:00
David Syer
1a06b6a0ab
SPR-5327: tidy up Maven dependencies (keeping commons-logging)
2009-11-30 12:56:25 +00:00
Arjen Poutsma
81d7f5bc5a
SPR-6375 - Register sensible default HTTP Message Converters based on what is available in the classpath
2009-11-30 12:21:13 +00:00
Juergen Hoeller
666700f7f3
constructor arguments can be overridden by name in child bean definitions (SPR-6463)
2009-11-30 12:17:28 +00:00
Arjen Poutsma
cc32399878
SPR-6470 - Make filterModel() in MappingJacksonJsonView more lenient
2009-11-30 10:29:27 +00:00
Arjen Poutsma
541aae12ef
SPR-5802 - NullPointerException when using @CookieValue annotation
2009-11-30 10:16:14 +00:00
Arjen Poutsma
73b54f4efe
SPR-6466 - ContentNegotiatingViewResolver can not handle View implementations returning null as content type
2009-11-30 10:10:27 +00:00
Keith Donald
c8d6360855
ability to have multiple path patterns per mapped interceptor definition
2009-11-30 07:51:29 +00:00
Keith Donald
d4a21f1db8
added back mvc:interceptors element and added interceptor matching based on path pattern; needs review
2009-11-30 02:55:02 +00:00
Keith Donald
0be6473316
javadoc polishing--named Parser String arg name to 'text'
2009-11-28 21:16:01 +00:00
Keith Donald
fbfa67e8a6
ordered sorting
2009-11-28 07:20:20 +00:00
Mark Fisher
f6a2e58d95
SPR-6341 Added documentation for Lifecycle, SmartLifecycle, and LifecycleProcessor in the 'beans' chapter after init/destroy callbacks are covered.
2009-11-28 00:02:30 +00:00
Mark Fisher
a64f0f1ebe
Added tests for the DefaultLifecycleProcessor and a custom "lifecycleProcessor" bean.
2009-11-27 20:38:43 +00:00
Mark Fisher
1ac7b95c1d
SPR-6460 Added "phase" attribute to the JMS namespace's "jca-listener-container" element.
2009-11-27 18:16:08 +00:00
Mark Fisher
dc24944cd9
SPR-6460 Added "phase" attribute to the JMS "listener-container" element.
2009-11-27 17:42:30 +00:00
Mark Fisher
b444220564
SPR-5507 When determining start/stop order, the DefaultLifecycleProcessor checks for the new Phased interface rather than SmartLifecycle now.
2009-11-27 17:30:35 +00:00
Keith Donald
57f0a7d94b
added detectInterceptors compatibility check
2009-11-27 17:04:48 +00:00
Mark Fisher
5e1c00ceb2
SPR-5507 Factored out the Phased interface.
2009-11-27 15:59:12 +00:00
Arjen Poutsma
e664779f3e
Do not require bound classes or context for Jaxb2Marshaller.
...
RestTemplate now registers JAXB2 and Jackson by default, if found on the classpath.
2009-11-27 14:34:27 +00:00
Arjen Poutsma
01ce468ff2
SPR-6386 - MappingJacksonHttpMessageConverter ignores supported media types property
2009-11-27 14:14:13 +00:00
Arjen Poutsma
dc0613f487
HttpMessageConverter.supports() is split into canRead/canWrite.
...
HttpMessageConverter.write() now allows for a specific content type.
2009-11-27 13:23:15 +00:00
Keith Donald
18c63f70c4
polishing
2009-11-27 04:31:09 +00:00
Juergen Hoeller
f751acea12
fixed tests
2009-11-27 02:15:48 +00:00
Juergen Hoeller
7e5106d1ac
FormatterRegistry extends ConverterRegistry now; FormattingConversionService extends GenericConversionService
2009-11-27 01:58:31 +00:00
Juergen Hoeller
a1916ca765
polishing
2009-11-27 01:49:18 +00:00
Juergen Hoeller
d6197b743d
clarified double role of id property
2009-11-27 01:45:53 +00:00
Juergen Hoeller
d54cf0ca37
polishing
2009-11-27 01:43:34 +00:00
Juergen Hoeller
ac490114ae
propagate full TypeDescriptor for field-level conversion as well
2009-11-27 01:43:14 +00:00
Juergen Hoeller
973fb6ce40
updated to Groovy 1.6.5
2009-11-27 01:37:43 +00:00
Juergen Hoeller
9400fb3e78
replaced custom asList method with Arrays.asList(ObjectUtils.toObjectArray(...))
2009-11-27 01:35:45 +00:00
Juergen Hoeller
cc0bd730eb
polishing
2009-11-27 01:34:56 +00:00
Juergen Hoeller
bc06ffb6b8
removed obsolete System.err logging for the property-not-found case
2009-11-27 01:28:54 +00:00
Juergen Hoeller
5e68cc5a58
removed inappropriate assertion that prevents static method calls
2009-11-27 01:03:48 +00:00
Juergen Hoeller
34d4e3cbe0
refined Hibernate version range
2009-11-26 16:09:48 +00:00
Costin Leau
fbee526a40
+ add oxm.xsd namespace alias
2009-11-26 15:44:29 +00:00
Sam Brannen
218051464d
Fixed typo
2009-11-26 12:12:14 +00:00
Juergen Hoeller
1cf0c12674
restored Hibernate 3.2 compatibility (SPR-6387)
2009-11-26 11:08:22 +00:00
Arjen Poutsma
8546e64b03
Support for media subtype suffixes in include(), i.e. application/*+xml includes application/soap+xml
2009-11-26 10:41:22 +00:00
Keith Donald
8259d45583
removed now obsolete test case
2009-11-26 08:39:46 +00:00
Keith Donald
de1d548725
SPR-6413 and SPR-6414 first cut: needs review, particularly compatibility note in AbstractHandlerMapping
2009-11-26 08:27:42 +00:00
Juergen Hoeller
6c89946d42
leniently fall back to the passed-in method if a bridge method couldn't be resolved (for Groovy 1.7 compatibility)
2009-11-25 16:55:13 +00:00
David Syer
e10161182b
RESOLVED - issue SPR-6444: TaskExecutor not initialized in task namespace
2009-11-25 13:18:31 +00:00
Arjen Poutsma
89975c8b79
SPR-6378 - RC2: Issue with RequestMethod.GET differs from M2
2009-11-25 11:12:03 +00:00
Juergen Hoeller
5d2d2bcf39
fixed supported HSQL/H2 version range (SPR-6403)
2009-11-25 00:36:50 +00:00
Juergen Hoeller
bb97ca32c4
added configurable "autoGrowNestedPaths" property to DataBinder (SPR-6430)
2009-11-25 00:17:29 +00:00
Juergen Hoeller
9a2f9ccde4
added static newInstance method to BeanPropertyRowMapper (SPR-6433); aligned ParameterizedBeanPropertyRowMapper factory methods
2009-11-25 00:08:57 +00:00
Juergen Hoeller
fce0361052
made getTransactionAwareConnectionProxy protected (SPR-6438)
2009-11-24 23:58:03 +00:00
Juergen Hoeller
da2ddca34c
fixed LifecycleProcessor lookup in a Spring Dynamic Modules context (SPR-6356); moved ConversionService lookup to prepareBeanFactory
2009-11-24 23:46:44 +00:00
Mark Fisher
021663b12f
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.
2009-11-24 16:07:23 +00:00
Costin Leau
1f5568fa81
SPR-4724
...
+ most of the problems were already fixed (probably by Mark). These are just minor adjustments
2009-11-24 14:32:18 +00:00
Arjen Poutsma
ef50082cad
SPR-6280 - PathVariable resolution does not work properly
2009-11-24 13:53:37 +00:00
Costin Leau
be60908d6d
+ update pom
...
SPR-6333
SPR-6394
2009-11-24 09:33:39 +00:00
David Syer
35517b62a0
Change groovy dependency to 1.6.3 to match ANT/ivy
2009-11-24 09:24:03 +00:00
Andy Clement
2e9683aa7c
SPR-6347: guidance on when to use getValue(rootObject) vs getValue(evaluationContext)
2009-11-23 21:50:49 +00:00
Keith Donald
12e8f31b38
removed entity to string id conversion routine as it is not required
2009-11-23 00:07:39 +00:00
Keith Donald
064b6db666
Added entity conveter null checking; updated from string converters to simply test str.length() as pre-processing check
2009-11-22 15:40:41 +00:00
Keith Donald
48e1ed0a24
moved test case where it belongs
2009-11-21 18:36:40 +00:00
Keith Donald
c3044e122c
polish
2009-11-21 18:34:04 +00:00
Keith Donald
9d354192ef
additional javadoc and tests
2009-11-21 18:30:34 +00:00
Keith Donald
e3462aeef3
minor typo
2009-11-21 17:55:28 +00:00
Keith Donald
94eeb99333
used managed list to detect bean definitions
2009-11-21 17:26:07 +00:00
Keith Donald
7309b11849
mvc namespace interceptors element--ignoring test case until issue with setting collection of bean definition property values is resolved
2009-11-21 16:00:53 +00:00
Keith Donald
44fcc572a7
mvc:interceptors namespace element initial commit
2009-11-21 15:17:26 +00:00
Juergen Hoeller
602118f1a3
extended CGLIB version range (SPR-6400)
2009-11-21 00:30:50 +00:00
Mark Fisher
a6b6ba88dc
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.
2009-11-20 22:21:45 +00:00
Mark Fisher
196000d765
removed printlns from test
2009-11-20 21:57:01 +00:00
Thomas Risberg
937de9f032
removed note about getting started guide not ready until 3.0 final
2009-11-20 21:37:03 +00:00
Thomas Risberg
3562858736
updated version for the 3.0 final release
2009-11-20 21:36:05 +00:00
Thomas Risberg
5fbd87d939
updated remaing 2.5.x JavaDoc reeferences to 3.0.x ones (SPR-6402)
2009-11-20 21:24:30 +00:00
Thomas Risberg
12a237a459
changed to use 3.0 xsd references
2009-11-20 20:40:55 +00:00
Costin Leau
502c0e9055
SPR-6401
...
+ increase cglib range in OSGi manifest
2009-11-20 20:23:21 +00:00
Costin Leau
38d6b55363
SPR-6333
...
SPR-6393
+ fix invalid static field
2009-11-20 20:04:13 +00:00
Mark Fisher
c6f3613411
SPR-6354 DefaultLifecycleProcessor no longer waits for the shutdown of SmartLifecycle beans that are not actually running.
2009-11-20 18:09:14 +00:00
Costin Leau
6653f25e81
SPR-6394
...
SPR-6333
+ eliminated compile-time dependency on GlassFish custom API for the GlassFish LTW
+ added support for GlassFish 3
2009-11-20 17:48:13 +00:00
Thomas Risberg
5a158fb76f
added a "releaseResourcesAfterRead" property defaulting to false and code to handle releasing any LOB resources after read if requested (SPR-5998, SPR-6209)
2009-11-20 17:45:26 +00:00
Keith Donald
d9aab1079c
found hotspot; added ConverisonServiceFactoryBean
2009-11-20 14:57:40 +00:00
Keith Donald
692b1ef636
found hotspot; added ConverisonServiceFactoryBean
2009-11-20 14:43:12 +00:00
Juergen Hoeller
4024b67926
removed formal deprecation from addPropertyValue; just hinting at add now
2009-11-20 14:28:38 +00:00
Juergen Hoeller
2cb6e21161
Derby requires a publicly accessible stream creation method (SPR-6346)
2009-11-20 14:21:48 +00:00
David Syer
f49a8d2e3e
Add some tests (and comment out the one that is breaking the build)
2009-11-20 13:36:57 +00:00
David Syer
af674bfac4
RESOLVED - issue SPR-6398: Document attributes in @Scheduled and friends
...
http://jira.springframework.org/browse/SPR-6398
2009-11-20 12:36:02 +00:00
Keith Donald
5716360936
doc updates
2009-11-20 05:07:33 +00:00
Keith Donald
b896457586
doc updates
2009-11-20 05:00:28 +00:00
Juergen Hoeller
3b9605bc57
init/destroy methods get processed in the order of declaration at each hierarchy level (SPR-6344); process DestructionAwareBeanPostProcessors in common post-processor order; aligned metadata retrieval code
2009-11-19 23:49:10 +00:00
Costin Leau
4375b9c89a
SPR-6333
...
SPR-6393
+ fixed the tests
2009-11-19 23:01:36 +00:00
Juergen Hoeller
4efa91d2f0
mvc:annotation-driven exposes default Validator and ConversionService as top-level beans (SPR-6377)
2009-11-19 22:34:24 +00:00
Costin Leau
a9d4a58294
+ fix filename problem
2009-11-19 22:33:15 +00:00
Juergen Hoeller
46cd083976
added chaining-capable "add" method to MutablePropertyValues
2009-11-19 22:30:35 +00:00
Keith Donald
a300aa19b6
improved toString method
2009-11-19 22:16:22 +00:00
Keith Donald
34a75c1ae6
improved toString method
2009-11-19 22:16:06 +00:00
Costin Leau
ab5e4a4ff3
SPR-6333
...
SPR-6393
+ eliminated compile-time dependency on oc4j classes
2009-11-19 20:28:16 +00:00
Juergen Hoeller
856fefeaad
fixed javadoc to reflect current implementation (SPR-6390)
2009-11-19 19:27:40 +00:00
Juergen Hoeller
b41e3956bc
revised scope inheritance: default scope is "" (empty String) now; consistent isPrototype checks
2009-11-19 18:32:10 +00:00
Juergen Hoeller
ee5330801d
BeanDefinitions return isSingleton()=true by default again (for CXF compatibility)
2009-11-19 16:40:06 +00:00
Juergen Hoeller
a741410421
TransactionTemplate catches undeclared checked exception and rethrows it as UndeclaredThrowableException (SPR-6361)
2009-11-19 16:36:15 +00:00
Juergen Hoeller
eb0b4f0cbd
added support for Hibernate 3.3 RegionFactory cache SPI to LocalSessionFactoryBean (SPR-6387)
2009-11-19 15:39:11 +00:00
Keith Donald
f2477c4bf5
default conversion service instance caching and tests
2009-11-19 15:27:15 +00:00
Keith Donald
da5432fbf5
default conversion service instance caching and tests
2009-11-19 15:23:56 +00:00
Keith Donald
7b561c76fe
default conversion service instance caching and tests
2009-11-19 15:22:44 +00:00
Keith Donald
6c66406f7f
removed converter matcher since its not used directly
2009-11-19 14:48:41 +00:00
Juergen Hoeller
08f9f8b8fb
startup thread marked as daemon now (SPR-6382)
2009-11-19 13:01:20 +00:00
Keith Donald
3bfbcd7276
moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
2009-11-19 09:11:19 +00:00
Keith Donald
d85dc01e28
moved generic converter to spi; added entity converter; removed various service impls in favor of service factory
2009-11-19 09:10:51 +00:00
Arjen Poutsma
211e36c249
SPR-6371 - Jaxb2Marshaller should use AnnotationUtils
2009-11-18 14:02:29 +00:00
David Syer
7ac0e2ba02
RESOLVED - issue SPR-6366: Cannot import bean definitions using classpath*: resource location
...
http://jira.springframework.org/browse/SPR-6366
2009-11-18 07:54:19 +00:00
David Syer
66939ded0f
RESOLVED - issue SPR-6366: Cannot import bean definitions using classpath*: resource location
...
http://jira.springframework.org/browse/SPR-6366
2009-11-17 09:53:10 +00:00
David Syer
17887d24a1
RESOLVED - issue SPR-6365: spring-jdbc.xsd script element claims resource patterns can be used for any SQL resource location but this is only supported for initialize-database tag
...
Grr: classpath*: again...
2009-11-17 08:36:37 +00:00
David Syer
7519162e65
RESOLVED - issue SPR-6365: spring-jdbc.xsd script element claims resource patterns can be used for any SQL resource location but this is only supported for initialize-database tag
...
Added resource pattern feature to embedded datasource XML parser.
2009-11-17 07:57:35 +00:00
Keith Donald
3f65721ba8
removed new EmbeddedDatabaeBuilder methods that don't seem very useful for embedded scenarios; javadoc polishing
2009-11-17 00:47:34 +00:00
Luke Taylor
222ae33666
SPR-6087: Updated Javadoc for HandlerInterceptor to indicate invocation order of afterCompletion() methods
2009-11-16 13:24:00 +00:00
David Syer
35472300ae
OPEN - issue SPR-6346: NoSuchMethodException in DerbyEmbeddedDatabaseConfigurer
...
Added derby test case to EmbeddedDatabaseBuilderTests
2009-11-15 13:17:42 +00:00
Sam Brannen
35d4d7bbac
Fixed typos
2009-11-15 11:57:52 +00:00
David Syer
efb2647978
RESOLVED - issue SPR-6348: ResourceDatabasePopulator is too verbose when reporting ignored failures
...
http://jira.springframework.org/browse/SPR-6348
2009-11-14 09:04:24 +00:00
David Syer
534f8a4705
RESOLVED - issue SPR-6345: ResourceDatabasePopulator does not handle comments properly when ignoring failures
...
http://jira.springframework.org/browse/SPR-6345
2009-11-14 09:02:03 +00:00
Keith Donald
aac9107f6b
SPR-6350
2009-11-14 05:44:46 +00:00
Keith Donald
4877a0412c
fixed typo
2009-11-13 19:45:57 +00:00
Luke Taylor
95ad3c923a
SPR-5158: Updated description of HandlerInterceptor configuration to spell out which requests the interceptor is applied to
2009-11-13 17:32:33 +00:00
Luke Taylor
5008f7fdec
SPR-6338: Fixed columns in jmx metadata-types table
2009-11-13 17:29:33 +00:00
Luke Taylor
ef02feed55
SPR-6338: Rewrite of source-level JMX metadata to remove references to commons attributes
2009-11-13 17:18:13 +00:00
Luke Taylor
a0b71d867f
Removed javadoc refs to JMX commons attribute source
2009-11-13 15:40:17 +00:00
David Syer
fc2d8ba73f
SPR-5917 Add docs on Lifecycle
2009-11-13 07:48:33 +00:00
Jeremy Grelle
e8845c7ead
SPR-6340 - Add coverage of JSON support to reference guide
2009-11-13 02:04:22 +00:00
Arjen Poutsma
a5be9c5cf5
Changing umlaut to unicode sequence
2009-11-13 01:49:56 +00:00
Jeremy Grelle
58841f3c66
Updated javadoc to reflect minimum JSP version 2.0
2009-11-13 01:39:20 +00:00
Jeremy Grelle
130ef7948d
Fixed javadoc
2009-11-13 01:37:40 +00:00
Arjen Poutsma
60d2fdfcea
SPR-6188 - UriTemplate: Insufficient handling of characters that need to be escaped.
2009-11-13 01:27:54 +00:00
Juergen Hoeller
8be36fafef
introduced dedicated Jsr330ScopeMetadataResolver
2009-11-13 00:36:39 +00:00
Juergen Hoeller
4fb68bef04
polishing
2009-11-13 00:10:37 +00:00
Juergen Hoeller
56778110cd
added dedicated onClose notification to differentiate between manual stop and close-driven stop
2009-11-13 00:05:54 +00:00
Keith Donald
4e35c59a20
fixed incorrect example and JSF reference
2009-11-12 22:43:22 +00:00
Keith Donald
3361de3875
SPR-6278
2009-11-12 21:18:17 +00:00
Andy Clement
61a8fa0ebd
change PlaceOfBirth toString() so round tripping from String > new PlaceOfBirth(String) > String works ok
2009-11-12 20:56:21 +00:00
Thomas Risberg
3faf28ebaf
created a protected doSetValue method so sub-classes can override the implementation easier (SPR-3978)
2009-11-12 20:51:00 +00:00
Thomas Risberg
e27330ec5d
created a protected doSetValue method so sub-classes can override the implementation easier (SPR-3978)
2009-11-12 20:47:48 +00:00
Thomas Risberg
b88db7a594
extracted creation of new ArgPreparedStatementSetter and ArgTypePreparedStatementSetter into protected methods to allow sub-classes to override (SPR-3977)
2009-11-12 19:39:39 +00:00
Thomas Risberg
5491a63f2e
added info about the new web-struts module
2009-11-12 19:11:46 +00:00
Thomas Risberg
5ebdf110f5
moved first para to chapter level and removed intro section
2009-11-12 18:23:09 +00:00
Juergen Hoeller
150c0adc74
updated changelog for RC2 release
2009-11-12 17:55:41 +00:00
Juergen Hoeller
0e1b04d082
inner beans detected as ApplicationListeners as well (SPR-6049)
2009-11-12 17:47:34 +00:00
Luke Taylor
94aad0b537
SPR-6219: Corrected typo
2009-11-12 16:55:49 +00:00
Thomas Risberg
4fe21b71a2
updated version to RC2
2009-11-12 16:55:13 +00:00
Luke Taylor
afe87ea881
SPR-6220: Corrected spelling of 'DataSource'
2009-11-12 16:53:06 +00:00
Juergen Hoeller
a6bba67bca
added setValidating to XmlBeanDefinitionReader itself as well (SPR-6336)
2009-11-12 16:35:29 +00:00
Luke Taylor
1ddbfe0759
SPR-6205: Added doc on annotation support for multiple transaction managers
2009-11-12 16:22:42 +00:00
Juergen Hoeller
5d772554ae
report error in case of constructor-arg index ambiguity (SPR-6329)
2009-11-12 16:22:42 +00:00
Arjen Poutsma
d66fd9843e
Reverted changes in r2282: now using varags again.
2009-11-12 16:20:36 +00:00
Arjen Poutsma
bee051ece6
SWS-572
2009-11-12 16:09:08 +00:00
Juergen Hoeller
86934e2403
added SQL String and related context to translated JDBCException messages (SPR-6304)
2009-11-12 15:25:32 +00:00
Juergen Hoeller
747300f34c
added support for most recent EHCache 1.6 configuration properties to EHCacheFactoryBean (SPR-6234)
2009-11-12 15:15:36 +00:00
Juergen Hoeller
9d59db7944
reintroduced DEFAULT_COOKIE_MAX_AGE in deprecated form (for binary compatibility; SPR-6276)
2009-11-12 14:25:14 +00:00
Juergen Hoeller
f595b67618
avoid early Log4J initialization (SPR-6288)
2009-11-12 14:10:35 +00:00
Juergen Hoeller
613b4d182b
avoid potential NPE (SPR-6300)
2009-11-12 13:42:07 +00:00
Mark Fisher
6ee17d2826
SPR-5507 javadoc
2009-11-12 13:10:10 +00:00
David Syer
568e6a3b38
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
2009-11-12 11:20:51 +00:00
David Syer
38f1383853
RESOLVED - issue SPR-6321: Regression: ResourceEditor in 3.0 does not ignore unresolvable placeholders, but it did in 2.5.6
2009-11-12 11:07:15 +00:00
Keith Donald
7685b516f1
spring 3 mvc namespace whats new
2009-11-12 07:55:02 +00:00
Keith Donald
ac551f756d
changelog updates
2009-11-12 07:50:46 +00:00
Keith Donald
b53f180c14
link to validation section
2009-11-12 07:34:50 +00:00
Keith Donald
2eff486b36
link to validation section
2009-11-12 07:34:02 +00:00
Keith Donald
a2d19f1a2d
link to validation section
2009-11-12 07:33:29 +00:00
Chris Beams
9f07b15185
Added Javadoc where necessary; polishing.
2009-11-12 07:29:52 +00:00
Keith Donald
2e12907fe4
polish
2009-11-12 07:28:24 +00:00
Keith Donald
fefaf123e6
updated refs
2009-11-12 07:15:24 +00:00
Keith Donald
7e90e7a4d5
updated test to reflect correct behavior
2009-11-12 07:13:00 +00:00
Keith Donald
eee2a2115a
doc polish
2009-11-12 07:11:08 +00:00
Keith Donald
70fe75384d
fixed failing tests due to generic object to object converter fallback being over eager
2009-11-12 06:57:51 +00:00
Keith Donald
c58378603a
validation updateS
2009-11-12 06:22:35 +00:00
Keith Donald
b163f123ce
valueOf and Constructor-based conversion of source objects to targetTypes
2009-11-12 05:25:03 +00:00
Keith Donald
b5cda8db7b
Deferring object mapper until Spring 3.1 when it will be used by other projects
2009-11-12 03:54:19 +00:00
Keith Donald
3cdb942cbe
Deferring object mapper until Spring 3.1 when it will be used by other projects
2009-11-12 03:53:59 +00:00
Juergen Hoeller
6ef9c2d710
fixed validating to be true by default and to set namespaceAware accordingly
2009-11-12 02:36:53 +00:00
Costin Leau
e52e4c5717
+ commit actual jboss adapter
2009-11-12 02:31:50 +00:00
Juergen Hoeller
c495cbb1bf
MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
2009-11-12 02:30:12 +00:00
Costin Leau
4e321b1a3c
+ add minor fix to the internal weblogic adapter
2009-11-12 02:29:08 +00:00
Costin Leau
1dc1d5ef9a
SPR-5764
...
+ add dynamic classfiletransformer -> JBoss translator adaptor (since there isn't any in JBoss 5.0.x)
2009-11-12 02:28:42 +00:00
Juergen Hoeller
155f6b1aa1
polishing
2009-11-12 02:27:31 +00:00
Juergen Hoeller
1c839dbe9c
added setValidating method to AbstractXmlApplicationContext, analogous to GenericXmlApplicationContext
2009-11-12 02:14:01 +00:00
Juergen Hoeller
0832334648
polishing
2009-11-12 02:11:12 +00:00
Juergen Hoeller
a884a407aa
child bean definition's scope attribute can be inherited from parent bean definition now (SPR-3542)
2009-11-12 02:10:59 +00:00
Juergen Hoeller
fcaf692225
MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
2009-11-12 02:10:44 +00:00
Mark Fisher
535ec5cffd
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).
2009-11-12 02:09:44 +00:00
Juergen Hoeller
d666f0a7d6
added GenericXmlApplicationContext with flexible configuration options for its XML support
2009-11-12 01:59:15 +00:00
Juergen Hoeller
7428014ca3
MergedBeanDefinitionPostProcessors apply after all other post-processors (for @PostConstruct to be invoked after other BPPs; SPR-6066)
2009-11-12 01:43:34 +00:00
Costin Leau
190aee17d8
+ internal improvement of WebLogic LTW
...
+ minor improvements to the LTW files (mainly trailing blank lines)
2009-11-12 01:28:32 +00:00
Costin Leau
846c7f6000
SPR-5764
...
+ redone the JBossLTW (no dependency on the JBoss API)
- removed JBoss jars
- removed JBoss imports (Spring code doesn't rely on it)
2009-11-12 01:25:39 +00:00
Juergen Hoeller
d0b6891275
child bean definition's scope attribute can be inherited from parent bean definition now (SPR-3542)
2009-11-12 00:09:05 +00:00
Juergen Hoeller
4a25e2dde0
log a warning in case of ambiguous setter methods (SPR-4931)
2009-11-11 23:27:34 +00:00
Keith Donald
e97c2bd7e9
rc2 updates
2009-11-11 23:10:04 +00:00
Keith Donald
48cfb73f15
polish
2009-11-11 23:04:21 +00:00
Keith Donald
5f9ec55512
polish
2009-11-11 23:04:09 +00:00
Keith Donald
035a2beaf5
polish
2009-11-11 22:39:35 +00:00
Keith Donald
a90bf29765
formatting docs
2009-11-11 22:37:59 +00:00
Keith Donald
d45f9df3c4
doc review
2009-11-11 21:46:00 +00:00
Juergen Hoeller
7a10b7530e
improved context shown for non-qualifying dependency (SPR-5912)
2009-11-11 21:44:36 +00:00
Juergen Hoeller
d6bab3b674
turned FormattingPropertyEditorAdapter into ConvertingPropertyEditorAdapter
2009-11-11 21:19:20 +00:00
Sam Brannen
f8dd5fb5dc
Deleting unused imports.
2009-11-11 21:14:25 +00:00
Sam Brannen
14495315a2
Deleting unused imports.
2009-11-11 21:08:32 +00:00
Sam Brannen
2415ec77f8
Fixed typo.
2009-11-11 20:46:36 +00:00
Keith Donald
2aac0aace4
polish
2009-11-11 20:44:32 +00:00
Juergen Hoeller
a805819360
introduced populateDefaults template method (SPR-6010)
2009-11-11 19:47:31 +00:00
Juergen Hoeller
022b8b4d1f
allow multiple tool:exports entries
2009-11-11 19:42:12 +00:00
Juergen Hoeller
5aefb2ce77
refined javadoc (SPR-5789)
2009-11-11 19:41:13 +00:00
Juergen Hoeller
a06adf7203
AnnotationMetadata returns Class values by default (again), allowing for explicit retrieval of String class names where preferred (SPR-5827)
2009-11-11 19:24:43 +00:00
Juergen Hoeller
bbd7fb3969
AnnotationMetadata returns Class values by default (again), allowing for explicit retrieval of String class names where preferred (SPR-5827)
2009-11-11 19:11:41 +00:00
Keith Donald
afdb96ab2c
polish
2009-11-11 19:04:21 +00:00
Keith Donald
6f8eb57dfa
polish
2009-11-11 19:02:57 +00:00
Keith Donald
35944af7e1
polish
2009-11-11 19:00:52 +00:00
Keith Donald
522bb6ee56
polish
2009-11-11 18:57:52 +00:00
Keith Donald
7e63df9ea8
annotation driven number formatting with default number formatting rules
2009-11-11 18:53:28 +00:00
Keith Donald
b56a47da97
annotation driven number formatting with default number formatting rules
2009-11-11 18:53:02 +00:00
Juergen Hoeller
bfffb51257
added JBoss jars
2009-11-11 18:19:47 +00:00
Juergen Hoeller
d46c1f600a
TransactionAwareDataSourceProxy processes isClosed explicitly in order to avoid potential leaks (SPR-5780)
2009-11-11 18:19:16 +00:00
Thomas Risberg
2b962e7730
added unwrapping of scoped proxy tp unwrapResourceIfNecessary() (SPR-5671)
2009-11-11 18:16:41 +00:00
Arjen Poutsma
68f57aa953
SPR-6308 - Spring Expression Language creates systemProperties bean calling System.getProperties() which in enterprise shared containers is locked down
2009-11-11 16:39:20 +00:00
Thomas Risberg
7844a633b5
added entry for unversioned xsd reference
2009-11-11 16:29:31 +00:00
Thomas Risberg
f38b8975c5
added entry for unversioned xsd reference
2009-11-11 16:25:34 +00:00
Keith Donald
fdabfefe32
docs
2009-11-11 15:51:43 +00:00
Keith Donald
a725717261
tests for custom conversion service / validator
2009-11-11 15:43:57 +00:00
Christian Dupuis
cb8b603bdf
update icon for mvc namespace
2009-11-11 15:42:53 +00:00
Keith Donald
e690bf0c62
not needed according to Christian
2009-11-11 15:28:29 +00:00
Keith Donald
6f3dfe13d0
mvc namespace conversion-service and validator attributes
2009-11-11 15:26:08 +00:00
Luke Taylor
89d997a5bc
SPR-3695: Added note on servlet/JSP/JSTL versions with reference to external blog article
2009-11-11 14:03:09 +00:00
Chris Beams
2663ab9975
fixed typo in javadoc: s/poitncut/pointcut/
2009-11-11 01:38:26 +00:00
Chris Beams
ee553f7804
SPR-6328: Rename @ImportXml -> @ImportResource and allow for usage of non-XML BeanDefinitionReader types
2009-11-11 00:48:30 +00:00
Mark Fisher
81efd48352
SPR-5507 SchedulerFactoryBean now implements SmartLifecycle instead of ApplicationListener.
2009-11-10 23:25:29 +00:00
Thomas Risberg
7d2b3f2e7e
relaxed Map<String, Object> to Map<String, ?> for method parameter
2009-11-10 23:14:54 +00:00
Keith Donald
36e00054b6
polish
2009-11-10 20:46:06 +00:00
Keith Donald
417939774c
removed old dir
2009-11-10 20:43:49 +00:00
Keith Donald
04dee9ab76
removed old dir
2009-11-10 20:43:10 +00:00
Keith Donald
17bbdfc13f
polish
2009-11-10 20:42:33 +00:00
Keith Donald
4b76cdd1a3
date time format code review
2009-11-10 20:34:59 +00:00
Luke Taylor
ae3e0c0bda
SPR-5276: Updated Acegi site link to point to Spring Security
2009-11-10 20:26:49 +00:00
Keith Donald
1bb007c321
results of code review of mvc namespace
2009-11-10 19:15:32 +00:00
Luke Taylor
4a5a2b18ac
SPR-6169: Clarified that DispatcherServlet configuraion options are init-param values for the servlet declaration, not context params
2009-11-10 19:03:17 +00:00
Luke Taylor
d293c2248c
SPR-5430,SPR-6224: Converted deprecated view property names to use '.(class)' syntax.
2009-11-10 18:44:56 +00:00
Thomas Risberg
f91d44691e
added note to changelog about supporting load-time weaving in JBoss 5 (SPR-5764)
2009-11-10 16:19:03 +00:00
Luke Taylor
edf331b5a6
SPR-6293: Updated required tiles version to 2.1.2
2009-11-10 14:29:30 +00:00
Mark Fisher
d5fd22c8fe
SPR-5507 GenericMessageEndpointManager now implements SmartLifecycle instead of ApplicationListener.
2009-11-10 12:59:50 +00:00
Mark Fisher
a15a9600b7
SPR-5507 AbstractJmsListeningContainer now implements SmartLifecycle instead of ApplicationListener.
2009-11-10 04:52:56 +00:00
Mark Fisher
a7c1f6b730
SPR-5507 Added SmartLifecycle interface with 'isAutoStartup' method and added an 'onRefresh' method to the LifecycleProcessor.
2009-11-10 04:49:13 +00:00
Keith Donald
91dd752e71
added test dep to ivy.xml causing build failure
2009-11-10 04:32:48 +00:00
Mark Fisher
5b088f5cb4
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.
2009-11-10 04:00:42 +00:00
Keith Donald
566516b89a
polishing
2009-11-09 21:59:59 +00:00
Keith Donald
835b958911
polish
2009-11-09 21:10:51 +00:00
Keith Donald
6f4112af80
updated favoring style pattern string instead of Style enum for DateTimeFormat
2009-11-09 21:07:41 +00:00
Keith Donald
7ed6c164b6
javadoc polishing
2009-11-09 20:25:03 +00:00
Juergen Hoeller
90f8e5dcf8
WebSphereUowTransactionManager suspends synchronizations even without existing transaction (SPR-6167)
2009-11-09 19:59:27 +00:00
Costin Leau
c3bf658058
SPR-6102
...
+ add old method for backwards compatibility
2009-11-09 19:11:41 +00:00
Costin Leau
af0a529bb5
SPR-6102
...
+ loosen FrameworkServlet#createWebApplicationContext signature
2009-11-09 18:27:10 +00:00
Costin Leau
bcc6413ef7
SPR-5762
...
+ allow unknown URL protocols to be used with import directive
2009-11-09 15:59:08 +00:00
Arjen Poutsma
077055c8f2
SPR-6291 - UrlPathHelper is too aggressive decoding URLs
2009-11-09 12:15:17 +00:00
Costin Leau
24a9ecd4a3
+ removed unused imports
2009-11-09 12:02:42 +00:00
Costin Leau
9a111e504f
SPR-6194
...
+ add setter for servlet minor version to MockServletContext
2009-11-09 11:51:30 +00:00
Arjen Poutsma
7ec9f1506a
SPR-6005 - org.springframework.beans.propertyeditors.URIEditor does double escaping for % signes for URIs that contain a schema
2009-11-09 09:15:49 +00:00
Sam Brannen
2cc6155dec
JavaDoc
2009-11-08 14:27:47 +00:00
Thomas Risberg
076b912f05
removed filter for classes from the JPA providers package for EclipseLink (SPR-6040)
2009-11-07 19:46:46 +00:00
Chris Beams
46aabf0b65
Additional tests rounding out @ImportXml coverage
2009-11-07 03:53:58 +00:00
Keith Donald
7bd34a6cb1
added format import to web.servlet manifest
2009-11-07 03:53:38 +00:00
Juergen Hoeller
2922b1fcb9
updated for extended RC2 period
2009-11-07 01:32:31 +00:00
Juergen Hoeller
15777818c4
made Excel tests work
2009-11-07 01:32:18 +00:00
Juergen Hoeller
2a0b3cf3c9
polishing
2009-11-07 01:30:50 +00:00
Juergen Hoeller
205b5a477b
JSR-303 Validator will only register validation failures if no binding failure happened
2009-11-07 01:29:50 +00:00
Juergen Hoeller
4e233047c8
TilesConfigurer only sets up EL support if JSP 2.1 is present (for JSP 2.0 compatibility; SPR-6309)
2009-11-07 01:16:40 +00:00
Juergen Hoeller
b321376703
AbstractExcelView is compatible with Apache POI 3.0 as well as 3.5 now (SPR-6298)
2009-11-07 01:11:53 +00:00
Juergen Hoeller
a62068461f
AbstractApplicationContext can also start up in case of system properties access failure
2009-11-07 01:09:02 +00:00
Keith Donald
fe4f41d33c
default config for web binding initializer and formatting/conversion system w/ mvc namespace
2009-11-07 00:41:08 +00:00
Chris Beams
8ece98c694
Fixed build breakage due to use of WebDataBinder.setDisallowedFields(String); changed calls to use the updated String[] signature.
2009-11-07 00:40:50 +00:00
Chris Beams
0a4463fb71
SPR-6158: Initial implementation and tests for @ImportXml
2009-11-07 00:32:40 +00:00
Chris Beams
20ec13ded5
SPR-5529: removed package.html files
2009-11-06 23:15:35 +00:00
Chris Beams
ca0b590bb9
SPR-5523: converted a few additional package.html artifacts to package-info.java
2009-11-06 23:13:15 +00:00
Juergen Hoeller
6494041849
changed Servlet API dependency to provided (SPR-6284)
2009-11-06 16:42:14 +00:00
Keith Donald
ee15bbb494
mvc namespace installation of handler mapping and handler adapter
2009-11-06 15:38:08 +00:00
Mark Fisher
d96bea9f6a
SPR-4716 GenericMessageEndpointManager now "auto-starts" upon receiving a ContextRefreshedEvent rather than within afterPropertiesSet().
2009-11-06 15:24:12 +00:00
Arjen Poutsma
d415d36192
Renamed Md5HashUtils to DigestUtils
2009-11-06 11:52:53 +00:00
Mark Fisher
91297d9863
SPR-6307 Quartz SchedulerFactoryBean now "auto-starts" upon receiving a ContextRefreshedEvent rather than within afterPropertiesSet().
2009-11-05 23:41:01 +00:00
Mark Fisher
40720ab0f1
SPR-4716 AbstractJmsListeningContainer now "auto-starts" upon receiving a ContextRefreshedEvent rather than within afterPropertiesSet().
2009-11-05 22:05:52 +00:00
Keith Donald
389ad03e84
package info file
2009-11-05 21:49:46 +00:00
Keith Donald
733be4f400
spring mvc namespace initial commit; work in progress
2009-11-05 21:49:21 +00:00
Keith Donald
fed96f85ae
fixed failing test due to case issue
2009-11-05 19:17:53 +00:00
Keith Donald
b6ec4e30d9
javadoc polish
2009-11-05 17:48:54 +00:00
Keith Donald
d65454175d
iso date time format tests
2009-11-05 17:18:54 +00:00
Arjen Poutsma
8de34c6fa7
SPR-6301 - Support @RequestHeader on HttpHeaders parameters
2009-11-05 15:42:24 +00:00
Keith Donald
a62b413be4
Renamed org.springframework.ui.format package to simply org.springframework.format package; 'ui' is not adding any value - it makes the package name longer and also discourages use of formatters outside in other "non ui" environments where localized formatting of field values is needed.
2009-11-05 15:21:22 +00:00
Keith Donald
f0de1c3069
revised matchable converter lookup algorithm; added conversion service bean container tests
2009-11-05 14:52:57 +00:00
Arjen Poutsma
c812cd370b
Fixing test
2009-11-05 13:44:52 +00:00
Arjen Poutsma
db252cd0af
SPR-6303 - Add more logging to RestTemplate
2009-11-05 13:32:14 +00:00
Arjen Poutsma
f1075c7b04
javadoc.
2009-11-05 10:17:37 +00:00
Keith Donald
bc4d52a7e3
added date midnight
2009-11-05 05:24:50 +00:00
Keith Donald
2405848c4c
comment on ignored test
2009-11-05 05:21:19 +00:00
Keith Donald
ba0f1da96f
more joda time formatting tests
2009-11-05 05:19:27 +00:00
Keith Donald
8a15486de3
fixed bug related to annotation driven formatting
2009-11-04 23:12:24 +00:00
Keith Donald
ff39bc376f
formatting tests and polishing
2009-11-04 23:02:10 +00:00
Keith Donald
9ec337b736
joda time formatting tests
2009-11-04 22:53:26 +00:00
Keith Donald
791832789d
polish
2009-11-04 17:38:17 +00:00
Keith Donald
0df1bac33c
since 3.0
2009-11-04 17:33:09 +00:00
Keith Donald
9fdd11c89c
polish
2009-11-04 17:25:37 +00:00
Keith Donald
6d020502b9
polish
2009-11-04 17:23:31 +00:00
Keith Donald
53f3d0b755
polish
2009-11-04 17:22:09 +00:00
Keith Donald
374ea05028
polish
2009-11-04 17:08:51 +00:00
Keith Donald
ffbfa2992c
polish
2009-11-04 17:07:25 +00:00
Keith Donald
0a78287a8f
formatters now plugged into unified type conversion api with formatter specific registry spi
2009-11-04 00:08:47 +00:00
Keith Donald
2e4fa28ca6
removed embedded databases factory in favor of new useDefaultScripts builder method
2009-11-03 23:19:26 +00:00
Keith Donald
f1d012bffa
embeddedd databases convenience factory; builder polishing
2009-11-03 23:05:41 +00:00
Scott Andrews
6c80dbaa9e
polish - removing unused import
2009-11-03 21:02:22 +00:00
Scott Andrews
67b5781dab
SPR-6296 Spring:url tag should not use application/x-www-form-urlencoded encoding
...
Work around for application/x-www-form-urlencoded encoding. Replaces '+' from java.net.URLDecoder with charset specific encoded space value ('%20' for most charsets).
The custom urlEncode method should be replaced with calls to a true URL encoder once available.
2009-11-03 21:01:23 +00:00
Ramnivas Laddad
868cf09b2d
Modified staticmethod mocking to remove compile-time dependency on JUnit (see ROO-314 and related issues)
2009-11-03 00:51:22 +00:00
Sam Brannen
04a7656292
Updated ivy settings so that org.jboss.util is downloaded to the local repository; updated Eclipse classpath regarding latest version of org.jboss.util; added classpath entry for org.jboss.classloading.spi so that JBoss5ClassLoader compiles in Eclipse.
2009-11-01 17:02:08 +00:00
Keith Donald
470302ecc6
javadoc
2009-10-30 20:35:29 +00:00
Keith Donald
c8fd4a45fc
more eclipse compile errors
2009-10-30 19:59:31 +00:00
Keith Donald
f1cab9acda
fixed failing test; take 2
2009-10-30 19:52:19 +00:00
Keith Donald
4151c52af6
removed unused import
2009-10-30 19:34:55 +00:00
Keith Donald
7a4ca36413
Fixed failed tests
2009-10-30 19:34:21 +00:00
Keith Donald
0b46950818
fixed eclipse classpath compile errors
2009-10-30 19:26:39 +00:00
Keith Donald
a2be2e15e9
polish; fixed failed tests
2009-10-30 19:19:27 +00:00
Keith Donald
3a3edb53f6
polish / code review of data source embedded and init
2009-10-30 19:01:48 +00:00
Keith Donald
913bc03a3b
ui.format system refining from RC1 feedback: Support for one format annotation applying to multiple field types, Printer/Parser building blocks for more flexibility, full Joda time formatting support, FormattingService as a service entry-point for clients to use
2009-10-30 18:44:40 +00:00
Thomas Risberg
471fbf7ebf
added classes from contributed patch for load-time weaving in JBoss 5 (SPR-5764)
2009-10-30 17:11:26 +00:00
David Syer
14e7b46163
RESOLVED - issue SPR-5917: fixed classpath pattern for ANT
2009-10-30 11:51:50 +00:00
David Syer
e9a37e4400
RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
...
Moved classes but not resources (fixed)
2009-10-30 11:26:45 +00:00
David Syer
747f71f9d2
RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
...
Tweak initializer to allow placeholders for script locations
2009-10-30 11:09:49 +00:00
David Syer
0c8a320130
RESOLVED - issue SPR-5917: updated jdbc docs
2009-10-30 10:32:15 +00:00
David Syer
0db68e1b57
RESOLVED - issue SPR-5917: DataSourceInitializer and namespace support for creating and populating databases
...
Moved populator to init package and added namespace features
2009-10-30 10:31:37 +00:00
Ramnivas Laddad
ab403468f9
Mark junit dependency as compile, since aspects depend on it at compile-time
2009-10-29 17:18:49 +00:00
Arjen Poutsma
f839969b6c
javadoc.
2009-10-29 12:32:17 +00:00
Arjen Poutsma
2288b2523e
SPR-6021 - Allow for using MultiValueMap in GET request for mapping multiple request params
2009-10-29 11:18:43 +00:00
Mark Fisher
53eb612a68
SPR-6059 Avoiding NPE for OR operator. If the value is null instead of a valid boolean or Boolean, it will now trigger an EvaluationException.
2009-10-28 23:14:29 +00:00
Thomas Risberg
4a315ba6d1
fixed rertieval of generated keys for HSQLDB 1.9 and fixed some typos (SPR-6266)
2009-10-28 22:25:58 +00:00
Mark Fisher
f4460dcbf7
SPR-6059 Avoiding NPE for unary-not and ternary operators. If the value is null instead of a valid boolean or Boolean, it will now trigger an EvaluationException.
2009-10-28 21:57:09 +00:00
Thomas Risberg
a2cd909306
fixed rertieval of generated keys for HSQLDB 1.9 and fixed some typos (SPR-6266)
2009-10-28 19:40:32 +00:00
Thomas Risberg
84c1b56e35
fixed null handling for all Derby drivers to be the same as for the embedded driver (SPR-6000)
2009-10-28 17:14:47 +00:00
Mark Fisher
0baa29f1ac
removed @Override from interface method
2009-10-28 14:45:31 +00:00
Mark Fisher
0400b68afb
SPR-6240 Added namespace support for ErrorHandler strategy on JMS "listener-container" elements.
2009-10-28 14:36:01 +00:00
David Syer
0e85c66f2f
SPR-6246: Java6 @Override removed
2009-10-28 13:56:11 +00:00
David Syer
b580696550
Exclude Jetty version of servlet API
2009-10-28 13:43:55 +00:00
David Syer
bce723d9e3
SPR-6246: split up Velocity test cases for neatness. Add fix for bug in exception creation in VelocityView.
2009-10-28 13:43:27 +00:00
Mark Fisher
3346752cfd
INT-6051 SpEL selection and projection may now be applied to arrays.
2009-10-28 03:42:36 +00:00
Ramnivas Laddad
65f10cceb9
Removed unneeded empty directories
2009-10-28 01:28:28 +00:00
Ramnivas Laddad
92d6dfbe8d
Renamed static_mock package to staticmock
2009-10-28 01:23:43 +00:00
Mark Fisher
776edbcae3
SPR-6051 avoiding NPE in TypedValue.toString()
2009-10-27 23:59:46 +00:00
Ramnivas Laddad
d1f3772ca1
Fixed a build issue
2009-10-27 19:35:01 +00:00
David Syer
6aa97d5a3a
RESOLVED - issue SPR-6038: HSQLDB+Quarz using data source causes "Unexpected token: FOR in statement " exception
...
Missing ivy dependency
2009-10-27 19:24:15 +00:00
Ramnivas Laddad
66261ecb8c
Moved over JPA exception translator from Roo
2009-10-27 19:15:54 +00:00
David Syer
2c0cf49b94
RESOLVED - issue SPR-6038: HSQLDB+Quarz using data source causes "Unexpected token: FOR in statement " exception
...
Detect HSQL in LocalDataSourceJobStore and force locks to be taken locally (with a SimpleSemaphore)
2009-10-27 18:39:42 +00:00
David Syer
89424579ae
OPEN - issue SPR-6038: HSQLDB+Quarz using data source causes "Unexpected token: FOR in statement " exception
...
Convert test case to JUnit 4
2009-10-27 18:25:18 +00:00
David Syer
092a25d0d8
SPR-4783: missing commit for bean def parser (duh)
2009-10-27 18:03:38 +00:00
Ramnivas Laddad
dee410c0c4
Fixed test by moving Delegate to its own file
2009-10-27 17:38:50 +00:00
Ramnivas Laddad
064343d056
Make JUnit a compile-time dependency, since static mock functionality depends on its annotations.
2009-10-27 17:23:23 +00:00
Ramnivas Laddad
451bbce345
Moved over static mock testing from Roo; added tests
2009-10-27 17:16:02 +00:00
David Syer
57afe3baab
RESOLVED - issue SPR-4783: OK, that wasn't it (reverted previous dumb change). Scratch, scratch...
2009-10-27 15:48:59 +00:00
David Syer
0cf31f012d
RESOLVED - issue SPR-4783: Add name attribute to XML namespaces that want to support it (through parser base class)
...
Duh: bitten by the classpath*: again
2009-10-27 15:33:59 +00:00
David Syer
f23921153d
Add resource pattern so that tests run properly with resources in non-standard locations
2009-10-27 15:23:13 +00:00
David Syer
dec2ca30c2
RESOLVED - issue SPR-4783: Add name attribute to all namespaces that use AbstractBeanDefinitionParser and declare name= attribute (includes <lang:groovy.../>).
2009-10-27 15:22:36 +00:00
David Syer
1a9599c815
RESOLVED - issue SPR-4661: Improve context-property-placeholder configurablity
...
Classpath ordering broke the build (duh: test-classes comes before classes in Maven but not Ant).
2009-10-27 14:49:10 +00:00
David Syer
b250c65c45
RESOLVED - issue SPR-4661: Improve context-property-placeholder configurablity
...
Remove spaces from locations (seems like integration from SPR-6195 didn't reach the build yet)
2009-10-27 13:57:48 +00:00
David Syer
4be237dd84
RESOLVED - issue SPR-6195
2009-10-27 13:41:22 +00:00
David Syer
a29253f2ca
RESOLVED - issue SPR-4661: Improve context-property-placeholder configurability
...
Added new features to property override and placeholders (order, locations, system-properties-mode, ignore-*)
2009-10-27 13:38:29 +00:00
David Syer
c63cdb2444
OPEN - issue SPR-6246: Velocity MethodInvocationExceptions not properly reported
...
Added test case for exception. This probably fails on a non-Sun JVM?
2009-10-27 12:32:14 +00:00
David Syer
2978a4d0eb
SPR-6160: resolved by referring to 'future release' instead of 2.5
2009-10-27 11:59:59 +00:00
David Syer
46818b038a
SPR-6257: Resolved in beans.xml
2009-10-27 11:56:06 +00:00
Arjen Poutsma
d0893c425e
SPR-6247 - Multipart Content-Type charset is ignored in CommonsFileUploadSupport.
2009-10-27 11:42:36 +00:00
Arjen Poutsma
d54a975af4
SPR-6248 - Accept header should not be mandatory for properly handling response body.
2009-10-27 10:50:45 +00:00
David Syer
a86baca9cb
Add atinject dependency for TCK test
2009-10-26 22:48:35 +00:00
David Syer
8b2a7c8be8
Fix wrong Maven dependency in pom.xml for validation and inject APIs
2009-10-26 22:38:08 +00:00
David Syer
560e07a966
Fix wrong Maven dependency in pom.xml for validation and inject APIs
2009-10-26 22:37:45 +00:00
David Syer
3c9eed1c22
SPR-6273: resolved with patch - use recursive call to reset low order bits and then re-seek match for pattern
2009-10-26 22:37:04 +00:00
Juergen Hoeller
7b54746a50
verified choice of primary bean in case of implicit name match in a scanning plus factory method scenario (SPR-6065)
2009-10-26 15:28:09 +00:00
Sam Brannen
1b92a2fae1
[SPR-6124] Verified that timed transactional tests fail with the TestNG integration in the TestContext framework.
2009-10-26 13:38:59 +00:00
Sam Brannen
02dfe94396
[SPR-6128] Verified that claims raised in this issue no longer apply.
2009-10-26 13:00:04 +00:00
Keith Donald
381d1d5a94
default date/time converters
2009-10-25 04:52:26 +00:00
Sam Brannen
d868785b5f
fixed DocBook structure and typo
2009-10-24 19:37:10 +00:00
Sam Brannen
83f3df14bd
Updating Mail chapter regarding changes in Spring 2.0 and 3.0.
2009-10-24 19:32:05 +00:00
Sam Brannen
e651c69a44
Polishing the Portlet sections of the reference manual.
2009-10-24 19:25:09 +00:00
Sam Brannen
f14c2de5e9
Polishing the Portlet sections of the reference manual.
2009-10-24 18:58:39 +00:00
Sam Brannen
dc897e7b34
Polishing
2009-10-24 17:33:23 +00:00
Sam Brannen
d13d556260
Polishing the Portlet sections of the reference manual.
2009-10-24 17:04:52 +00:00
Sam Brannen
642549a1e7
Polishing the web integration sections of the reference manual.
2009-10-24 17:04:08 +00:00
Juergen Hoeller
8a09c8e7da
reworked ConfigurationClass(Web)ApplicationContext into AnnotationConfig(Web)ApplicationContext; revised BeansException signatures
2009-10-23 17:46:16 +00:00
Juergen Hoeller
87b2f23692
updated version ranges for javax.el and javax.inject
2009-10-23 17:26:12 +00:00
Sam Brannen
cc07b8d002
Polishing the web integration sections of the reference manual.
2009-10-22 13:17:39 +00:00
Sam Brannen
2a4fe95e24
Polishing the MVC sections of the reference manual.
2009-10-22 12:54:34 +00:00
Sam Brannen
a995c6f65f
Polishing the MVC sections of the reference manual.
2009-10-22 12:53:03 +00:00
Sam Brannen
50f96a268e
Added the @Inject TCK to the Eclipse classpath.
2009-10-20 22:27:04 +00:00
Sam Brannen
a789bf2f1e
Polishing the MVC sections of the reference manual.
2009-10-20 21:56:22 +00:00
Juergen Hoeller
ee8ed4e410
fixed getBean signature ambiguity in tests
2009-10-20 20:14:49 +00:00
Juergen Hoeller
cf580f024a
added first cut of getBean(Class) lookup method
2009-10-20 19:52:30 +00:00
Juergen Hoeller
a83756f771
deprecated remoting support for JAX-RPC (in favor of JAX-WS)
2009-10-20 18:35:35 +00:00
Juergen Hoeller
54221500c1
fixed PersistenceInjectionTests
2009-10-20 18:30:55 +00:00
Juergen Hoeller
94533976d0
full compliance with the JSR-330 TCK
2009-10-20 18:18:25 +00:00
Juergen Hoeller
a429e230b6
revised version checks and exception signatures
2009-10-20 16:53:24 +00:00
Sam Brannen
ccb103417d
Polishing the MVC sections of the reference manual.
2009-10-19 22:32:15 +00:00
Sam Brannen
32fb767c87
Polishing the reference manual.
2009-10-19 18:26:02 +00:00
Sam Brannen
c399cb1b27
fixed typos
2009-10-19 18:23:51 +00:00
Juergen Hoeller
a7f0d50643
fixed ParseException constructor calls (SPR-6239)
2009-10-19 12:59:17 +00:00
Keith Donald
db2ff40e4b
commented out test failing nightly snapshot
2009-10-19 02:42:29 +00:00
Keith Donald
1c0f188adc
maven central joda-time artifact
2009-10-19 02:14:34 +00:00
Keith Donald
e4f50f5b73
SPR-6245 bean wrapper copy constructor not copying all state
2009-10-19 01:06:44 +00:00
Keith Donald
2fe6003923
SPR-6199
2009-10-19 00:13:30 +00:00
Keith Donald
0e4064fecc
added null handling, fixed bug relating to conversion of non-generic collections
2009-10-18 22:20:53 +00:00
Sam Brannen
206963bcba
Polishing the reference manual.
2009-10-18 21:35:56 +00:00
Keith Donald
66e6560560
polish
2009-10-17 06:39:35 +00:00
Keith Donald
44a238616c
polish
2009-10-17 06:10:59 +00:00
Keith Donald
db9f25d6de
polish
2009-10-17 06:10:29 +00:00
Keith Donald
be94b45636
polish
2009-10-17 05:54:36 +00:00
Keith Donald
bd0356a712
polish
2009-10-17 05:49:28 +00:00
Keith Donald
9584a81687
conditional mapping
2009-10-17 05:33:04 +00:00
Keith Donald
3c4596a424
conditional mapping and polish
2009-10-17 05:32:30 +00:00
Keith Donald
f63c3d5313
polish
2009-10-17 04:03:56 +00:00
Keith Donald
f55b54ec3b
builder
2009-10-16 23:15:48 +00:00
Keith Donald
c833269aa3
polish
2009-10-16 23:14:01 +00:00
Keith Donald
106847e739
polish
2009-10-16 23:11:24 +00:00
Keith Donald
a221fb5718
MapperFactory and MapperBuilder config API
2009-10-16 22:44:54 +00:00
Sam Brannen
5616770a27
Corrected minor errors regarding JDO, grammar, etc.
2009-10-16 21:29:30 +00:00
Sam Brannen
c686035773
Updated Eclipse classpath regarding javax.inject and javax.validation.
2009-10-16 10:16:25 +00:00
Sam Brannen
c29cbc18ee
Cleaning up and upgrading Eclipse classpaths.
2009-10-16 10:11:10 +00:00
Sam Brannen
ad1bfbcbfd
Added Eclipse project settings for the new web.struts module.
2009-10-15 23:24:38 +00:00
Keith Donald
3fb3549997
polish
2009-10-15 15:49:26 +00:00
Juergen Hoeller
e99cda3739
updated to final versions of JSR-330 and JSR-303 APIs
2009-10-15 14:31:41 +00:00
Arjen Poutsma
b42cf25599
SPR-6236: Reintroduce Struts support
2009-10-15 14:04:13 +00:00
Arjen Poutsma
7031c31904
Updated build settings
2009-10-15 13:57:28 +00:00
Arjen Poutsma
7461d70582
SPR-6236: Reintroduce Struts support
2009-10-15 10:50:58 +00:00
Juergen Hoeller
11d987009a
revised destroy method lookup after deserialization (avoiding NPE in case of default-destroy-method; SPR-6211)
2009-10-15 10:33:05 +00:00
Arjen Poutsma
7fa9105096
SPR-6236: Reintroduce Struts support
2009-10-15 10:31:47 +00:00
Arjen Poutsma
e24e768054
SPR-6164 - a Uri Value is incorrectly extracted if it contains '.'.
2009-10-15 09:18:14 +00:00
Keith Donald
64ded0484e
polish
2009-10-15 00:38:18 +00:00
Keith Donald
402f0924da
polish
2009-10-15 00:36:31 +00:00
Keith Donald
66d901b9fe
naming improvements from mark fisher code review
2009-10-15 00:33:17 +00:00
Keith Donald
4563cb2804
initial joda time support courtesy of Oliver Gierke
2009-10-15 00:20:14 +00:00
Keith Donald
d5a954833c
method invoking formatter as a convenience
2009-10-14 22:47:14 +00:00
Mark Fisher
bc207042d0
SPR-6170 updated CronSequenceGenerator according to patch applied to the 1.0.x branch of Spring Integration
2009-10-14 22:22:21 +00:00
Sam Brannen
62d7369607
JavaDoc polishing
2009-10-14 22:06:51 +00:00
Keith Donald
4d9bf3a45f
removed valueOf convention b/c of unwanted side effects
2009-10-14 21:37:57 +00:00
Keith Donald
dc076ee6fe
fixed failing tests
2009-10-14 20:45:53 +00:00
Keith Donald
728a1415d9
added convention-based default valueOf formatter
2009-10-14 18:57:36 +00:00
Sam Brannen
a696a4fec9
DataBinder now accepts var-args to set allowed, disallowed, and required fields
2009-10-14 14:49:24 +00:00
Sam Brannen
52f03fc759
Added "Changes in version 3.0.0.RC2" section.
2009-10-14 14:47:17 +00:00
Sam Brannen
704d4b785b
[SPR-6227] Parameterizing with Class<?> and Class<T> where appropriate; suppressing unchecked warnings; and fixed JavaDoc typos.
2009-10-14 14:07:48 +00:00
Sam Brannen
986ccbe2c6
Suppressing unchecked and serial warnings.
2009-10-14 14:03:11 +00:00
Arjen Poutsma
17d5b31af3
SPR-6206 - When looking up methods with @RequestMapping annotation, unannotated bridge methods are included
2009-10-14 12:24:04 +00:00
Sam Brannen
52ad49b3ae
fixed typo and JavaDoc polishing.
2009-10-14 10:48:00 +00:00
Arjen Poutsma
5310035700
SPR-6214 - Using @ResponseBody throws HttpMediaTypeNotAcceptableException when it supports writing an acceptable MediaType
2009-10-14 10:46:29 +00:00
Sam Brannen
0f06771249
fixed typo
2009-10-14 10:45:17 +00:00
Arjen Poutsma
523dba7285
SPR-6183 - integration-tests should not be included in the packaged distribution
2009-10-14 10:31:59 +00:00
Arjen Poutsma
8738fd7b7b
SPR-6177 - HttpHeadersTests fails with non-english locale
2009-10-14 09:53:25 +00:00
Juergen Hoeller
74f4749372
fixed extraction of Controller suffix (SPR-6153)
2009-10-13 23:10:48 +00:00
Juergen Hoeller
b2129577b9
polishing
2009-10-13 22:48:25 +00:00
Juergen Hoeller
cfa7216fac
deprecated scheduling support for JDK 1.3 Timer
2009-10-13 21:52:44 +00:00
Juergen Hoeller
3331f16ef7
revised RootBeanDefinition constructors
2009-10-13 21:39:27 +00:00
Juergen Hoeller
e2af25b891
avoid hard-coded dependency on backport-concurrent (SPR-6161)
2009-10-13 21:37:05 +00:00
Juergen Hoeller
b4ffdcdf18
polishing
2009-10-13 20:59:10 +00:00
Juergen Hoeller
84447cdf94
DataBinder activates autoGrowNestedPaths by default; fixed enum binding with WebRequestDataBinder
2009-10-13 20:55:57 +00:00
Juergen Hoeller
a293f50851
Enum counts as simple value type
2009-10-13 20:51:59 +00:00
Juergen Hoeller
49b647ca93
check against MultipartRequest mixin interface
2009-10-13 20:51:01 +00:00
Juergen Hoeller
677baaceb8
polishing
2009-10-13 20:49:34 +00:00
Andy Clement
c9057fd1da
SPR-6230: SpEL improvements
2009-10-13 18:11:34 +00:00
Arjen Poutsma
06286b19ce
Added URI variant methods to the RestTemplate.
2009-10-13 14:20:24 +00:00
Sam Brannen
6aee6a16ab
polishing
2009-10-13 11:46:40 +00:00
Sam Brannen
c8b8cf45b4
fixed typos and programlisting formatting.
2009-10-13 11:20:32 +00:00
Sam Brannen
9cb3fb7012
fixed typo
2009-10-13 11:19:35 +00:00
Keith Donald
9c3a0569c9
polish
2009-10-12 19:38:55 +00:00
Keith Donald
b781a39b46
polish
2009-10-12 19:25:35 +00:00
Keith Donald
16d294c2c0
spring 3 object mapping ref docs
2009-10-12 19:14:45 +00:00
Sam Brannen
b287d5a9f1
JUnit 4.6 --> 4.7
2009-10-11 18:31:19 +00:00
Sam Brannen
3dfb1d5c9c
[SPR-6222] Updating PetClinic Ivy dependencies so that the web-app runs.
2009-10-11 18:24:36 +00:00
Sam Brannen
2e59673e73
[SPR-6222] Updating PetClinic tutorial.
2009-10-11 18:23:26 +00:00
Sam Brannen
f57d702370
[SPR-6222] Updating PetClinic build documentation regarding migration to Spring Build and changes resulting from the upgrade to Spring 3.0.
2009-10-11 18:08:44 +00:00
Sam Brannen
0b069ebe46
Updating PetClinic build documentation regarding migration to Spring Build.
2009-10-11 15:53:51 +00:00
Sam Brannen
8fe497ef53
Updating PetClinic build documentation regarding migration to Spring Build.
2009-10-11 15:30:56 +00:00
Sam Brannen
7983ded6e0
Renamed PetClinicSuiteTests to PetClinicTestSuite so that it doesn't get picked up by Spring Build.
2009-10-11 15:06:29 +00:00
Sam Brannen
a3c3b257e1
Pet Clinic tests now run against JUnit 4.7.
2009-10-11 15:03:18 +00:00
Sam Brannen
a75a975219
Pet Clinic test suite now includes VisitsAtomViewTest.
2009-10-11 15:02:24 +00:00
Sam Brannen
2827f80d34
Removed @Override.
2009-10-08 13:32:49 +00:00
Sam Brannen
66550c3340
Added an empty implementation of the missing setExclude() method so that the class compiles.
2009-10-08 13:25:43 +00:00
Keith Donald
96cfa0c37d
custom mappable type tests
2009-10-07 21:33:53 +00:00
Keith Donald
8fd3de9397
mappable type factory extension point / polish
2009-10-07 20:27:48 +00:00
Keith Donald
e3983fe796
polish
2009-10-07 19:37:07 +00:00
Keith Donald
8fe055b0e0
mapping exclusions
2009-10-07 19:28:39 +00:00
Keith Donald
a73324bc24
polish
2009-10-07 19:11:22 +00:00
Keith Donald
a4476e5e0e
nested bean mapper test
2009-10-07 19:03:33 +00:00
Keith Donald
f692c765d2
addNestedMapper
2009-10-07 17:50:03 +00:00
Keith Donald
3450c5de0b
polish
2009-10-07 17:36:30 +00:00
Keith Donald
ec04357580
polish
2009-10-07 17:28:28 +00:00
Keith Donald
9cf508d80d
javadoc
2009-10-07 17:18:10 +00:00
Keith Donald
ba5335f66e
polish
2009-10-07 17:03:02 +00:00
Keith Donald
c333494085
javadoc
2009-10-07 17:02:22 +00:00
Keith Donald
6d31db1017
renamed to MappingContext since no spel dep
2009-10-07 16:56:13 +00:00
Keith Donald
acf574c3e3
added conversion service performance optimizations; added mapping cyclical ref handling; removed ConverterInfo in favor of specifying S and T at registration time if necessary
2009-10-07 16:54:36 +00:00
Andy Clement
c9f0e68c82
SPR-5307: Committing test but can't be uncommented until Spring depends on AspectJ 1.6.7
2009-10-07 02:54:44 +00:00
Keith Donald
0437305669
nested revision
2009-10-06 21:40:59 +00:00
Keith Donald
0f5074db2b
spel mapping, polish
2009-10-06 21:31:49 +00:00
Sam Brannen
2c2d79a4bf
polishing
2009-10-06 21:11:51 +00:00
Sam Brannen
b7e36461ca
Now mentioning JSR-330 annotations in test chapter.
2009-10-06 21:10:56 +00:00
Sam Brannen
c200715076
Now verifying support for @Named as well.
2009-10-06 21:10:06 +00:00
Chris Beams
d020d73118
SPR-6186: removed remaining duplicate check for @Configuration
2009-10-06 04:30:26 +00:00
Chris Beams
cbadf350e1
Continued progress on SPR-5682: Provide dedicated ApplicationContext implementations for use with @Configuration classes
...
Resolved sub-task SPR-6186: Eliminate duplicate code between ConfigurationClassApplicationContext and ConfigurationClassWebApplicationContext
2009-10-06 01:38:16 +00:00
Sam Brannen
ab10d37fae
Corrections regarding BindingResult(s); added a tip regarding programmatic use of LocalValidatorFactoryBean.
2009-10-05 22:24:42 +00:00
Sam Brannen
710ae3a9d2
SpringJUnit4ClassRunnerAppCtxTests now verifies seamless support for using @Inject in addition to @Autowired, etc.
2009-10-05 22:08:01 +00:00
Keith Donald
0a843e60a6
recursive mapping support
2009-10-05 20:28:10 +00:00
Chris Beams
fd8935ba0b
SPR-5682:
...
* polishing for ConfigurationClassApplicationContext & tests
* added ConfigurationClassWebApplicationContext & tests
* next: refactoring out duplications between ConfigurationClassApplicationContext & ConfigurationClassWebApplicationContext
2009-10-05 05:27:30 +00:00
Chris Beams
772a74a636
SPR-5682: fixing test breakage on CI server due to strange non-determinism in the order of bean names being returned in the key set of the map of beans matching the required type.
2009-10-05 03:29:20 +00:00
Chris Beams
8c5f78c0d6
polishing
2009-10-05 00:51:19 +00:00
Chris Beams
a48234cf5f
SPR-5682: Initial support for ConfigurationClassApplicationContext
2009-10-05 00:35:17 +00:00
Keith Donald
e7c8f1ef8b
SPR-6179, additional mapper test cases
2009-10-04 04:13:27 +00:00
Sam Brannen
6ea83afe1e
Corrected typos and cleaned up DocBook structure.
2009-10-03 23:45:23 +00:00
Sam Brannen
0860f3bb8c
[SPR-6174] DataBinder now uses var-args to set allowed/disallowed/required fields.
2009-10-03 22:23:41 +00:00
Sam Brannen
f08d15c86f
Fixed minor grammatical errors.
2009-10-03 22:19:21 +00:00
Sam Brannen
06872dd465
Fixed minor typo.
2009-10-03 22:18:50 +00:00
Keith Donald
341835a142
mapper initial commit
2009-10-02 16:28:53 +00:00
Sam Brannen
5c055ed6dd
[SPR-6174] DataBinder now uses var-args to set allowed/disallowed/required fields.
2009-10-01 23:28:27 +00:00
Sam Brannen
0eda92a51a
Fixed minor grammatical errors.
2009-10-01 22:52:46 +00:00
Andy Clement
076fc89a50
SPR-5518: Documented ability to use text rather than symbols for SPEL operators (lt, le, gt, ge, eq, ne, div, mod, not). Can help in XML specification of expressions.
2009-10-01 19:39:20 +00:00
Andy Clement
10e26e6dc7
SPR-6123: doc update on writing good pointcuts (should include a within())
2009-10-01 19:05:11 +00:00
Juergen Hoeller
71a045328c
renamed getAnnotations to getMethodAnnotations; added getMethodAnnotation and getParameterAnnotation convenience methods
2009-10-01 15:20:31 +00:00
Juergen Hoeller
b152ac34fd
CustomEditorConfigurer supports PropertyEditor instances again (with deprecation warning); for XFire compatibility (SPR-6157)
2009-10-01 13:40:55 +00:00
Juergen Hoeller
0c47a01953
fixed ContentNegotiatingViewResolver to work with the combination of ignoreAcceptHeader=true plus defaultContentType as well (SPR-6163)
2009-10-01 12:06:58 +00:00
Juergen Hoeller
7a700edaa7
understand "on"/"off", "yes"/"no", "1"/"0" as boolean values (analogous to CustomBooleanEditor)
2009-10-01 11:18:48 +00:00
Juergen Hoeller
b465f204bd
renamed internal *GenericConverters to *Converters
2009-10-01 11:07:22 +00:00
Juergen Hoeller
0543a294ee
expose arrays as comma-delimited element String
2009-10-01 11:05:45 +00:00
Juergen Hoeller
784068346d
PathMatchingResourcePatternResolver leniently ignores non-existing root directories
2009-09-30 15:04:31 +00:00
Keith Donald
3fa533ddd8
SPR-6032 & SPR-6033: Auto grow nested path enhancements to BeanWrapper
2009-09-29 19:54:35 +00:00
Ramnivas Laddad
832db0abbc
Updated Groovy version for Eclipse project to mathc ivy.xml
2009-09-28 20:56:13 +00:00
Ramnivas Laddad
191293f2ef
Fixed a commented test
2009-09-28 20:55:12 +00:00
Sam Brannen
f95dff6975
org.springframework.instrument.classloading --> org.springframework.instrument.tomcat
2009-09-26 21:02:58 +00:00
Sam Brannen
bfddb0938b
Abed Rabbo --> Abedrabbo
2009-09-26 20:58:50 +00:00
Juergen Hoeller
72d9640801
final touches for 3.0 RC1
2009-09-25 15:00:43 +00:00
Juergen Hoeller
270fc84923
added ".vm" as resource file extension
2009-09-25 14:48:21 +00:00
Juergen Hoeller
4d29f65a9c
@Event/ResourceMapping uniquely mapped to through event/resource id, even across controllers (SPR-6062); type-level @RequestMapping header conditions validated in Portlet environments as well
2009-09-25 14:45:35 +00:00
Mark Fisher
76122c931d
updated javadoc
2009-09-25 14:25:56 +00:00
Mark Fisher
22e1305cf0
updated reference documentation now that the <executor/> and <scheduler/> element's 'size' attribute has been renamed to 'pool-size'
2009-09-25 14:21:49 +00:00
Mark Fisher
80ac130dfe
Renamed the 'size' attribute to 'pool-size' for the <executor/> and <scheduler/> elements in the task namespace.
2009-09-25 14:19:42 +00:00
Arjen Poutsma
cafc106ccc
Renamed org.springframework.instrument.classloading module to org.springframework.instrument.tomcat
2009-09-25 12:51:58 +00:00
Juergen Hoeller
72f4572930
preparing for RC1 release
2009-09-25 11:03:57 +00:00
Juergen Hoeller
e408cbeecd
moved converter initialization code to constructor
2009-09-25 10:57:40 +00:00
Juergen Hoeller
ea40fb9bcd
all @SessionAttributes get exposed to the model before handler method execution; MultipartRequest is available as a mixin interface on (Native)WebRequest as well
2009-09-25 10:46:38 +00:00
Juergen Hoeller
9cb1338b94
all @SessionAttributes get exposed to the model before handler method execution; MultipartRequest is available as a mixin interface on (Native)WebRequest as well
2009-09-25 10:42:49 +00:00
Arjen Poutsma
e49869ea78
SPR-6148 - @ResponseBody with returned String results in unresolvable view ServletException
2009-09-25 10:34:54 +00:00
Arjen Poutsma
5b12503c47
SPR-6144 - @ResponseStatus annotation is ignored in an @Controller redirect (RedirectView)
...
SPR-5468 - Modify RedirectView to allow 301 Permanent Redirects
2009-09-25 10:23:06 +00:00
Juergen Hoeller
6fe0e36fe0
polishing
2009-09-25 09:59:17 +00:00
Juergen Hoeller
ce4e3784d1
updated dependencies
2009-09-25 09:58:54 +00:00
Juergen Hoeller
39a97a61af
resolve handler bean name early; validate header conditions as well
2009-09-25 09:53:30 +00:00
Juergen Hoeller
aec2bc097e
polishing
2009-09-25 09:45:10 +00:00
Juergen Hoeller
09e6a85edd
fixed overview files
2009-09-25 08:47:18 +00:00
Arjen Poutsma
04fa5d4b99
SPR-6093 - MVC Annotation Inheritance
2009-09-25 08:45:58 +00:00
Mark Pollack
d8245c800b
Add minimal doc for JSR 330 support.
2009-09-25 08:17:12 +00:00
Mark Pollack
7ae8be05d1
SPR-5994 - The release archive contains an unecessary .zip file of the contents under the reference doc directories html and html-single
2009-09-25 07:20:45 +00:00
Mark Pollack
c6cd1a528e
SPR-6119 - Add slf4j dependency back to orm's pom.xml but in test scope as it is needed to run tests that use Hibernate
...
SPR-5956 - Remove commons-logging dependency definitions in pom.xml for all but spring-core so as to make exclusion rule easier for user who use slf4j
2009-09-25 05:16:55 +00:00
Juergen Hoeller
cd1df84d7d
removed slf4j dependency (not used in Spring itself; SPR-6119)
2009-09-24 23:16:35 +00:00
Juergen Hoeller
34d2a69a82
removed separate placeholder test class
2009-09-24 22:58:15 +00:00
Juergen Hoeller
60acaf5671
updated dependencies
2009-09-24 22:55:21 +00:00
Juergen Hoeller
5c1b0e6caf
removed classes which are not used in 3.0 yet
2009-09-24 22:54:35 +00:00
Juergen Hoeller
a59d205b36
removed 3.1 feature classes
2009-09-24 22:53:17 +00:00
Juergen Hoeller
2781b876d2
PropertyPlaceholderConfigurer supports "${myKey:myDefaultValue}" defaulting syntax
2009-09-24 22:51:38 +00:00
Juergen Hoeller
0f43d6c592
PropertyPlaceholderConfigurer supports "${myKey:myDefaultValue}" defaulting syntax
2009-09-24 22:34:02 +00:00
Juergen Hoeller
8eca898d44
removed outdated "cacheJspExpressions" feature from ExpressionEvaluationUtils
2009-09-24 15:56:00 +00:00
Juergen Hoeller
c761082eea
added simplest possible ExpressionEvaluator
2009-09-24 15:48:48 +00:00
Juergen Hoeller
89aa13e8e5
removed Apache JSTL references completely
2009-09-24 15:35:28 +00:00
Juergen Hoeller
0463c612b5
removed Apache JSTL references completely
2009-09-24 15:31:10 +00:00
Juergen Hoeller
811e9fc043
consistent dependencies
2009-09-24 15:09:57 +00:00
Juergen Hoeller
e2093a8414
fixed regression: looking for annotation on original bean class as well, not just on exposed bean type (SPR-5981)
2009-09-24 14:59:26 +00:00
Juergen Hoeller
ad492e906e
PropertyOverrideConfigurer's "ignoreInvalidKeys" ignores invalid property names as well (SPR-5792)
2009-09-24 14:40:13 +00:00
Juergen Hoeller
557dd1f1c4
initialize transaction synchronization before doBegin call in order to avoid OutOfMemory failures after resource binding
2009-09-24 14:02:40 +00:00
Juergen Hoeller
49bf85baaa
factored out common resolveTypeArgument(s) method to GenericTypeResolver
2009-09-24 12:51:52 +00:00
Juergen Hoeller
b8c1130eec
detect @Bean methods on registered plain bean classes as well (SPR-5795)
2009-09-24 10:45:56 +00:00
Juergen Hoeller
38110d35d2
polishing
2009-09-24 10:21:40 +00:00
Arjen Poutsma
501a1ea9af
SPR-5910 - Slight Improvement for Main JavaDoc in RedirectView
2009-09-24 08:31:33 +00:00
Mark Pollack
bd098ce1db
pom maintenance - sync with ivy.xml
...
update junit version in ivy.xml for org.sf.aspects
2009-09-24 06:09:54 +00:00
Mark Fisher
616a48acc2
SPR-6142 AbstractMessageListenerContainer now accepts an implementation of the ErrorHandler strategy for handling any uncaught exceptions thrown while processing a Message. The default behavior is still to log at error-level only (no ErrorHandler).
2009-09-23 22:06:46 +00:00
Juergen Hoeller
33265eecbd
polishing
2009-09-23 21:19:28 +00:00
Juergen Hoeller
9508f41a91
made InitDestroyAnnotationBeanPostProcessor's logger field transient (SPR-5962)
2009-09-23 21:17:30 +00:00
Juergen Hoeller
d4c16e91df
SPR-6094: PostConstruct now processed top-down (base class first); @PreDestroy processed bottom-up (subclass first)
2009-09-23 20:53:21 +00:00
Juergen Hoeller
64bf3b74b5
revised Hessian/Burlap exception clauses (SPR-5897)
2009-09-23 19:35:44 +00:00
Keith Donald
2bd30a49ad
more tests
2009-09-23 18:36:11 +00:00
Keith Donald
7a6dafd5ad
completed generic converter implementation
2009-09-23 18:25:04 +00:00
Juergen Hoeller
ce800fb45a
allow instrumentation to be specified as a regular VM agent even in OSGi (SPR-6147)
2009-09-23 18:14:20 +00:00
Juergen Hoeller
dc05ef6548
revised JBoss VFS support
2009-09-23 17:05:39 +00:00
Juergen Hoeller
e56aa91bd7
"data.sql" instead of "test-data.sql" (SPR-6020)
2009-09-23 16:16:40 +00:00
Juergen Hoeller
c802253402
"data.sql" instead of "test-data.sql" (SPR-6020)
2009-09-23 15:58:38 +00:00
Rob Harrop
2eb6f497a9
updated testing chapter of ref guide
2009-09-23 14:59:21 +00:00
Juergen Hoeller
6fc190ec25
AbstractBeanDefinitionParser can deal with null return value as well (SPR-5872)
2009-09-23 13:51:14 +00:00
Keith Donald
438f128db6
todos
2009-09-23 04:50:03 +00:00
Keith Donald
187d025c19
map converters
2009-09-23 04:45:04 +00:00
Keith Donald
1ee4ac1b52
string to map converters
2009-09-23 04:20:23 +00:00
Mark Fisher
dedecf7ae9
SPR-6142 Moved ErrorHandler strategy interface to the org.springframework.util package so that it can be used by MessageListener containers in addition to TaskSchedulers.
2009-09-23 00:44:58 +00:00
Mark Fisher
e2c36fd592
Updated the context module's .classpath file for Groovy 1.6.3 (from 1.5.1)
2009-09-22 23:52:27 +00:00
Keith Donald
e6c3227d2d
more generic converters
2009-09-22 20:28:23 +00:00
Keith Donald
ed611be838
conversion utils helper for common code
2009-09-22 15:37:26 +00:00
Juergen Hoeller
871fc14fbb
restored parent property to accept ConversionService instead of GenericConversionService
2009-09-22 13:37:32 +00:00
Juergen Hoeller
0698947e6d
skip processing when no PlatformTransactionManager found (SPR-3955)
2009-09-22 13:31:56 +00:00
Keith Donald
c693f216f1
Beefed up test suite
2009-09-21 22:59:48 +00:00
Keith Donald
e9416db472
javadoc and final
2009-09-21 22:35:39 +00:00
Keith Donald
01e900c33a
documented hooks
2009-09-21 22:24:36 +00:00
Keith Donald
a6e28f4eb5
polish
2009-09-21 21:32:01 +00:00
Keith Donald
6ce33dba75
getConverter calls now throw exception and query parent
2009-09-21 21:24:37 +00:00
Arjen Poutsma
5faa4d90ac
SPR-6130 - Be able to specify a default content type when no extension is used in ContentNegotiatingViewResolver
2009-09-21 14:27:22 +00:00
Mark Pollack
4f94f45ec4
pom maintenance
2009-09-21 07:37:30 +00:00
Keith Donald
fe525f5100
polish
2009-09-21 05:51:10 +00:00
Keith Donald
5bae005366
removed ignored test now that convert system has been revised
2009-09-21 05:40:55 +00:00
Keith Donald
17f7796d42
polish
2009-09-21 05:39:16 +00:00
Keith Donald
cb54869726
collection to object
2009-09-21 05:30:54 +00:00
Keith Donald
67c02f6c35
generic converter revising
2009-09-21 05:14:14 +00:00
Jeremy Grelle
982ece595c
SPR-5931 - Allow non-standard attributes in <form> tags
2009-09-21 02:48:00 +00:00
Juergen Hoeller
566eeba8ca
specified excluded names matched against unprefixed FactoryBean names as well (SPR-5926)
2009-09-20 22:22:35 +00:00
Juergen Hoeller
9f75eb4f44
do not check for action exception in resource phase (SPR-6129)
2009-09-20 21:12:41 +00:00
Keith Donald
fada151878
array to object
2009-09-18 23:15:33 +00:00
Keith Donald
d37c5aba94
polish
2009-09-18 23:06:29 +00:00
Keith Donald
48bc060a77
collection and array merged into one
2009-09-18 23:02:52 +00:00
Keith Donald
2ca694350e
array to collection conversion
2009-09-18 22:18:41 +00:00
Juergen Hoeller
6c4fb85753
marked JBoss VFS dependency as optional (SPR-6127)
2009-09-18 21:34:25 +00:00
Juergen Hoeller
66ce8248b5
JSR-330 etc
2009-09-18 21:30:30 +00:00
Keith Donald
25854bd764
polish
2009-09-18 21:07:53 +00:00
Keith Donald
b4fd51abd5
polish
2009-09-18 20:41:15 +00:00
Keith Donald
45c542e51e
updated for change in conversion service api; source type desc now required
2009-09-18 20:32:41 +00:00
Keith Donald
b2e3837956
polish
2009-09-18 20:28:36 +00:00
Keith Donald
f1f4bd9fb4
generic converter updates
2009-09-18 20:08:45 +00:00
Keith Donald
d3b43ebccb
refined generic converter concept
2009-09-18 19:57:59 +00:00
Juergen Hoeller
6420fd303b
fixed checkbox macro (SPR-6120)
2009-09-18 14:42:36 +00:00
Keith Donald
8e800f0322
map to map generic converter
2009-09-18 14:30:23 +00:00
Juergen Hoeller
ac6e26388f
added default editors for "java.util.Currency" and "java.util.TimeZone"
2009-09-18 14:15:06 +00:00
Juergen Hoeller
99753f0d1c
polishing
2009-09-18 14:07:19 +00:00
Juergen Hoeller
89216a4b9a
marked Hibernate Validator as optional
2009-09-18 14:02:24 +00:00
Juergen Hoeller
7b42a12161
consistent loading of optional classes
2009-09-18 14:01:39 +00:00
Juergen Hoeller
8d66c90760
revised JTA 1.1 support and javadoc
2009-09-18 13:48:37 +00:00
Jeremy Grelle
1c134925ba
SPR-6114 - Upgrade the Spring JSP tag libraries to JSP 2.0
2009-09-17 22:39:35 +00:00
Keith Donald
d29a894d57
javadoc
2009-09-17 21:32:31 +00:00
Keith Donald
563ef683f9
polish
2009-09-17 21:27:57 +00:00
Keith Donald
e9d53cb2e8
ignore failing test for now while revising converter system
2009-09-17 21:11:52 +00:00
Keith Donald
1d9607b465
javadoc
2009-09-17 21:03:19 +00:00
Keith Donald
e26163505a
added sf4j logging to run tests in eclipse
2009-09-17 20:25:34 +00:00
Keith Donald
d848d21f09
polish
2009-09-17 20:16:26 +00:00
Keith Donald
e153a1a968
tidying string to char conversion
2009-09-17 20:05:38 +00:00
Keith Donald
5c3e71d494
polish
2009-09-17 19:56:19 +00:00
Keith Donald
3ef485bbbe
polish
2009-09-17 19:53:17 +00:00
Keith Donald
31441627de
updated formatter conversion service adapter to work with type descriptor
2009-09-17 19:48:55 +00:00
Keith Donald
39c1ab923f
tidying
2009-09-17 19:24:35 +00:00
Keith Donald
33c19b8b14
Converter system implementation cleanup and tidying; wip
2009-09-17 19:24:07 +00:00
Thomas Risberg
10c30f0315
modified createRelative according to David Ward's suggestion for JBSPRING-4 (SPR-5120)
2009-09-17 15:58:25 +00:00
Juergen Hoeller
ad4f50a0d4
removed outdated reflection code
2009-09-17 15:24:24 +00:00
Juergen Hoeller
9ef1d2b1ad
adapted to Converter signature change
2009-09-17 15:20:04 +00:00
Juergen Hoeller
6f2642f2d3
consistently use varargs signature
2009-09-17 10:24:56 +00:00
Juergen Hoeller
87e939a4e9
adapted to Converter signature change
2009-09-17 10:24:08 +00:00
Juergen Hoeller
160521074b
avoid caching for expression results even when specified as TypedStringValue (SPR-6115)
2009-09-17 10:04:36 +00:00
Keith Donald
8bf1ee5e7c
polish
2009-09-16 19:25:07 +00:00
Keith Donald
1c6965132f
convert polishing: removed checked exception from Converter interface to support direct use, added Converter to each implementation for consistency
2009-09-16 19:24:56 +00:00
Keith Donald
881c3ed6fa
Mapper and SpelMapper
2009-09-16 15:40:11 +00:00
Sam Brannen
a7ab109ab7
TestNG 5.10
2009-09-16 11:15:37 +00:00
Rob Harrop
01fb1825f5
[SPR-6063] fixed issue with inconsistent views of PropertyDescriptors
2009-09-16 09:53:14 +00:00
Rob Harrop
aa08c11976
[SPR-5859] @ManagedOperation can now be used on getters/setters
2009-09-16 09:25:48 +00:00
Juergen Hoeller
2a0d68cb5c
restored getMostSpecificMethod's traversal of the inheritance hierarchy
2009-09-15 22:31:08 +00:00
Juergen Hoeller
fd81aa205d
protected @Autowired method can be overridden with non-annotated method to suppress injection; private @Autowired methods with same signature will be called individually across a hierarchy (SPR-6112)
2009-09-15 15:52:13 +00:00
Juergen Hoeller
fa2bb722f0
initial JSR-330 injection support
2009-09-15 14:12:16 +00:00
Juergen Hoeller
ad1269622b
@Scope annotations not sufficient for scanning anymore
2009-09-15 12:36:45 +00:00
Juergen Hoeller
e1a3e44485
initial JSR-330 injection support
2009-09-15 12:00:55 +00:00
Arjen Poutsma
429d78b902
javadoc.
2009-09-15 11:02:44 +00:00
Juergen Hoeller
34357d2b1f
revised DefaultBindingErrorProcessor to use direct getPropertyName() and getValue() calls on PropertyAccessException itself (SPR-6111)
2009-09-15 10:51:50 +00:00
Arjen Poutsma
9f19e5e73b
Polish
2009-09-15 09:17:10 +00:00
Keith Donald
5fa7347641
polish
2009-09-14 23:18:31 +00:00
Keith Donald
0d6b9f1241
polish
2009-09-14 23:17:03 +00:00
Juergen Hoeller
ca928944db
marked Derby dependency as optional (SPR-6109)
2009-09-14 23:08:32 +00:00
Keith Donald
0d7f4117ab
polish
2009-09-14 22:51:22 +00:00
Keith Donald
c0d2c6fed4
polish
2009-09-14 22:43:44 +00:00
Keith Donald
af1c507f93
polish
2009-09-14 22:40:44 +00:00
Keith Donald
9e9f9df041
polish
2009-09-14 22:25:55 +00:00
Keith Donald
df7a4dba3a
polish
2009-09-14 22:00:54 +00:00
Keith Donald
5c525e546c
polish
2009-09-14 21:59:12 +00:00
Keith Donald
90697e884d
polish
2009-09-14 21:32:13 +00:00
Keith Donald
d5ed42e860
spring 3 validation docs; jsr303 integration
2009-09-14 20:54:46 +00:00
Rob Harrop
90652bf8ae
[SPR-5727] CronTriggerBean supports start delay
2009-09-14 15:53:05 +00:00
Rob Harrop
320f08ac79
[SPR-6017] a few more tweaks to how getLocalName is handled
2009-09-14 15:00:37 +00:00
Juergen Hoeller
bb70c9a4c4
@RequestParam and co support placeholders and expressions in their defaultValue attributes (SPR-5922); @Value expressions supported as MVC handler method arguments as well (against request scope)
2009-09-14 10:48:15 +00:00
Rob Harrop
7835e66abb
[SPR-6017] a few more tweaks to how getLocalName is handled
2009-09-14 10:43:04 +00:00
Arjen Poutsma
ee0a59d464
Test -> Tests
2009-09-14 10:24:42 +00:00
Rob Harrop
7d37c92e4f
[SPR-6017] a few more tweaks to the BeanDefinitionParserDelegate public contract
2009-09-14 10:02:15 +00:00
Juergen Hoeller
582c092f0e
revised use of generic provider class for Eclipse compile compatibility
2009-09-13 21:27:03 +00:00
Sam Brannen
f1bfcf0d25
[SPR-6104] @TestExecutionListeners now supports a 'listeners' alias for its existing 'value' attribute.
2009-09-13 13:55:34 +00:00
Rob Harrop
fe16447112
more work on enabling non-namespace extensions of xml parsing
2009-09-11 20:00:04 +00:00
Keith Donald
1e9fc388ac
added javax validation, hibernate, and vfs dependencies into eclipse
2009-09-11 19:04:03 +00:00
Rob Harrop
1480202aa3
[SPR-5644] Support for Enum<?> and Enum<T> values as FQN.FIELD_NAME in type conversion
2009-09-11 18:31:51 +00:00
Thomas Risberg
f7562614bc
changed from M4 to RC1
2009-09-11 15:34:32 +00:00
Thomas Risberg
8303d4945e
updated the oxm exceptions figure (SPR-6095)
2009-09-11 15:11:52 +00:00
Juergen Hoeller
2d3c6fa55f
removed outdated dependency on standard taglib (SPR-6099)
2009-09-11 14:22:26 +00:00
Thomas Risberg
64c46d48bb
extended the range for org.jboss.virtual (SPR-5120)
2009-09-10 11:12:23 +00:00
Thomas Risberg
184f63f689
fixed component scanning for JBoss 5 VFS; applied revised vfs-fixes-3.patch; added ResourceHandlingUtils (SPR-5120)
2009-09-10 10:35:04 +00:00
Thomas Risberg
377359b924
polished
2009-09-09 17:28:34 +00:00
Thomas Risberg
aeee120431
Beverly's edits reviewed; fixed coverage for SimpleJdbcCall and the use of default parameter values (SPR-5929)
2009-09-09 17:28:21 +00:00
Thomas Risberg
c1f0301433
reduced size of level 4 subsection headings
2009-09-09 17:27:05 +00:00
Thomas Risberg
ea674f2fa6
revised the detection of Sybase (SPR-6053)
2009-09-09 13:25:27 +00:00
Juergen Hoeller
4be3c5d88c
ObjectFactory etc
2009-09-08 23:05:11 +00:00
Juergen Hoeller
cfdb106910
polishing
2009-09-08 23:03:22 +00:00
Juergen Hoeller
634d4b4d4c
BeanFactory prefers local primary bean to primary bean in parent factory (SPR-5871)
2009-09-08 23:01:26 +00:00
Juergen Hoeller
ee1c68ead4
polishing
2009-09-08 22:35:55 +00:00
Juergen Hoeller
45dc856993
Jpa/JdoTransactionManager passes resolved timeout into Jpa/JdoDialect's beginTransaction; HibernateJpaDialect applies timeout onto native Hibernate Transaction before begin call (SPR-5195)
2009-09-08 22:35:32 +00:00
Rob Harrop
414d6633ea
[SPR-6048] fixed Exception signature in CronTriggerBean.afterPropertiesSet()
2009-09-08 21:57:41 +00:00
Rob Harrop
2b96fe8b5d
[SPR-5993] Fixed notice file
2009-09-08 21:50:26 +00:00
Rob Harrop
8f6a42bf64
[SPR-3635] [SPR-5039] [SPR-5813] JMX annotation inheritance fixed
2009-09-08 21:37:02 +00:00
Juergen Hoeller
7f7173f790
added copy of SerializationTestUtils to beans module
2009-09-08 21:00:48 +00:00
Juergen Hoeller
209f43bee7
BeanFactory supports ObjectFactory as a dependency type for @Autowired and @Value (SPR-6079)
2009-09-08 20:55:00 +00:00
Rob Harrop
7448214657
reworked PropertyPlaceholderConfigurer to use new PropertyPlaceholderHelper
2009-09-08 20:10:26 +00:00
Rob Harrop
f20c074ff4
reworked PropertyPlaceholderHelper
2009-09-08 19:09:12 +00:00
Rob Harrop
d16faafc4f
[SPR-6025] support for recursive property placeholder replacement in system properties
2009-09-08 17:13:02 +00:00
Rob Harrop
3fe09d70cd
[SPR-6025] added SystemPropertyUtilsTests
2009-09-08 16:29:43 +00:00
Rob Harrop
8357bcb050
[SPR-6025] PropertyPlaceholderUtils introduced
2009-09-08 16:24:38 +00:00
Rob Harrop
df3881d1e8
Update groovy dependency to match ivy.xml
2009-09-08 16:23:09 +00:00
Thomas Risberg
ceca0db645
added synchronization to compile method (SPR-6001)
2009-09-08 16:19:34 +00:00
Rob Harrop
ae461db82a
fix to resource handling in PluggableSchemaResolver
2009-09-08 08:37:10 +00:00
Juergen Hoeller
6651ff0c55
fixed formatter annotation lookup
2009-09-08 01:35:36 +00:00
Juergen Hoeller
c63567c2ef
JSR-303 etc
2009-09-08 00:50:52 +00:00
Juergen Hoeller
70038bcf3c
fixed format tests
2009-09-08 00:15:09 +00:00
Juergen Hoeller
0d084bd7f8
updated test dependencies
2009-09-08 00:11:28 +00:00
Juergen Hoeller
6e95b2c311
polishing
2009-09-08 00:05:09 +00:00
Juergen Hoeller
a86a698e5b
initial JSR-303 Bean Validation support; revised ConversionService and FormatterRegistry
2009-09-07 23:58:42 +00:00
Sam Brannen
f9f9b431a6
[SPR-4643] SpringJUnit4ClassRunner now optionally calls JUnit 4.7's BlockJUnit4ClassRunner.withRules() method using reflection in order to provide backward compatibility with JUnit 4.5 and 4.6.
2009-09-07 21:03:32 +00:00
Juergen Hoeller
7aff0755a3
expression parser uses context's ConversionService by default
2009-09-07 18:53:01 +00:00
Juergen Hoeller
7123e4f81e
expression parser uses context's ConversionService by default
2009-09-07 18:37:59 +00:00
Juergen Hoeller
efaf76b46f
polishing
2009-09-07 18:37:01 +00:00
Juergen Hoeller
57f90ad4ef
polishing
2009-09-07 18:07:17 +00:00
Juergen Hoeller
1045847cf7
updated to CGLIB 2.2 and EHCache 1.6.2
2009-09-07 18:04:27 +00:00
Juergen Hoeller
e6436bbbbe
fixed currently-in-creation check to apply with any log level (SPR-5996)
2009-09-07 12:50:49 +00:00
Juergen Hoeller
c5e49fc6dc
refined PathMatchingResourcePatternResolver's treatment of non-readable directories (SPR-6086)
2009-09-07 12:44:59 +00:00
Mark Fisher
c10342a553
Added documentation for @Scheduled and @Async annotations.
2009-09-07 04:06:18 +00:00
Rob Harrop
afd6fe9048
[SPR-5927] fixed FormTag attribute clearing
2009-09-06 19:09:29 +00:00
Mark Fisher
b18a1dc5b3
added documentation for the task namespace
2009-09-06 18:24:16 +00:00
Rob Harrop
bfa4231c9d
removed dependency on ServletException
2009-09-04 18:56:26 +00:00
Rob Harrop
aee3f14d3c
removed unecessary dependency on ServletException
2009-09-04 18:46:55 +00:00
Rob Harrop
c3546f4c78
fixed missing dependencies in iml file
2009-09-04 18:44:31 +00:00
Thomas Risberg
b482d6db12
revised the detection of Sybase (SPR-6053)
2009-09-04 18:37:50 +00:00
Rob Harrop
019c3c253a
[SPR-6017] updated DBDR and BDPD to allow for overriding of namespace-specific methods
2009-09-04 18:22:37 +00:00
Rob Harrop
5d17db64ec
updated javax.el dependency to match the IDEA project file
2009-09-04 18:17:38 +00:00
Rob Harrop
05fe679384
[SPR-6004] Fixed NPE in BeanDefinitionParserDelegate when using empty namespace as the default
2009-09-04 16:59:07 +00:00
Andy Clement
855eac549e
SpelExpressionParser made threadsafe
2009-09-03 20:09:11 +00:00
Keith Donald
cd20be7a4f
polish
2009-09-03 18:52:39 +00:00
Keith Donald
80570a28c0
polish
2009-09-03 16:54:24 +00:00
Keith Donald
b4aa322c4c
polish
2009-09-03 16:43:44 +00:00
Keith Donald
21d9b70fd8
polish
2009-09-03 16:32:09 +00:00
Keith Donald
9b2f161b7e
polish
2009-09-03 16:30:46 +00:00
Rob Harrop
a03ca86372
[SPR-6057] test case to show that bug is already fixed
2009-09-03 16:18:22 +00:00
Keith Donald
ca159f6d9a
polish
2009-09-03 15:01:54 +00:00
Keith Donald
223e1e4522
polish
2009-09-03 14:44:10 +00:00
Keith Donald
35c4a4b3b0
polish
2009-09-03 14:06:10 +00:00
Juergen Hoeller
d0c8545d9b
updated setCookieMaxAge to match getCookieMaxAge return type (SPR-6070)
2009-09-03 12:15:19 +00:00
Keith Donald
477c4d3865
updaten new in 3
2009-09-03 05:32:19 +00:00
Keith Donald
19450cd069
updaten new in 3
2009-09-03 05:30:56 +00:00
Keith Donald
e7095748f3
polish
2009-09-03 04:44:21 +00:00
Keith Donald
421aab0fa5
polish
2009-09-03 04:41:37 +00:00
Keith Donald
354e6fafe9
polish
2009-09-03 04:17:18 +00:00
Keith Donald
d18bc356f2
polish
2009-09-03 03:40:37 +00:00
Keith Donald
835ebfcd25
setting up FormatterRegistrY
2009-09-03 03:36:57 +00:00
Keith Donald
70083474e1
polish
2009-09-02 23:47:21 +00:00
Keith Donald
900660ae56
converter / formatter docs initial commit
2009-09-02 23:34:01 +00:00
Thomas Risberg
d10be7443f
Fixed JavaDoc for determineRootDir method (SPR-5340)
2009-09-02 20:03:12 +00:00
Keith Donald
f323a5bb5d
fixed broken classpaths for ehcache and junit
2009-09-02 16:29:43 +00:00
Sam Brannen
0a781f3084
Including HibernateSessionFlushingTests in the suite.
2009-09-01 17:33:29 +00:00
Sam Brannen
2dee54b78a
[SPR-4702] now updating TestContext state before calling before/after test class life cycle callbacks.
2009-09-01 17:33:12 +00:00
Juergen Hoeller
ba425c34f8
updated to EHCache 1.6.0
2009-08-31 11:40:48 +00:00
Juergen Hoeller
8675281972
updated to AspectJ 1.6.5
2009-08-31 11:30:30 +00:00
Juergen Hoeller
8754f0bc85
updated dependencies
2009-08-31 11:25:54 +00:00
Chris Beams
19bccaaa11
updates made during my review of beans.xml:
...
* eliminated all usage of "the section entitled", because <xref> links already render including "the section called ". This was resulting in sentences like 'see also the section entitled the section called "@Autowired"'. This issue affected nearly all sections of the documentation, so went beyond just beans.xml
* fixed table overflow in the "Using filters to customize scanning" section (approx. p.90)
* fixed all code overflows in <programlisting/> elements
* corrected a couple minor syntax errors with SpEL examples (missing closing braces)
* added 'language="..."' element to <programlisting> elements where appropriate to enable syntax highlighting.
* normalized all code indention to four-space (some code listings were using one- and two-space)
* updated all code listings to use same-line opening braces.
* eliminated section regarding backward compatibility with Spring DTDs and singleton=true|false. This seems like cruft to me, and we shouldn't keep historical notes around forever.
* Added <note> regarding the new thread scope (SimpleThreadScope) to Section 3.5 Bean Scopes. Also updated the section on registering a custom Scope implementation to use the SimpleThreadScope as an example.
* updated the new-in-3.xml section to improve the @Configuration example
2009-08-31 05:36:34 +00:00
Thomas Risberg
7b6029d515
Beverly's edits reviewed; modified the introduction part to include the preface text
2009-08-29 03:17:02 +00:00
Sam Brannen
a45d1dec65
[SPR-6011] SpringJUnit4ClassRunner once again supports collective timeouts for repeated tests
2009-08-28 17:29:37 +00:00
Sam Brannen
984504735e
[SPR-6011] SpringJUnit4ClassRunner once again supports collective timeouts for repeated tests.
2009-08-28 17:28:25 +00:00
Mark Fisher
e0c63d8cba
minor typos and tweaks to 'expressions' chapter
2009-08-28 12:44:54 +00:00
Sam Brannen
eda193fc98
Added assertPersonCount() functionality for increased robustness.
2009-08-28 09:23:02 +00:00
Arjen Poutsma
66a799552f
SPR-2784: Support MultipartFile-array property
2009-08-28 09:15:19 +00:00
Costin Leau
ae8c053568
+ fixed NPE when closing up non-initialized contexts
2009-08-28 05:43:12 +00:00
Juergen Hoeller
773bdcded5
changed NamedParameter/SimpleJdbcOperations parameter signatures to accept any Map value type (SPR-6046)
2009-08-27 13:53:00 +00:00
Arjen Poutsma
e1b73ade8a
Removed duplicate OrderItem
2009-08-27 13:51:47 +00:00
Juergen Hoeller
904c2358cd
adapted to changes in non-lenient mode
2009-08-27 10:45:46 +00:00
Arjen Poutsma
636c4901c0
More autoboxing madness.
2009-08-27 10:30:47 +00:00
Juergen Hoeller
fb7fd4bb52
added superfluous cast to get around ambiguity problem with some compilers
2009-08-27 10:23:04 +00:00
Costin Leau
015284af7c
+ add implicit (String) type for typed string values w/o a specified type
2009-08-27 09:47:15 +00:00
Arjen Poutsma
c870e01757
Added castor properties
2009-08-27 09:26:01 +00:00
Arjen Poutsma
157a87e910
SPR-6003 - Improve CastorMarshaller support for loading class descriptors
2009-08-27 09:05:36 +00:00
Juergen Hoeller
52b51888f9
first cut of changes for 3.0.0.RC1
2009-08-27 01:01:25 +00:00
Juergen Hoeller
83289cb8b0
updated JPA 2.0 compatibility to EclipseLink 2.0.0.M7
2009-08-27 00:51:47 +00:00
Mark Fisher
d3a6c48cf0
modified intro to accommodate new order and added features
2009-08-27 00:17:08 +00:00
Mark Fisher
b5661ebd12
Moved Quartz and Timer discussion after TaskExecutor and TaskScheduler
2009-08-26 23:48:47 +00:00
Sam Brannen
a07da0d950
[SPR-6043] @NotTransactional is now deprecated
2009-08-26 23:23:07 +00:00
Mark Fisher
eb5d47c64e
Added documentation for the TaskScheduler abstraction.
2009-08-26 22:06:34 +00:00
Juergen Hoeller
ce3c72f8c2
compatibility with Hibernate 3.5 beta 1
2009-08-26 15:20:53 +00:00
Sam Brannen
4a7c299761
[SPR-5995] SpringJUnit4ClassRunner is now compatible with JUnit 4.5 - 4.7
2009-08-26 14:46:28 +00:00
Juergen Hoeller
e0bb838259
MBeanServerFactoryBean returns JDK 1.5 platform MBeanServer for agent id "" (SPR-5909)
2009-08-26 13:42:28 +00:00
Sam Brannen
8fb53c801e
[SPR-5995] Updated documentation regarding compatibility with JUnit 4.5, 4.6, and 4.7.
2009-08-26 13:13:06 +00:00
Sam Brannen
da3eb580f6
[SPR-5995] Renamed makeNotifier() to springMakeNotifier() in order to allow compatibility with JUnit 4.5, 4.6, and 4.7.
2009-08-26 12:37:59 +00:00
Juergen Hoeller
5a55b8384a
refined logging in JMS SingleConnectionFactory and DefaultMessageListenerContainer
2009-08-26 12:01:51 +00:00
Arjen Poutsma
5c2d63745f
SPR-6037 - Ability to configure a XStream subclass on XStreamMarshaller
2009-08-26 09:36:50 +00:00
Juergen Hoeller
04cd95ff50
fixed accidental test failures
2009-08-25 13:49:10 +00:00
Juergen Hoeller
9a48f3f3a8
try to create unknown collection implementation types via default constructor
2009-08-25 13:29:22 +00:00
Chris Beams
b118aae971
s/(init|destroy)MethodName/(init|destroy)Method/ to reflect recent changes made when porting @Bean to Spring core.
2009-08-25 05:10:42 +00:00
Christian Dupuis
a7acea2329
remove obsolete xsd
2009-08-24 23:09:25 +00:00
Costin Leau
0179c66d2a
+ add security manager checks to avoid the creation of inner privileged action classes
2009-08-24 15:53:48 +00:00
Juergen Hoeller
04b619ebfb
fixed accidental test failures
2009-08-24 13:48:21 +00:00
Juergen Hoeller
427edfe93c
fixed package-info
2009-08-24 13:36:32 +00:00
Juergen Hoeller
fee838a65e
support for default "conversionService" bean in an ApplicationContext; revised formatting package, now integrated with DataBinder and AnnotationMethodHandlerAdapter; revised AccessControlContext access from BeanFactory
2009-08-24 13:30:42 +00:00
Sam Brannen
9f9f2349cd
polishing
2009-08-24 12:14:57 +00:00
Sam Brannen
77821845a7
[SPR-4702] Updated JavaDoc regarding before/after test class lifecycle callbacks.
2009-08-22 21:50:02 +00:00
Sam Brannen
9eb19ac816
Polishing test annotation declarations and JavaDoc.
2009-08-21 11:44:38 +00:00
Keith Donald
a1b3b87540
polish
2009-08-20 03:53:49 +00:00
Keith Donald
641407cb4d
missing field test case
2009-08-20 03:51:20 +00:00
Keith Donald
901e88c575
polish
2009-08-20 03:45:08 +00:00
Keith Donald
78304c0ccf
core context.message, context.alert, model.binder modules; includes SpEL-based GenericBinder implementation
2009-08-20 03:40:23 +00:00
Keith Donald
2bd664f7ee
removed framework specific annotation in favor of user-defined for now
2009-08-19 15:02:50 +00:00
Keith Donald
704cc79cee
polish
2009-08-19 14:43:20 +00:00
Arjen Poutsma
8d7d3cff1b
SPR-6009 - @ExceptionHandler methods are still expected to return a ModelAndView, even when consuming a ServletResponse/OutputStream/Writer
2009-08-19 11:03:28 +00:00
Arjen Poutsma
3b7691d525
SPR-6008 - @ResponseStatus on @ExceptionHandler method is ignored
2009-08-18 14:37:23 +00:00
Arjen Poutsma
5680cd4a19
SWS-548 - Expose suppressNamespace and suppressXSIType as properties to CastorMarshaller
2009-08-18 10:45:20 +00:00
Keith Donald
20f5f99e9a
SPR-6013, SPR-6014, SPR-6015 tests
2009-08-17 23:13:29 +00:00
Keith Donald
db40e15a3e
polish
2009-08-17 18:43:47 +00:00
Keith Donald
2381452e9a
SPR-6012, SPR-6013, SPR-6014 initial commit
2009-08-17 18:35:04 +00:00
Arjen Poutsma
839e94618d
SWS-548 - Expose suppressNamespace and suppressXSIType as properties to CastorMarshaller
2009-08-17 08:50:41 +00:00
Sam Brannen
601120979b
[SPR-5964] Upgraded to TestNG 5.10
2009-08-11 10:31:06 +00:00
Sam Brannen
42638585b5
[SPR-5963] Upgraded to JUnit 4.7
2009-08-11 10:12:20 +00:00
Sam Brannen
5d17515dc5
[SPR-5888] Upgraded to TestNG 5.9.0.
2009-08-11 09:26:40 +00:00
Mark Pollack
7b26ae479b
pom maintenance - extraneous dependency on cglib-nodep
2009-08-10 23:31:56 +00:00
Arjen Poutsma
2df7ceac16
Removed ci.build=true
2009-08-10 09:00:11 +00:00
Costin Leau
8dbf86fb7a
+ update copyright dates on some files
...
+ migrated test from JUnit 3 to 4
2009-08-09 08:47:24 +00:00
Juergen Hoeller
2d7c2d6fff
revised wrapper type handling
2009-08-09 06:36:16 +00:00
Juergen Hoeller
d41344eb1f
preparations for 3.0 M4 release
2009-08-09 01:00:23 +00:00
Juergen Hoeller
dd67900109
revised core conversion package for BeanWrapper/BeanFactory integration
2009-08-09 00:52:41 +00:00
Juergen Hoeller
45a0cadf8e
revised core conversion package for BeanWrapper/BeanFactory integration
2009-08-09 00:46:49 +00:00
Juergen Hoeller
e9823b57b4
revised embedded database support
2009-08-08 20:37:47 +00:00
Juergen Hoeller
3ac3a72e91
added test with custom repository annotation
2009-08-08 13:57:05 +00:00
Juergen Hoeller
6e25ca8175
JMS SingleConnectionFactory uses minimized number of start calls (for Oracle AQ; SPR-5987)
2009-08-08 01:33:01 +00:00
Juergen Hoeller
23a1d07fbf
JMS SingleConnectionFactory uses minimized number of start calls (for Oracle AQ; SPR-5987)
2009-08-08 01:25:02 +00:00
Juergen Hoeller
83bd56c6de
JMS SingleConnectionFactory uses minimized number of start calls (for Oracle AQ; SPR-5987)
2009-08-08 01:01:39 +00:00
Juergen Hoeller
6b824d9af7
revised WebApplicationContext id determination; lazy logger initialization in ContextLoaderListener (SPR-5977)
2009-08-08 00:48:55 +00:00
Mark Pollack
33bb81b3ab
SPR-5986 - Error in pointing links about versions for documentation and content
2009-08-07 13:41:40 +00:00
Juergen Hoeller
9a0108ac6a
added support for @WebServiceProvider annotation to Spring's JaxWsServiceExporters (SPR-5988)
2009-08-07 10:00:27 +00:00
Mark Pollack
2cd71758ed
Apply Beverly's edits to mvc chapter.
2009-08-07 03:41:34 +00:00
Mark Pollack
19dc0d32d6
Apply Beverly's edits to mvc chapter.
2009-08-07 03:23:47 +00:00
Costin Leau
14e983ff9a
+ removed unneeded method (one less item off the stack)
2009-08-06 22:50:13 +00:00
Costin Leau
af6275a56e
+ small fix to reflection util to avoid accessibility calls
2009-08-06 22:44:04 +00:00
Costin Leau
af8af8c633
+ added fine grained privileged blocks to preserve the caller security stack when invoking the callee
2009-08-06 22:31:57 +00:00
Costin Leau
81eb11486d
+ fixed exception unwrapping
...
+ optimized path for getBean (and thus fixed another test)
2009-08-06 19:08:14 +00:00
Mark Fisher
65e00f7540
added support for ErrorHandler with DelegatingErrorHandlingRunnable in the TimerManagerTaskScheduler
2009-08-06 16:36:15 +00:00
Costin Leau
d5d3104b7b
+ interaction with user code uses now dedicated privileged when running under a security manager
2009-08-06 16:34:39 +00:00
Thomas Risberg
fe5b5022f0
Beverly's edits reviewed; spell checked
2009-08-06 16:27:20 +00:00
Thomas Risberg
c6edc5869a
removed RC1 references
2009-08-06 16:26:36 +00:00
Mark Pollack
3081396c15
pom maintenance - changes needed to run inside eclipse via m2eclipse
2009-08-06 06:04:56 +00:00
Juergen Hoeller
a7a97316e7
turned requestedSessionId into a settable property
2009-08-05 22:01:46 +00:00
Mark Pollack
ed61da9112
remove spring-parent to list of bundles
2009-08-05 21:17:40 +00:00
Mark Pollack
eed7bdfb41
add spring-parent to list of bundles and see if it gets published to maven-central
2009-08-05 20:42:15 +00:00
Mark Pollack
3005ad3029
add spring-parent to list of bundles and see if it gets published to maven-central
2009-08-05 20:37:33 +00:00
Mark Pollack
3e02887dd2
SPR-5979 - Reference guide refers to non-existing type StandardScopes
...
SPR-5965 - Typo error in reference documentation - "What's new in Spring 3.0"
2009-08-05 19:02:55 +00:00
Mark Pollack
97e3b5ca8c
SPR-5976 - Upgrade POMS to JUnit 4.6
2009-08-05 17:48:53 +00:00
Mark Pollack
f9016fdbe4
SPR-5970 - Tidy up Maven central POM for spring-webmvc
2009-08-05 17:44:54 +00:00
Mark Pollack
1683179434
SPR-5968 - Maven central POM for spring-web has wrong versions of dependencies and a missing dependency
2009-08-05 17:44:08 +00:00
Mark Pollack
8d1fdd8c3c
SPR-5969 - Tidy up Maven central POM for spring-context-support
...
SPR-5976 - Upgrade POMS to JUnit 4.6
2009-08-05 17:41:54 +00:00
Keith Donald
bdd43f5f9f
pruned presentation model system from trunk to move to dev branch as its a 3.1 feature now
2009-08-05 15:51:59 +00:00
Keith Donald
3ae3196ca7
pruned presentation model system from trunk to move to dev branch as its a 3.1 feature now
2009-08-05 15:29:26 +00:00
Keith Donald
00f90cd816
pruned presentation model system from trunk to move to dev branch as its a 3.1 feature now
2009-08-05 15:25:54 +00:00
Arjen Poutsma
93e99556c0
SPR-4700 - Add single checkbox input macro for Velocity and Freemarker
2009-08-05 12:16:11 +00:00
Arjen Poutsma
7043dff97b
2009-08-05 11:54:07 +00:00
Arjen Poutsma
8db13bb445
Deprecated org.springframework.enums
2009-08-05 11:51:13 +00:00
Arjen Poutsma
b95f3f6792
Getting rid of @Ignore
2009-08-05 11:31:11 +00:00
Mark Pollack
7d75082b22
SPR-5851 - Set Maven repositories as non-snapshot
2009-08-04 17:26:28 +00:00
Mark Fisher
4afcddcbc7
added PeriodicTrigger implementation
2009-08-04 15:58:54 +00:00
Arjen Poutsma
43519a57db
Doc
2009-08-04 13:44:09 +00:00
Arjen Poutsma
1915192d9a
2009-08-04 12:41:36 +00:00
Sam Brannen
372173f968
Parameterized/generified static methods in BeanUtils.
2009-08-04 12:06:14 +00:00
Arjen Poutsma
4267f8488f
SPR-5975 - BufferedImageHttpMessageConverter doesn't work on Google AppEngine
2009-08-04 08:07:24 +00:00
Thomas Risberg
54d403e6b8
revisions after spell check; tweaked text in section covering rollback rules
2009-08-04 03:42:12 +00:00
Thomas Risberg
7c06ea99bb
final revisions and marked all comments
2009-08-03 20:19:19 +00:00
Thomas Risberg
791faf4e63
put the definite article back in some places for Spring Framework to be consistent with common usage
2009-08-03 15:38:48 +00:00
Arjen Poutsma
3d29023ef3
Updating POMs to contain Junit & EasyMock version numbers. Apparently, the maven ant tasks cannot resolve our parent pom.
2009-08-03 09:21:44 +00:00
Mark Fisher
50956e0d37
added tests for ThreadPoolTaskScheduler
2009-08-01 03:12:19 +00:00
Mark Fisher
970fcab5de
Added ErrorHandler strategy for asynchronous tasks submitted to a scheduler. Replaced DelegatingExceptionProofRunnable with DelegatingErrorHandlingRunnable. Both ThreadPoolTaskScheduler and ConcurrentTaskScheduler now support the ErrorHandler strategy.
2009-08-01 02:57:15 +00:00
Mark Fisher
228e1d80fa
CronSequenceGenerator is now package-protected (only used by CronTrigger)
2009-07-31 18:49:18 +00:00
Thomas Risberg
c9cc30a379
updated chapter title
2009-07-31 13:25:06 +00:00
Keith Donald
a6330ca61e
Fixed failing test due to compiler differences
2009-07-31 04:31:59 +00:00
Keith Donald
77b294fe59
native web request parameter map tests
2009-07-31 04:15:23 +00:00
Keith Donald
9ed5353947
unified map view of request parameters, including multiparts
2009-07-31 04:10:55 +00:00
Keith Donald
d456a9326e
moved multipart and bind to web project since independent of servlet and required by new native web request parameter map
2009-07-31 04:10:22 +00:00
Keith Donald
9eb85af234
moved multipart and bind to web project since independent of servlet and required by new native web request parameter map
2009-07-31 03:44:59 +00:00
Keith Donald
e986434a25
moved collection utilities to util
2009-07-31 02:38:10 +00:00
Thomas Risberg
4bf3a9c9bd
changed J2EE to Java EE
2009-07-30 18:32:05 +00:00
Thomas Risberg
40c4941cbf
changed structure - added Parts for intro chapters and appendices; changed J2EE to Java EE
2009-07-30 18:31:00 +00:00
Thomas Risberg
dd96d6d249
Beverly's edits reviewed; changed J2EE to Java EE
2009-07-30 18:29:56 +00:00
Keith Donald
fc7c49a284
updated manifest template to add model package import
2009-07-30 11:28:28 +00:00
Keith Donald
e020b5752a
initial BindingLifecycle @MVC integration
2009-07-30 11:18:39 +00:00
Arjen Poutsma
44cf4e207a
SPR-5633 - Portlet-version of @ExceptionHandler
2009-07-30 10:10:36 +00:00
Keith Donald
db487b6d42
fixe bug in element type for jeremyg
2009-07-29 21:30:48 +00:00
Juergen Hoeller
17dfc8b0fc
fixed constructor resolution algorithm to trigger ambiguity exception as late as possible
2009-07-29 16:43:12 +00:00
Sam Brannen
c7661d5341
[SPR-5781] Added a "note" for static import for assertions; additional polishing.
2009-07-29 15:51:18 +00:00
Juergen Hoeller
5d009a2a98
prevent non-public access to bean class as well, if demanded
2009-07-29 15:15:47 +00:00
Arjen Poutsma
12e43ff92d
SPR-5953 - Allow SimpleMappingExceptionResolver to Resolve HTTP Status Codes
2009-07-29 12:57:56 +00:00
Arjen Poutsma
2d4ae59ff1
SPR-5961
2009-07-29 12:49:54 +00:00
Arjen Poutsma
9eb962d941
2009-07-29 09:37:34 +00:00
Arjen Poutsma
dc59ca427c
Using correct encoding (ISO-8859-1) instead of JVM default when no character encoding is given.
2009-07-29 08:37:59 +00:00
Andy Clement
7c6ea9b80d
per Ramnivas' suggestion, removing this bit to try and fix snapshot builds
2009-07-28 22:03:09 +00:00
Juergen Hoeller
3cb073abce
revised non-lenient resolution
2009-07-28 14:43:37 +00:00
Keith Donald
1d6a7e57c1
delegate to presentation model
2009-07-28 14:01:55 +00:00
Arjen Poutsma
b11970ed8d
SPR-5923 - HttpMessageConverter selection as a result of @ResponseBody should consider the requested content type
2009-07-28 13:12:12 +00:00
Keith Donald
de234e6839
polish
2009-07-27 22:23:50 +00:00
Keith Donald
d2d1de5457
mvc binding lifecycle; packaged with model map for now since it depends on it
2009-07-27 22:20:07 +00:00
Keith Donald
f0ca94d5f3
new presentation model methods; ability to surpress commit of dirty value in PMB
2009-07-27 21:49:09 +00:00
Keith Donald
0f434883dd
binding lifecycle per design review
2009-07-27 21:25:51 +00:00
Keith Donald
cd9f0bc10c
package info
2009-07-27 18:23:33 +00:00
Sam Brannen
522475a05b
[SPR-5893] polishing
2009-07-27 15:57:16 +00:00
Mark Fisher
fa1676460a
Replaced BinderSupport with a refactored AbstractBinder that delegates to a FieldBinder whose creation is the responsibility of each subclass.
2009-07-27 14:39:20 +00:00
Juergen Hoeller
1eabe2b441
lenientConstructorResolution flag applies to factory methods as well
2009-07-27 14:09:42 +00:00
Keith Donald
e85ad67fd0
javadoc
2009-07-27 12:39:23 +00:00
Keith Donald
ca060cea42
binder support
2009-07-27 12:36:16 +00:00
Arjen Poutsma
880eb9e2b2
SPR-5622: Changed javadoc to reflect current HandlerExceptionResolvers.
2009-07-27 11:24:46 +00:00
Arjen Poutsma
307fb0aec8
SPR-5942: MarshallingHttpMessageConverter should not require both marshaller and unmarshaller
2009-07-27 11:15:43 +00:00
Mark Fisher
ac56f1f9b1
Removed @Override on interface method.
2009-07-27 01:10:53 +00:00
Mark Fisher
88a68042ba
Initial import of GenericBinder.
2009-07-27 01:05:46 +00:00
Keith Donald
110ada7626
polish
2009-07-26 21:28:53 +00:00
Keith Donald
0124224ebf
polish
2009-07-26 21:27:58 +00:00
Keith Donald
ce8f07994d
polish
2009-07-26 21:25:39 +00:00
Keith Donald
505f3c245a
polish
2009-07-26 21:24:00 +00:00
Keith Donald
da7e596b2a
default message factory
2009-07-26 21:22:13 +00:00
Keith Donald
4ed3924e6f
javadoc polish; added errors() to BindingResults
2009-07-26 20:57:22 +00:00
Keith Donald
e6b6743c44
bind template polish
2009-07-26 20:24:44 +00:00
Keith Donald
a66aa8c320
added bind template / field binder
2009-07-26 20:23:51 +00:00
Sam Brannen
ccb0a30169
fixed minor typo
2009-07-25 23:03:24 +00:00
Sam Brannen
755b514468
[SPR-5798] fixed typos
2009-07-25 22:41:16 +00:00
Keith Donald
16b06306e0
presentation model binder tests
2009-07-25 17:40:42 +00:00
Keith Donald
dbf41e630b
polish
2009-07-25 17:39:35 +00:00
Keith Donald
edd7bb8d03
collapsed into support
2009-07-25 04:42:58 +00:00
Keith Donald
990d446c84
polish
2009-07-25 04:40:31 +00:00
Keith Donald
726d3464c1
obsolete
2009-07-25 04:23:01 +00:00
Keith Donald
4a1d51f082
updated test package structure
2009-07-25 04:21:44 +00:00
Keith Donald
63336ff4a4
polish
2009-07-25 04:14:43 +00:00
Keith Donald
934d4a5fe0
moved model binding and validation related code into model module-level package; separated out ui concerns into ui subpackage
2009-07-25 04:07:21 +00:00
Keith Donald
de5528840d
presentation model binder
2009-07-24 23:20:49 +00:00
Keith Donald
8709959a98
polish
2009-07-24 21:01:57 +00:00
Keith Donald
5f9a541386
polish
2009-07-24 21:01:33 +00:00
Keith Donald
55aae08e32
polish
2009-07-24 20:14:51 +00:00
Mark Fisher
1bfb26e4b2
updated aspectj weaver version in .classpath files to match ivy.xml configuration
2009-07-24 20:09:01 +00:00
Keith Donald
f261b5c3c4
javadoc polish
2009-07-24 20:07:20 +00:00
Keith Donald
a7465c1475
javadoc polish
2009-07-24 19:40:11 +00:00
Keith Donald
bbe4c2b611
polish
2009-07-24 19:32:34 +00:00
Keith Donald
a6cd69dc7c
polish
2009-07-24 19:17:47 +00:00
Keith Donald
9bdbad55e5
javadoc improvements
2009-07-24 19:11:54 +00:00
Keith Donald
4255b7b1b2
updated package descriptions to reflect latest refactoring
2009-07-24 16:16:13 +00:00
Keith Donald
5cb5169237
Refactored class naming to capture ui.binding system as a general PresentationModel framework; PresentationModel and FieldModel are the key API elements now
2009-07-24 15:50:37 +00:00
Juergen Hoeller
c7b019cd5c
@Required does not get processed on beans returned by @Bean factory methods (SPR-5744)
2009-07-24 13:29:28 +00:00
Keith Donald
840ac88b29
more pruning
2009-07-23 14:03:20 +00:00
Keith Donald
a74422ed65
polish
2009-07-23 13:55:39 +00:00
Keith Donald
14018541e2
polish
2009-07-23 13:43:23 +00:00
Keith Donald
55a7ba8357
binding executor
2009-07-23 13:39:33 +00:00
Keith Donald
29768cb068
binding factory locator
2009-07-23 13:31:06 +00:00
Keith Donald
a3b57e2a84
polish
2009-07-22 20:02:35 +00:00
Keith Donald
d5e6d91cc4
polish
2009-07-22 19:56:24 +00:00
Keith Donald
ab7e985d72
polish
2009-07-22 19:55:35 +00:00
Keith Donald
6e05d3bd6e
updated tests
2009-07-22 19:37:26 +00:00
Keith Donald
6c5fb23e79
data binding system polish; package improvements
2009-07-22 19:37:06 +00:00
Juergen Hoeller
f519406c37
@Primary/@Lazy/@DependsOn supported as meta-annotations; @Bean supported as meta-annotation on factory methods as well
2009-07-22 15:23:22 +00:00
Christian Dupuis
a4bbd9abda
xsds now use schemaLocation attribute on xsd:import elements to specify the concrete schema version to import
2009-07-22 14:06:44 +00:00
Juergen Hoeller
4deef3796e
@PostConstruct works for multiple private init methods of the same name in a hierarchy (SPR-5945)
2009-07-22 12:52:47 +00:00
Mark Pollack
9696c66517
Finished applying Beverly's edits
2009-07-22 04:53:58 +00:00
Keith Donald
5f99d02292
formatValue collection/array
2009-07-21 23:27:24 +00:00
Keith Donald
4e50c51139
list binding working
2009-07-21 22:54:52 +00:00
Keith Donald
14dd30c5a5
nested binding work; list binding still has kinks
2009-07-21 22:32:06 +00:00
Juergen Hoeller
f739c3fde1
resort to using @Bean directly
2009-07-21 15:22:58 +00:00
Juergen Hoeller
3462b43bb1
getAnnotationAttributes generally supports meta-annotation lookup
2009-07-21 14:44:07 +00:00
Juergen Hoeller
dbdd6eca60
AnnotationUtils.getAnnotation generally supports meta-annotation lookup
2009-07-21 14:35:42 +00:00
Juergen Hoeller
ec1f0e6211
support scope meta-annotations on factory methods as well
2009-07-21 14:23:25 +00:00
Juergen Hoeller
54285ea57c
polishing
2009-07-21 14:19:18 +00:00
Juergen Hoeller
3f6e4282d6
WebSphereUowTransactionManager falls back to UOWManagerFactory lookup by default
2009-07-21 14:18:53 +00:00
Juergen Hoeller
ea8f628c9c
polishing
2009-07-21 14:14:53 +00:00
Juergen Hoeller
364641e9bc
revised static annotation check
2009-07-21 14:12:16 +00:00
Juergen Hoeller
b2f9786ee8
completed Hessian 3.2 upgrade
2009-07-21 13:08:59 +00:00
Juergen Hoeller
8c7aec3c97
scoped proxies retain original qualifiers (SPR-5911)
2009-07-21 13:00:00 +00:00
Juergen Hoeller
da7aa37aa6
refined generic getProxy signature
2009-07-21 12:44:23 +00:00
Juergen Hoeller
d64bc93e36
updated Hessian support for Hessian 3.2 compatibility; general remoting refinements
2009-07-21 12:31:03 +00:00
Sam Brannen
05903d640b
* @ContextConfiguration's loader attribute is now inherited if not declared locally
...
* TransactionalTestExecutionListener no longer flushes transactions before rolling back
2009-07-21 12:22:09 +00:00
Sam Brannen
b3f3705286
[SPR-5944] Documented potential "false positives" in ORM test code.
2009-07-21 12:12:42 +00:00
Sam Brannen
ee1938eb74
[SPR-5315][SPR-5699] Reverted changes to TransactionalTestExecutionListener: transactions are no longer automatically flushed before rolling back.
2009-07-21 11:03:59 +00:00
Keith Donald
ec2833cd63
nested properties polish
2009-07-20 22:29:14 +00:00
Keith Donald
dc5faec189
all tests back compiling, still a few failing marked ignored
2009-07-20 22:05:28 +00:00
Keith Donald
603ffe80c8
list element binding
2009-07-20 20:34:02 +00:00
Keith Donald
2da1bb8607
more passing tests
2009-07-20 19:07:32 +00:00
Keith Donald
f39f91701d
property not found / required
2009-07-20 16:10:06 +00:00
Keith Donald
3cd3cddbe0
type formatters
2009-07-20 14:26:29 +00:00
Sam Brannen
b2c723a76e
[SPR-5916] polishing.
2009-07-20 12:14:56 +00:00
Sam Brannen
fc79d98b6a
[SPR-5916] ContextLoader class is now inherited from class hierarchy if not specified explicitly via @ContextConfiguration's loader attribute on the current test class.
2009-07-20 09:35:33 +00:00
Christian Dupuis
7f3c4cec25
STS-260: added missing import-package headers so that editor works again
2009-07-20 08:46:19 +00:00
Keith Donald
8ceb64fe0c
binding rule impl
2009-07-20 06:22:11 +00:00
Keith Donald
8147281c74
additional binding metadata
2009-07-20 03:48:57 +00:00
Keith Donald
9c78616e11
additional binding metadata
2009-07-20 03:48:32 +00:00
Keith Donald
263d502f51
polish
2009-07-19 06:42:33 +00:00
Keith Donald
0993e9cfb9
polish
2009-07-19 06:33:43 +00:00
Keith Donald
09c5d0eb97
binding status
2009-07-19 06:26:48 +00:00
Keith Donald
8d3fbc5df8
binding system refactoring - work in progress
2009-07-18 16:18:22 +00:00
Juergen Hoeller
8e2797153b
revised lenient constructor resolution (follow-up to SPR-5816)
2009-07-16 17:22:03 +00:00
Juergen Hoeller
7eabd2da56
introduced "nonPublicAccessAllowed" flag (SPR-5882)
2009-07-16 15:52:27 +00:00
Sam Brannen
ba27c29dc4
[SPR-5916] polishing.
2009-07-16 13:50:54 +00:00
Juergen Hoeller
a9254b34d1
introduced "lenientConstructorResolution" flag (SPR-5816)
2009-07-16 13:27:47 +00:00
Juergen Hoeller
f4a83c5c74
consistently allow array element
2009-07-16 11:35:25 +00:00
Juergen Hoeller
cf29d1c367
constructor argument type matching supports arrays and simple class names now (SPR-5844)
2009-07-16 11:25:52 +00:00
Mark Pollack
35b2a7e612
Applied and reviewed Beverly's final edits up to section "beans-factory-scopes"
2009-07-16 06:41:52 +00:00
Mark Pollack
241280d24d
Beverly's edits reviewed.
2009-07-16 03:17:53 +00:00
Chris Beams
9e0d87c518
SPR-5932 - Singleton @Bean methods behave like prototypes in a Spring DM environment
...
* s/registerCallbacks/registerStaticCallbacks/ - see issue comments for full details
2009-07-15 19:38:47 +00:00
Ramnivas Laddad
977cee4272
Override clover.do for spring-aspects to avoid build failure
2009-07-15 16:13:36 +00:00
Juergen Hoeller
68363f17a7
avoid potential NPE (SPR-5930)
2009-07-15 15:07:37 +00:00
Chris Beams
9163d8043b
updated .jms dependency on junit 4.6.0 from test->runtime to test->compile. touched all org.eclipse.jdt.core.prefs (during the process of importing the projects). only the date comments within each have changed.
2009-07-15 07:26:31 +00:00
Ramnivas Laddad
ef6395b949
Fixed a type in target name
2009-07-14 21:29:48 +00:00
Ramnivas Laddad
1a5b542309
Another attempt to fix clover-related build failure
2009-07-14 20:13:14 +00:00
Keith Donald
9be56a39b4
moved binding configuration to publis binder api
2009-07-14 13:58:39 +00:00
Arjen Poutsma
a8e8382034
Added more headers.
2009-07-14 09:24:15 +00:00
Arjen Poutsma
8073efd69f
SPR-5924 - REOPENED -PathVariable mappings are greedy over hard coded mappings
2009-07-14 07:08:02 +00:00
Ramnivas Laddad
252bd3942c
Stub out the clover target to allow successful building of snapshots
2009-07-13 21:27:19 +00:00
Keith Donald
0576fe2654
removed experimental stuff
2009-07-13 21:22:59 +00:00
Keith Donald
2cf157e09a
polish
2009-07-13 21:17:54 +00:00
Arjen Poutsma
abfc479bdb
SPR-5924 - REOPENED -PathVariable mappings are greedy over hard coded mappings
2009-07-13 15:35:24 +00:00
Arjen Poutsma
c9f4de3ebf
Added more headers.
2009-07-13 13:05:46 +00:00
Arjen Poutsma
ff1dac8381
SPR-5870 - Add support for content negotiation based on a request parameter value
2009-07-13 09:44:07 +00:00
Ramnivas Laddad
b1cb69fcb9
Override clover.instrument target to avoid build failure. Created SPR-5921 to fix this propertly.
2009-07-12 22:46:36 +00:00
Keith Donald
6206e5f11f
ignore failing test for now
2009-07-12 18:32:26 +00:00
Keith Donald
9f8638e557
fixed element type bug
2009-07-12 18:29:19 +00:00
Keith Donald
5904814ec6
ignore cases from some tricky scenarios
2009-07-12 18:05:13 +00:00
Keith Donald
eb4a767f6b
removed last ignore
2009-07-12 18:00:18 +00:00
Keith Donald
737c66d729
polish
2009-07-12 17:57:18 +00:00
Keith Donald
89a8e4073b
more el converters
2009-07-12 17:49:13 +00:00
Keith Donald
1344a6d4d0
more converters; since 3.0
2009-07-12 17:47:33 +00:00
Ramnivas Laddad
29139dfd1a
Fixed SPR-5920 by implementing GenericInterfaceDrivenDependencyInjectionAspect
2009-07-12 05:58:55 +00:00
Ramnivas Laddad
7199fcc233
Fixed SPR-5918.
...
Had to override the test.do definition in build.xml. Need to consult the spring-build team to add the change to spring-build itself.
Since classes in test sources from another project cannot be shared, had to duplicate those classes.
2009-07-12 04:47:59 +00:00
Sam Brannen
29327798c1
[SPR-5699] Investigating issues surrounding automatic flushing of the underlying ORM tool's session via TransactionalTestExecutionListener.
2009-07-11 16:45:48 +00:00
Keith Donald
c519f2bd3a
string to map
2009-07-10 23:42:39 +00:00
Keith Donald
f53e627bb5
string array to map converter
2009-07-10 23:27:27 +00:00
Keith Donald
e4c868b837
javadoc
2009-07-10 21:32:24 +00:00
Andy Clement
84bdd1ab8e
better method name
2009-07-10 19:44:40 +00:00
Andy Clement
3788a84b8e
for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo.
2009-07-10 19:43:50 +00:00
Andy Clement
e3e34b04d4
for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo.
2009-07-10 19:43:37 +00:00
Andy Clement
85eda27cd4
for Keith and his binder: fault in support for maps (if attempt made to reference into null map) and for general objects, e.g. foo.bar if foo was null, attempt to dynamically build foo.
2009-07-10 19:43:32 +00:00
Keith Donald
e85a6740d8
new tests for andy
2009-07-10 18:49:38 +00:00
Arjen Poutsma
6598fd736d
BindingJacsonConverter/View -> MappingJacksonConverter/View
2009-07-10 14:25:39 +00:00
Sam Brannen
cab7a9250d
Updated change log
2009-07-10 12:25:34 +00:00
Sam Brannen
5054802eb9
[SPR-5914] Updated reference manual to point out that class-level usage of @IfProfileValue overrides method-level usage.
2009-07-10 12:15:58 +00:00
Sam Brannen
696d78c144
[SPR-5914] ProfileValueUtils now properly ensures that class-level usage of @IfProfileValue overrides method-level usage.
2009-07-10 11:45:31 +00:00
Mark Pollack
0d98baa5c1
SPR-5619
2009-07-10 04:02:08 +00:00
Mark Pollack
69422e771f
SPR-5619 - (OpenSessionInViewTests, ClassUtilTests fixed)
...
Update org.sf.web/.classpath to refer to tiles 2.1.2
2009-07-10 03:30:12 +00:00
Mark Pollack
8c9346718b
POM maintenance/development - initial jarjar support in maven build for ASM
2009-07-10 02:12:50 +00:00
Mark Pollack
0c16554e23
SPR-5803 and additional POM maintenance/development
2009-07-09 19:38:07 +00:00
Keith Donald
c9a87de141
polish
2009-07-09 15:37:41 +00:00
Keith Donald
5cb03fa290
collapsed binding factory into binder for time being
2009-07-09 15:36:31 +00:00
Juergen Hoeller
a8fa8f4942
JMS SingleConnectionFactory performs start call within connection monitor (for Oracle AQ)
2009-07-09 10:27:02 +00:00
Juergen Hoeller
542b88fb04
only call LocaleResolver when encountering an actual HttpServletRequest
2009-07-09 10:03:17 +00:00
Keith Donald
2db239031f
polish
2009-07-09 05:51:49 +00:00
Keith Donald
80760ed7a4
polish
2009-07-09 05:22:51 +00:00
Keith Donald
0c1c5fffba
collection property type formatters
2009-07-09 05:18:15 +00:00
Keith Donald
2be6ce0407
binding string to list
2009-07-09 04:37:28 +00:00
Keith Donald
2aef75b907
list binding tests
2009-07-09 03:30:19 +00:00
Keith Donald
cbe6695273
formatted annotation to apply to formatted value object classes
2009-07-08 23:21:09 +00:00
Keith Donald
90bafe35cb
forgot to commit type descriptor
2009-07-08 22:46:29 +00:00
Keith Donald
2bbf827d57
numerous binding enhancements; removed lazy binding for time being
2009-07-08 21:43:35 +00:00
Juergen Hoeller
5ff6191d72
preserve custom pre-bound RequestAttributes implementations (for Grails)
2009-07-08 15:11:15 +00:00
Juergen Hoeller
68e07239c7
extended checkResource(Locale) signature
2009-07-08 13:37:27 +00:00
Juergen Hoeller
2b13afd891
updated Tiles support for Tiles 2.1 compatibility (SPR-5411)
2009-07-08 13:29:39 +00:00
Arjen Poutsma
928855e47a
Javadoc
2009-07-08 10:15:58 +00:00
Andy Clement
d3c54d979e
SPR-5906: test and fix for using expressions in property list keys and values
2009-07-07 20:13:21 +00:00
Andy Clement
dcb52dbbc1
SPR-5906: test and fix for using expressions in property list keys and values
2009-07-07 20:13:18 +00:00
Andy Clement
a2bce8c2a8
SPR-5905: support for inner type references in type references 'T(com.foo.A$B)' or in ctor calls 'new com.foo.A$B()'
2009-07-07 17:24:58 +00:00
Andy Clement
dbdac9fa31
SPR-5847: require quotes for dotted map key names, eg. map['a.b.c']
2009-07-07 16:32:56 +00:00
Andy Clement
a4b7ce168c
SPR-5804: problems with map access if it is the root object; SPR-5847: alternative map referencing strategies: a.b == a[b] == a['b']
2009-07-07 16:08:10 +00:00
Sam Brannen
2b869d57f2
[SPR-5902] JavaDoc polishing.
2009-07-06 22:36:47 +00:00
Sam Brannen
e31d947eb9
[SPR-5640] Updated reference manual regarding new support for marking the test application context as 'dirty' after each test method within a given test class.
2009-07-06 22:23:55 +00:00
Sam Brannen
eef6fd3f09
[SPR-5640] polishing
2009-07-06 19:24:34 +00:00
Andy Clement
eb69e7574b
SPR-5899: Invoking methods or constructors passing null (including varargs support)
2009-07-06 19:21:26 +00:00
Sam Brannen
c254f389c0
[SPR-5640] Added support for marking the test application context as 'dirty' after each test method within a given test class via the new DirtiesContext.classMode() attribute.
2009-07-06 19:17:16 +00:00
Andy Clement
ea2580af68
SPR-5518: textual alternatives for operators (eq, lt, le, gt, ge, ne, div, mod, not) - removes messy escaping for expressions declared in XML.
2009-07-06 18:53:48 +00:00
Sam Brannen
e77e070e7a
[SPR-4702] Reference manual updates
2009-07-06 18:04:37 +00:00
Sam Brannen
1f087b412d
[SPR-4702] Explicit tests for TestExecutionListener's new beforeTestClass() and afterTestClass()} lifecycle callback methods with TestNG support classes.
2009-07-06 15:08:06 +00:00
Sam Brannen
0483cb5a3d
[SPR-4702] Explicit tests for TestExecutionListener's new beforeTestClass() and afterTestClass()} lifecycle callback methods.
2009-07-06 14:48:27 +00:00
Sam Brannen
51b8b99dfc
[SPR-4702] JavaDoc updates
2009-07-06 13:41:01 +00:00
Sam Brannen
8dec6af038
[SPR-4702] Added support for @DirtiesContext at the test class level.
2009-07-06 12:58:56 +00:00
Sam Brannen
0222a4a56c
Polishing: suppressing warnings.
2009-07-05 21:29:28 +00:00
Sam Brannen
f26e2e3d7b
[SPR-4702] Improving JavaDoc for TestExecutionListener.
2009-07-05 11:50:19 +00:00
Keith Donald
dc935dcd6d
added validation result
2009-07-03 15:14:23 +00:00
Keith Donald
2bc76bcd68
initial validation constraint spi commit
2009-07-03 15:13:47 +00:00
Sam Brannen
70ee067400
[SPR-5887] Updated documentation regarding upgrade to JUnit 4.6.
2009-07-03 11:27:13 +00:00
Sam Brannen
ba746a8e51
[SPR-5887] Upgraded to JUnit 4.6.
2009-07-03 11:21:39 +00:00
Sam Brannen
ceffa783d4
[SPR-5889] Customized Spring Build to include TestNG tests in the automated build process; added global build.versions properties file as well.
2009-07-03 10:49:17 +00:00
Sam Brannen
91c9f544b1
[SPR-5889] Renaming TestNG tests from *Tests_ back to *Tests, but keeping @org.junit.Ignore to exclude them from the JUnit test run.
2009-07-03 09:57:19 +00:00
Sam Brannen
620c9b1f96
[SPR-5895] Upgraded to EasyMock 2.5.1.
2009-07-03 09:32:15 +00:00
Sam Brannen
8bfb56c75b
[SPR-5887] Upgraded to JUnit 4.6.0.
2009-07-02 18:07:55 +00:00
Sam Brannen
4da16bb1f9
Made fragile tests a little less fragile: increased max times.
2009-07-02 18:06:20 +00:00
Sam Brannen
0bbca8624f
Made fragile tests a little less fragile: increased max times.
2009-07-02 18:02:58 +00:00
Sam Brannen
0c2fa5208d
[SPR-5888] Upgrading to TestNG 5.9.
2009-07-02 16:03:31 +00:00
Sam Brannen
58db51324d
Made fragile tests a little less fragile: increased max times.
2009-07-02 16:02:24 +00:00
Arjen Poutsma
0f22e22ff3
Javadoc
2009-07-02 11:31:44 +00:00
Mark Pollack
474ffaac63
Beverly's copy edits - to be reviewed.
2009-07-01 15:24:04 +00:00
Arjen Poutsma
e1b9c18536
Added defaultViews property.
2009-07-01 10:01:19 +00:00
Arjen Poutsma
ef67fc245f
FixedJsonView
2009-07-01 09:40:11 +00:00
Andy Clement
7e05c928dd
support for concatenation with String via operator '+' - for Ramnivas.
2009-06-30 19:19:07 +00:00
Sam Brannen
a32448da02
Added link to the Mockito test spy "mock" testing library.
2009-06-30 18:40:33 +00:00
Arjen Poutsma
ca97981d52
Fixing the build, stupid java.util.Date
2009-06-30 09:05:56 +00:00
Thomas Risberg
f289b0ff15
updated note re. 3.0 tutorial
2009-06-29 16:59:22 +00:00
Sam Brannen
98320fb854
Fixed Eclipse .classpath by adding org.codehaus.jackson, org.codehaus.jackson.mapper, and org.mozilla.javascript.
2009-06-29 11:14:39 +00:00
Keith Donald
3c76303416
polish
2009-06-26 16:09:18 +00:00
Keith Donald
e4d091489b
polish
2009-06-26 15:35:28 +00:00
Keith Donald
7e3c1bf09a
prepping for jsr 303 integration
2009-06-26 15:33:35 +00:00
Keith Donald
0edc3d94bd
polish
2009-06-26 15:19:03 +00:00
Keith Donald
b0129111c5
javadoc
2009-06-26 15:11:00 +00:00
Keith Donald
60c2b38c03
Alerts test
2009-06-26 15:09:56 +00:00
Keith Donald
3b68cde32b
alerts static factory
2009-06-26 14:47:18 +00:00
Keith Donald
18412ae295
polish
2009-06-26 12:47:52 +00:00
Keith Donald
604e4b6db3
polish
2009-06-26 05:28:25 +00:00
Keith Donald
03c125ebd0
javadoc
2009-06-26 05:16:59 +00:00
Keith Donald
9c5a538ae7
bind and validate lifecycle rename
2009-06-26 05:02:00 +00:00
Keith Donald
023d05e37f
set locale
2009-06-26 04:52:50 +00:00
Thomas Risberg
6bb5bdd0c6
moved some misplaced JPA sections
2009-06-26 03:45:48 +00:00
Thomas Risberg
9eacd10615
removed some instances of unnecessary <value></value> elements
2009-06-26 03:37:18 +00:00
Thomas Risberg
a24eccb390
fixed JavaConfig example
2009-06-25 22:02:18 +00:00
Keith Donald
a0a5fcb4d9
polish
2009-06-25 20:28:53 +00:00
Keith Donald
00702e4e1c
polish
2009-06-25 20:27:39 +00:00
Keith Donald
5828010bae
Added binder factory; simplified public binder api
2009-06-25 20:26:22 +00:00
Keith Donald
9b7e9942db
polish
2009-06-25 19:18:02 +00:00
Keith Donald
6ce119483d
copyright
2009-06-25 18:26:07 +00:00
Keith Donald
3f5c43aaf5
message builder
2009-06-25 18:23:07 +00:00
Thomas Risberg
05e3c00a98
added link to Dave's transaction article
2009-06-25 16:54:42 +00:00
Thomas Risberg
abc47e56bd
updated WebSphere and WebLogic transaction manager sections to reflect currently supported versions
2009-06-25 14:51:37 +00:00
Thomas Risberg
efb63fb524
removed old @SuppressWarnings("unchecked")
2009-06-25 12:42:14 +00:00
Arjen Poutsma
49dd707b8a
Test for SPR-5822 - Extend @CookieValue mapping to support user-defined types
2009-06-25 11:50:00 +00:00
Thomas Risberg
c1a1becd29
polish
2009-06-25 10:59:33 +00:00
Keith Donald
a0520501d3
removed user values in favor of simple map after code review
2009-06-25 03:17:04 +00:00
Keith Donald
8eb8602125
eclipse refactor changed code unexpectedly
2009-06-24 22:26:17 +00:00
Keith Donald
1117050815
naming improvements since design review
2009-06-24 22:24:15 +00:00
Keith Donald
511701ebf4
polish
2009-06-24 22:09:46 +00:00
Thomas Risberg
11bf19a3b3
Re-added the methods using a ParameterizedRowMapper with a @deprecated notice to provide backwards compatibility (SPR-5837)
2009-06-24 16:41:06 +00:00
Arjen Poutsma
5ae919af1c
SPR-5853 - JSON formatting view for Spring MVC
2009-06-24 14:03:10 +00:00
Arjen Poutsma
398729cda1
SPR-5853 - JSON formatting view for Spring MVC
2009-06-24 13:55:36 +00:00
Arjen Poutsma
56b0606584
Fixing build
2009-06-24 13:26:01 +00:00
Arjen Poutsma
951c664cc4
Removed JsonFactory property, which is redundant with the ObjectMapper property.
2009-06-24 12:36:49 +00:00
Keith Donald
f1b936515f
@Model and @Bound annotations for configuring Binder instance from annotation model beans
2009-06-23 17:53:16 +00:00
Arjen Poutsma
13c3c577eb
SPR-5835 - CookieGenerator default max age value leads to expiration date back in 1977
2009-06-23 09:57:44 +00:00
Ben Hale
42590de197
Removing typo in POM
2009-06-23 07:25:20 +00:00
Juergen Hoeller
4b335dd7e2
added missing space
2009-06-22 20:02:40 +00:00
Juergen Hoeller
87314b950e
method invocation result gets set as JobExecutionContext result (SPR-5831)
2009-06-22 17:52:12 +00:00
Juergen Hoeller
6ee8fbe533
added explicit package imports for H2 and HSQLDB
2009-06-22 17:36:49 +00:00
Sam Brannen
c996f7ea7b
copyright and typo
2009-06-21 12:54:04 +00:00
Arjen Poutsma
3169d428ec
SPR-5760 - XStreamMarshaller can not activate XStream automatic annotations detection feature
2009-06-19 13:57:03 +00:00
Arjen Poutsma
c2e65baa70
SPR-5838 - XstreamMarshaller does not support field aliasing
2009-06-19 13:51:59 +00:00
Mark Pollack
bb3c9c1898
clean up use of old <value></value> usage.
...
Refer to STS and p-namespace
2009-06-19 13:43:33 +00:00
Arjen Poutsma
54ffedce0d
Documentation
2009-06-19 12:30:57 +00:00
Mark Pollack
e3ce3306fe
replace XML usage of JndiObjectFactoryBean with <jee:jndi-lookup/>
2009-06-19 12:22:18 +00:00
Mark Pollack
bf08c3ffbf
Document Elvis Operator (?: ) and Safe Navigation Operator (?.)
...
remove references to ANTLR
2009-06-19 11:58:00 +00:00
Arjen Poutsma
ea2ece4516
SPR-5772 - Annotation handler method matching doesn't get method/param choice right
2009-06-19 10:26:14 +00:00
Arjen Poutsma
ddcd9f4905
SPR-5836 - RestTemplate - postForObject() method
2009-06-19 07:50:06 +00:00
Keith Donald
4ea373b7dd
factored out alert from message; made binding responsible for alert generation
2009-06-18 18:09:01 +00:00
Sam Brannen
f749eacbc2
Disabled testExecuteLifecycleBindingErrors() until it passes consistently in the Ant build on Mac OS X.
2009-06-18 12:14:46 +00:00
Sam Brannen
10829f8b20
Repairing Eclipse classpaths and Ivy config:
...
- org.apache.openjpa -> 1.1.0
- com.sun.syndication -> 1.0.0
- javax.el -> 1.0.0
2009-06-18 11:36:04 +00:00
Mark Fisher
b2d73b9824
The 'task' sub-element of the 'scheduled-tasks' element is now 'scheduled' to be consistent with the @Scheduled annotation (and to avoid task:task).
2009-06-17 19:39:51 +00:00
Keith Donald
9368e76ffc
web bind and lifecycle tests; polish
2009-06-17 15:56:07 +00:00
Keith Donald
62eae6d06a
message argument accessor - thanks andy
2009-06-17 03:12:44 +00:00
Arjen Poutsma
a4419c98bf
Removed REST chapter.
2009-06-16 15:06:46 +00:00
Arjen Poutsma
1f13148458
Moved REST Etag filter to MVC chapter
2009-06-16 14:37:57 +00:00
Arjen Poutsma
e9ac4bc0ad
Moved REST HTTP Method Conversion to View chapter.
2009-06-16 14:31:42 +00:00
Arjen Poutsma
06777c8123
Moved REST @ExceptionResolver to MVC chapter.
2009-06-16 14:16:38 +00:00
Arjen Poutsma
b57085909c
Moved REST views to View chapter.
2009-06-16 14:11:35 +00:00
Mark Pollack
7b1ff5859e
minor cleanup
2009-06-16 02:37:19 +00:00
Arjen Poutsma
444378c426
SPR-5825 - ShallowEtagHeaderFilter doesn't work: response body is empty
2009-06-15 10:58:45 +00:00
Arjen Poutsma
c254924b4c
Added @Override
2009-06-15 09:30:46 +00:00
Keith Donald
3504ba3374
polish
2009-06-13 18:38:04 +00:00
Keith Donald
7ef1dace6e
polish
2009-06-13 18:31:32 +00:00
Keith Donald
6d59dad4b2
since 3.0; lifecycle pkg
2009-06-13 18:26:48 +00:00
Keith Donald
42cdeb4302
since 3.0
2009-06-13 18:25:59 +00:00
Keith Donald
079b856a6c
javadoc
2009-06-13 18:02:40 +00:00
Keith Donald
aba0b6d7e0
ignore failing test for now - andy c to investigate next wk
2009-06-13 17:23:40 +00:00
Keith Donald
dea3f3433b
ignore failing test for now - andy c to look at next wk
2009-06-13 17:20:49 +00:00
Keith Donald
d0079c6058
el-based message resolution; expected failure right now
2009-06-13 17:18:12 +00:00
Keith Donald
97e7dfb398
intermediate commit - wip bind and validate lifecycle
2009-06-13 12:45:25 +00:00
Mark Pollack
f05df17037
Remove the emphasis on BeanFactory and replace with use of ApplicationContext
...
Remove example of ObjectFactoryCreatingFactoryBean
Some chapter restructuring
More explicit listings of non-XML based configuration options.
2009-06-12 21:01:05 +00:00
Sam Brannen
2eeeb1b919
Project now builds in Eclipse: added org.codehaus.jackson JARs and sorted classpath entries.
2009-06-12 15:51:20 +00:00
Sam Brannen
d6d72b225c
Fixed typo
2009-06-12 15:09:23 +00:00
Sam Brannen
7038e1fa3d
[SPR-5824] Removed references to StandardScopes from the reference manual; updated examples accordingly; corrected typos; etc.
2009-06-12 14:29:29 +00:00
Sam Brannen
3caecbd1ef
A "path patch": AntPatchStringMatcher -> AntPathStringMatcher ;)
2009-06-12 14:26:37 +00:00
Arjen Poutsma
ed98bf0668
SPR-5812 - Custom regex matching for @PathVariable
2009-06-12 12:58:27 +00:00
Sam Brannen
0096930a72
Moving Validator and ValidateResults from src/test to src/main so that the build is no longer broken.
2009-06-12 12:18:34 +00:00
Arjen Poutsma
9a84ef4686
- Javadoc
...
- Renamed JacksonHttpMessageConverter to BindingJacksonHttpMessageConverter
2009-06-12 11:26:13 +00:00
Sam Brannen
d26df490b5
JavaDoc typo
2009-06-12 09:56:39 +00:00
Sam Brannen
20195eb66b
JavaDoc typo
2009-06-12 09:29:24 +00:00
Arjen Poutsma
3ca8c9be17
SPR-5823 - JSON HttpMessageConverter
2009-06-12 07:53:53 +00:00
Juergen Hoeller
1242400789
marked several dependencies as optional (SPR-5820)
2009-06-11 21:59:07 +00:00
Keith Donald
04fa16b699
successes/failures impl
2009-06-11 21:00:19 +00:00
Keith Donald
75c7a7aeeb
polish
2009-06-11 20:56:47 +00:00
Thomas Risberg
f70d14e2c2
added support to SimpleJdbcInsert for including synonyms when table metadata is retrieved; this only applies to Oracle (SPR-4782)
2009-06-11 20:54:09 +00:00
Keith Donald
1d6a3e5360
bind and validate lifecycle initial commit
2009-06-11 20:29:01 +00:00
Keith Donald
8998228fac
formatter registry
2009-06-11 19:03:43 +00:00
Mark Pollack
d89c8e5ea4
Internal formatting changes introduced only by XmlMind editor, mostly changing < to %lt;
2009-06-11 18:15:55 +00:00
Andy Clement
6875df28d9
change from string compare to code compare for Spel exceptions
2009-06-11 16:18:13 +00:00
Andy Clement
69e48828cc
change from SpelMessages to SpelMessage. Changed exception getter to getMessageCode() from getMessageUnformatted
2009-06-11 16:17:44 +00:00
Keith Donald
b9b893f868
annotation factory for currency format is overkill
2009-06-11 14:21:19 +00:00
Keith Donald
dcb3448748
javadoc
2009-06-11 14:15:52 +00:00
Arjen Poutsma
f7bf6138f8
SPR-5808 - Make HttpMessageConverterExtractor top level class
2009-06-11 09:51:45 +00:00
Arjen Poutsma
59e41a270d
SPR-5808 - Make HttpMessageConverterExtractor top level class
2009-06-11 09:35:56 +00:00
Arjen Poutsma
58d3e704bf
SPR-5745 - Support lazy initialization within Jaxb2 OXM classes
2009-06-11 09:20:29 +00:00
Arjen Poutsma
1dc346a32c
SPR-5802 - NullPointerException when using @CookieValue annotation
2009-06-11 08:53:56 +00:00
Keith Donald
6403107c08
Removed model parameterized type after review with juergen
2009-06-10 20:44:35 +00:00
Keith Donald
72e89510da
added user values holder after review with juergen
2009-06-10 20:36:43 +00:00
Keith Donald
7c433712d1
remove unused field
2009-06-10 14:42:42 +00:00
Keith Donald
be75a43c62
added web binder
2009-06-10 14:38:59 +00:00
Keith Donald
37eb0feb2b
polish
2009-06-10 13:43:22 +00:00
Keith Donald
991f618a7d
createUserValues factory method to Binder
2009-06-10 13:38:24 +00:00
Arjen Poutsma
332d2287da
- Merged server-side REST into MVC chapter
...
- Merged client-side REST into Remoting chapter
- Removed sections about Controller interface, in favor of @Controller
- Updated samples to be more 'RESTful'
2009-06-10 11:09:39 +00:00
Arjen Poutsma
0ab21795fb
Javadoc
2009-06-10 10:36:06 +00:00
Thomas Risberg
268f04aac8
updated xxx-2.5.xsd references to 3.0
2009-06-09 23:39:37 +00:00
Thomas Risberg
c9bcc771dc
updated ORM coverage to provide <tx:advice> and @Transactional samples; removed ProxyFactoryBean example
2009-06-09 23:30:36 +00:00
Thomas Risberg
48e7c44c35
changed section ids so they don't clash with aop-spring.xml
2009-06-09 23:28:54 +00:00
Mark Pollack
278488d11e
Documentation cleanup.
...
Move classic aop-api chapter to appendix
Move JMS 1.0.2 related documentation to appendix
Remove references to Commons Annotations and source level metadata abstraction
Fix program highlighting issue in beans.xml
2009-06-09 21:29:53 +00:00
Keith Donald
503f69b960
polish
2009-06-09 20:14:17 +00:00
Keith Donald
71cbd982e3
separated interface from impl
2009-06-09 19:27:13 +00:00
Keith Donald
58e60fb844
polish
2009-06-09 19:02:44 +00:00
Keith Donald
78b4254d39
polish
2009-06-09 18:59:44 +00:00
Keith Donald
04115a4ff4
todo
2009-06-09 15:30:40 +00:00
Keith Donald
a437fdfc7d
binding result tracking
2009-06-09 15:21:34 +00:00
Juergen Hoeller
a1f1717d03
added JAX-WS workaround for WebLogic 10.3 (SPR-5771)
2009-06-09 14:16:18 +00:00
Keith Donald
9a5c4cab72
polish
2009-06-08 20:42:09 +00:00
Juergen Hoeller
7158742f2a
removed unnecessary JTA dependency
2009-06-08 17:39:43 +00:00
Juergen Hoeller
2e0f663092
@Configurable injection failure logged with refined message and without a full stacktrace (SPR-5752)
2009-06-08 15:54:00 +00:00
Juergen Hoeller
95a7ec6587
@ManagedResource is marked as inherited now, for generic management-aware base classes (SPR-3500)
2009-06-08 15:38:55 +00:00
Keith Donald
0cb28f5b41
javdoc
2009-06-08 05:06:37 +00:00
Keith Donald
5bef156258
removed binding failures - not yet needed
2009-06-08 04:28:36 +00:00
Keith Donald
065102bca9
date subpackage
2009-06-08 04:22:10 +00:00
Keith Donald
b8b84f4f39
javado polish
2009-06-08 04:09:31 +00:00
Keith Donald
68631eb80d
Added surpress warning unchecked
2009-06-07 21:24:33 +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
Christian Dupuis
8c65ed9e0b
some updates to error reporting to let errors show up in STS
2009-06-06 07:59:26 +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
c218b6c6c7
removed @Override annotations from interface methods
2009-06-06 02:02:18 +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
Mark Fisher
59eaf97886
Added support for the 'executor' element within the 'task' namespace for creating a ThreadPoolTaskExecutor instance.
2009-06-05 01:18:53 +00:00
Thomas Risberg
f4e75deb0a
added some additional tests (SPR-3322, SPR-5162)
2009-06-03 20:06:04 +00:00
Thomas Risberg
0d5c9c1b75
improved integration; added delegation to NamedParameterJdbcTemplate for batchUpdate from SimpleJdbcTemplate; added call to proteced getParsedSql method; fixed bugs (SPR-3322, SPR-5162)
2009-06-03 19:26:24 +00:00
Juergen Hoeller
81a8b8fd19
strict matching of named arguments
2009-06-03 13:16:01 +00:00
Juergen Hoeller
3426ad3781
prepared 3.0 versions of the remaining namespaces
2009-06-03 10:29:17 +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
Thomas Risberg
8079262705
Updated BeanPropertyRowMapper to remove spaces from column names to improve matching to properties (SPR-5758)
2009-06-02 20:58:44 +00:00
Mark Fisher
3192b926ea
Added support for the 'annotation-driven' element within the 'task' namespace to enable detection of the @Async annotation on Spring-managed objects.
2009-06-02 16:58:43 +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
Arjen Poutsma
e013ed0685
SPR-5523: JAXB2 is using package-info.java now as well.
2009-06-02 08:56:39 +00:00
Arjen Poutsma
374afccadc
SPR-5523: JAXB2 is using package-info.java now as well.
2009-06-02 08:56:07 +00:00
Chris Beams
ca65dbae39
Fixing build breakage by removing oxm.jaxb package-info.java and replacing it with the old package.html. The problem was that the new package-info.java was ending up overriding a generated package-info.java that contains important @XmlSource annotations.
2009-06-02 05:02:10 +00:00
Andy Clement
1fc8abade7
updates for Binding code - able to retrieve the type descriptor for a property and ask detailed questions (eg getAnnotations())
2009-06-02 00:25:59 +00:00
Andy Clement
1e0207cf04
modified so that when the descriptor represents a method parameter, we retrieve the annotations from the method and not the method parameter (seems to make more sense - certainly in the binding case)
2009-06-02 00:25:20 +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
28848f3132
fixed issue that did not compile with sun compiler
2009-06-01 23:23:13 +00:00
Keith Donald
6ea55e9bda
more tests
2009-06-01 23:03:19 +00:00
Mark Fisher
3b42200cda
initial commit of the AsyncAnnotationBeanPostProcessor
2009-06-01 22:23:40 +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
Thomas Risberg
01ae825334
polished
2009-06-01 20:52:09 +00:00
Thomas Risberg
fbd0be2d65
added convenience execute method that takes vararg of objects in the order of the parameters plus the corresponding executeFunction/executeObject methods (SPR-4739)
2009-06-01 20:43:39 +00:00
Thomas Risberg
7c053127dd
added convenience method that takes vararg of objects in the order of the declared parameters (SPR-5696)
2009-06-01 20:40:08 +00:00
Keith Donald
b9682d7823
forgot to commit
2009-06-01 18:49:00 +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
Ben Hale
8f3ea6d9e6
Back out export of META-INF
2009-06-01 08:07:14 +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
Thomas Risberg
f3e6242568
added override for supportsGetGeneratedKeys for Derby; driver reports this is unsupported, but it seems to work OK
2009-05-29 14:06:01 +00:00
Thomas Risberg
60af7aba16
fixed duplicate section ids
2009-05-29 11:34:54 +00:00
Thomas Risberg
b1c6ae99c4
fixed problem retrieving out parameter for function call with MS SQL Server (SPR-5435)
2009-05-28 23:25:25 +00:00
Thomas Risberg
1a790688f4
added 4060 as DataAccessResourceFailure code for MS-SQL (SPR-5788)
2009-05-28 17:11:48 +00:00
Juergen Hoeller
a5c324f934
Hibernate AnnotationSessionFactoryBean detects Hibernate's special @Entity annotation too (SPR-5787)
2009-05-28 11:25:39 +00:00
Juergen Hoeller
a26a2275c3
revised Java 6 checks to test for the presence of specific Java 6 interfaces/classes only
2009-05-28 11:16:42 +00:00
Arjen Poutsma
15e51c5fb3
Minor changes
2009-05-28 11:13:38 +00:00
Ben Hale
3e4b552b6d
Changes to allow snapshot build to proceed.
2009-05-28 08:14:12 +00:00
Thomas Risberg
4105957596
added batchUpdate methods to NamedParameterJdbcTemplate (SPR-3322)
2009-05-28 03:15:47 +00:00
Andy Clement
88e32a3cfe
test coverage. now > 95%
2009-05-27 19:59:32 +00:00
Andy Clement
233c84e0b9
test coverage
2009-05-27 19:37:17 +00:00
Andy Clement
1746cc76d1
findbugs issue addressed
2009-05-27 19:22:53 +00:00
Andy Clement
e5fea54aea
fix for ternary or elvis using a full expression for their result components. parser polishing
2009-05-27 19:16:45 +00:00
Christian Dupuis
1a7ec7daf2
use the annotation meta data in problem reporting
2009-05-27 15:53:35 +00:00
Christian Dupuis
1c5e1e04e0
use the annotation meta data in problem reporting
2009-05-27 15:20:25 +00:00
Ben Hale
4311c6cab6
Spring Build update
2009-05-27 13:41:19 +00:00
Juergen Hoeller
aaa9fc73ae
polishing
2009-05-27 12:54:19 +00:00
Andy Clement
0a2f936b80
remove antlr dependency
2009-05-27 04:38:36 +00:00
Andy Clement
5ea898bdb4
remove antlr dependency
2009-05-27 04:37:45 +00:00
Andy Clement
d372a9ac5d
use new SpEL parser
2009-05-27 04:33:21 +00:00
Andy Clement
886739f1d8
Hand written SpEL parser. Removed antlr dependency. tests upgraded to JUnit4 - 93% coverage.
2009-05-27 04:20:18 +00:00
Thomas Risberg
e5b553c16a
Fixed SimpleJdbcInsert to use SQL type info for all insert operations
2009-05-26 21:25:35 +00:00
Christian Dupuis
b23071280f
added missing license header
2009-05-26 20:01:36 +00:00
Christian Dupuis
cc5747ad14
added restriction tool annotation to oxm namespace
2009-05-26 20:01:17 +00:00
Christian Dupuis
ca9526de6c
added correct aop image
2009-05-26 20:00:51 +00:00
Keith Donald
2fa2e54c72
polish
2009-05-26 16:22:09 +00:00
Keith Donald
07f19f7441
format system initial commit
2009-05-26 16:18:42 +00:00
Arjen Poutsma
9f4480a1b8
SPR-5774 - UriTemplate not matching querystrings
2009-05-26 12:25:22 +00:00
Christian Dupuis
6cc33fc609
added spring.tooling descriptor and images for all namespaces
2009-05-26 11:58:09 +00:00
Sam Brannen
e5f37c8230
The text which was previously "instilled with boldness" (i.e., emboldened) is now just bold. ;)
2009-05-25 15:41:09 +00:00
Arjen Poutsma
ce47e86b1c
SPR-5782 - BufferedImageHttpMessageConverter
2009-05-25 12:45:51 +00:00
Arjen Poutsma
0d66d2680b
Fixing tests
2009-05-25 12:00:53 +00:00
Arjen Poutsma
3a1c88f059
SPR-5782 - BufferedImageHttpMessageConverter
2009-05-25 11:52:43 +00:00
Arjen Poutsma
51f0fc07fa
SPR-5782 - BufferedImageHttpMessageConverter
2009-05-25 11:48:46 +00:00
Arjen Poutsma
6cb7f2cfc8
SPR-5766 - @ResponseBody
2009-05-25 10:28:36 +00:00
Sam Brannen
af56f6497c
Updated regarding generics; fixed typos.
2009-05-25 09:04:05 +00:00
Sam Brannen
5f473b9f26
polishing
2009-05-25 08:59:01 +00:00
Sam Brannen
18039162b9
polishing
2009-05-25 08:58:27 +00:00
Sam Brannen
be7bbcd228
Corrected typos and polishing.
2009-05-24 16:30:13 +00:00
Keith Donald
f4bc0ab061
polish
2009-05-23 21:27:44 +00:00
Keith Donald
b093094c50
renamed back to TypeDescriptor after ConversionContext proved not good enough name for any change
2009-05-23 21:23:10 +00:00
Keith Donald
b9aa82a0c4
removed @since 3.0--no point if its not consistent and whole package is 3.0 anyway
2009-05-23 19:54:36 +00:00
Ben Hale
54c768de5d
[SPR-5734] Created a javadoc.links preset to link in external javadocs
2009-05-23 05:19:59 +00:00
Thomas Risberg
660cd3d00a
further re-working of the ORM chapter
2009-05-22 19:01:32 +00:00
Thomas Risberg
62406474e0
first cut at re-organizing the ORM chapter; moved outdated sections to new Classic Spring Usage appendix
2009-05-22 16:16:12 +00:00
Sam Brannen
4cedea6531
Added "derby.log" to the subversion ignore list.
2009-05-22 14:48:52 +00:00
Sam Brannen
a07b890934
Fixed typos; Class --> Class<?>; and both constructors are now private.
2009-05-22 14:41:27 +00:00
Sam Brannen
1b79fffaee
Polishing
2009-05-22 14:40:27 +00:00
Mark Pollack
44b7ef43d3
reformatting due to loading inside XmlMind 4.1
2009-05-22 13:40:27 +00:00
Arjen Poutsma
9944b57de3
SPR-5768 - Rearrange logic in ServletHandlerMethodInvoker.getModelAndView()
2009-05-22 10:52:10 +00:00
Arjen Poutsma
d7d1ae89f3
SPR-5767 - Misleading error message in HandlerMethodInvoker.resolveRequestBody()
2009-05-22 10:45:52 +00:00
Mark Fisher
0007643af9
SPR-4359 renamed 'concurrent' namespace to 'task'
2009-05-22 03:12:43 +00:00
Mark Pollack
7b815b5e05
SPR-5740
2009-05-21 20:41:57 +00:00
Mark Pollack
8364b611f6
SPR-5735
2009-05-21 20:25:18 +00:00
Mark Fisher
1b302b70d0
SPR-4359 the 'scheduling' namespace is now 'concurrent'
2009-05-21 18:41:13 +00:00
Juergen Hoeller
e70d2ce14c
polishing
2009-05-20 00:31:00 +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
Juergen Hoeller
da4f1d0eb7
revised use of id and display name (id may be null; SPR-5761)
2009-05-19 23:48:44 +00:00
Thomas Risberg
762f1c632b
updated code examples with generics; took out Java 1.4 references; polished
2009-05-19 23:45:19 +00:00
Juergen Hoeller
63589ef05f
polishing
2009-05-19 22:46:22 +00:00
Juergen Hoeller
6964633909
reflective loading of driver classes
2009-05-19 22:42:03 +00:00
Juergen Hoeller
7dc9ec53a1
return generics-capable Class references
2009-05-19 22:39:58 +00:00
Juergen Hoeller
e7eb684304
added additional cast for javac
2009-05-19 22:39:20 +00:00
Juergen Hoeller
e137b10978
polishing
2009-05-19 22:33:30 +00:00
Juergen Hoeller
fc1df58e2b
fixed build; revised generic declarations
2009-05-19 22:31:31 +00:00
Mark Pollack
41c8352e16
Documentation fixes: SPR-5748, SPR-5723, SPR-5750, SPR-5753, SPR-5747
2009-05-19 22:09:06 +00:00
Jennifer Hickey
822ed03826
SPR-5256
2009-05-19 21:02:43 +00:00
Sam Brannen
8f359ece3f
Minor fixes for grammar and spelling
2009-05-19 19:02:22 +00:00
Sam Brannen
b47c81ea2c
Suppressing serialization warnings
2009-05-19 15:33:45 +00:00
Keith Donald
50bcecac95
removed unused import
2009-05-18 13:14:55 +00:00
Keith Donald
8cbab5acb6
costin code review comments
2009-05-18 13:13:34 +00:00
Keith Donald
0cc3542aed
applied joris's no derby log patch
2009-05-17 15:39:17 +00:00
Sam Brannen
72c330fffb
Updated copyright.
2009-05-17 10:22:40 +00:00
Sam Brannen
76aa8b2119
Spring TestContext Framework autowiring tests now include an explicit test for the @Autowired-@Qualifier combination.
2009-05-17 10:22:03 +00:00
Keith Donald
d13567bc8f
added support for null conversion point type
2009-05-17 03:09:59 +00:00
Keith Donald
18be2ffadc
fixed autoboxing bug
2009-05-17 02:22:02 +00:00
Keith Donald
c5cc75693d
Added to docs
2009-05-16 22:58:18 +00:00
Keith Donald
e54519d02e
made package private
2009-05-16 22:14:22 +00:00
Keith Donald
c6c0dd555b
removed unused imports
2009-05-16 22:13:21 +00:00
Keith Donald
f3ae7bd961
applied Joris's patch to shutdown Embedded Derby DB; adjusted manifest template to restrict derby version range from 10.5.1. to 10.6
2009-05-16 22:11:18 +00:00
Keith Donald
0c85f3df55
doc polishing
2009-05-16 18:46:56 +00:00
Keith Donald
3c0cbac2fc
added derby to manifest
2009-05-16 15:49:49 +00:00
Keith Donald
a12ffa5c4c
removed @Override
2009-05-16 15:34:47 +00:00
Keith Donald
eee52f8804
derby embedded db support initial commit; shutdown use case needs work
2009-05-16 15:05:28 +00:00
Andy Clement
662dbaaed8
SPR-5692: export META-INF so that aop.xml is visible to aspectj load time weaving in an OSGi environment
2009-05-16 01:48:23 +00:00
Thomas Risberg
94d6fa8cb1
removed TopLink coverage
2009-05-15 21:52:23 +00:00
Keith Donald
4394dad372
commented out failing el test for now - todo
2009-05-15 21:34:11 +00:00
Keith Donald
b33be88c9d
tests passing again
2009-05-15 21:31:57 +00:00
Keith Donald
46c9a003eb
BindingPoint to ConversionPoint, javadoc
2009-05-15 20:32:23 +00:00
Thomas Risberg
2ede4d2731
cleaned up transaction chapter
2009-05-15 20:15:18 +00:00
Keith Donald
cf2453e8eb
renamed TypeDescriptor to BindingPoint
2009-05-15 17:30:03 +00:00
Keith Donald
6f74369cb3
polish
2009-05-15 17:28:55 +00:00
Ben Hale
acf17381b9
Upgrade to spring-build
2009-05-15 17:01:37 +00:00
Thomas Risberg
b2526f337a
removed getting-started; added section on new tutorial
2009-05-15 15:25:43 +00:00
Juergen Hoeller
814a807446
generified JtaTransactionManager code
2009-05-15 15:04:11 +00:00
Christian Dupuis
33de330b0e
minor change to use registerBeanComponent instead of directly registering the BeanDefinition
2009-05-15 13:42:24 +00:00
Christian Dupuis
d80005a955
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
2009-05-15 13:24:59 +00:00
Christian Dupuis
48c97342fe
some minor tweaks to the scheduling namespace parser to make it more tooling friendly; applied new tools:annotation to method attribute in scheduling xsd
2009-05-15 13:24:28 +00:00
Christian Dupuis
fba5e5f0db
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
2009-05-15 13:22:30 +00:00
Juergen Hoeller
dffec3cdcd
quick attempt to fix core.convert breakage
2009-05-15 11:35:41 +00:00
Christian Dupuis
eb3ece4208
added spring-tool-3.0.xsd; new expected-method element to describe possible methods for an attribute
2009-05-15 11:03:37 +00:00
Keith Donald
9a261470ad
converter system refactoring from community input
2009-05-14 21:36:49 +00:00
Juergen Hoeller
a1793457b2
OSGI manifests etc
2009-05-13 20:52:40 +00:00
Juergen Hoeller
30851e36a3
added Commons Lang for Velocity tests
2009-05-13 20:52:06 +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
Thomas Risberg
1ded650a6c
finnished updating code examples with generics/varargs for jdbc chapter
2009-05-13 18:45:24 +00:00
Thomas Risberg
585627319d
updated version to 3.0.RC1
2009-05-13 18:44:39 +00:00
Juergen Hoeller
433d52b728
@Import detects and accepts existing configuration class of the desired type
2009-05-13 16:19:56 +00:00
Juergen Hoeller
0a8a80ede3
Velocity/FreeMarker/TilesViewResolver only return a view if the target resource exists now
2009-05-13 14:26:56 +00:00
Juergen Hoeller
47992ea07c
Velocity/FreeMarker/TilesViewResolver only return a view if the target resource exists now
2009-05-13 14:22:03 +00:00
Juergen Hoeller
b0ed6d5685
polishing
2009-05-12 23:53:45 +00:00
Juergen Hoeller
0471d5d3ea
removed outdated imports
2009-05-12 23:50:35 +00:00
Juergen Hoeller
ad5d090c86
removed outdated imports
2009-05-12 23:40:45 +00:00
Juergen Hoeller
f1c852b14c
polishing
2009-05-12 23:39:56 +00:00
Juergen Hoeller
59101c096f
replaced Commons Collections dependency with Spring-provided LinkedCaseInsensitiveMap; revised CollectionFactory and Spring Map implementations for consistency
2009-05-12 23:37:43 +00:00
Juergen Hoeller
da71f266ae
ConfigurationClassBeanDefinition implements AnnotatedBeanDefinition
2009-05-12 23:12:51 +00:00
Juergen Hoeller
cce6e2f4cd
added SourceExtractor support
2009-05-12 22:27:37 +00:00
Thomas Risberg
df8219d56e
fixed typo and JavaDocs
2009-05-12 20:21:05 +00:00
Thomas Risberg
95213d488c
updating code examples with generics/varargs; polishing
2009-05-12 18:18:29 +00:00
Thomas Risberg
c55569b51e
relaxed parameter type from ParameterizedRowMapper<T> to RowMapper<T>
2009-05-12 18:18:05 +00:00
Juergen Hoeller
b1e464fc60
marked "javax.xml.bind" as optional instead of "javax.xml.stream"
2009-05-12 16:56:34 +00:00
Juergen Hoeller
bbd69da37f
updated all Spring Framework OSGI manifests to list unversioned imports explicitly; relaxed several OSGi bundle dependencies to optional and extended version ranges
2009-05-12 16:43:15 +00:00
Juergen Hoeller
20f12e6158
removed outdated Attributes references
2009-05-12 16:14:09 +00:00
Juergen Hoeller
12d6aa232a
added setMetadataReaderFactory method
2009-05-12 16:13:36 +00:00
Arjen Poutsma
51f539b0ad
SPR-5725: Typos in Spring REST documentation
2009-05-12 08:47:36 +00:00
Arjen Poutsma
d8071acd55
SPR-5724: Documentation for RESTful webservice examples slightly incorrect for 3.0.0.M3
2009-05-12 08:46:14 +00:00
Arjen Poutsma
9cbc1d502d
SPR-5746 - Allow XStreamMarshaller subclasses to customise XStream object
2009-05-12 08:41:09 +00:00
Arjen Poutsma
eca1cad7e1
Fixing build.
2009-05-12 08:26:33 +00:00
Juergen Hoeller
e78c6fc317
explicitly declared SmartApplicationListener as ApplicationListener<ApplicationEvent>
2009-05-11 22:49:07 +00:00
Juergen Hoeller
68deb43d8e
removed WebLogic 7.0 support code
2009-05-11 22:47:50 +00:00
Juergen Hoeller
0297116542
generified TypeConverter interface
2009-05-11 22:44:33 +00:00
Juergen Hoeller
b72af54f53
eagerly load NestedExceptionUtils to avoid potential getMessage deadlock on OSGi (SPR-5607)
2009-05-11 22:22:11 +00:00
Keith Donald
796a457d9f
added two way converter
2009-05-11 21:40:55 +00:00
Keith Donald
50985d5aa9
renamed executeConversion to simply convert for readibility
2009-05-11 21:25:33 +00:00
Keith Donald
c3f54b4cb4
renamed to ConverterNotFoundException
2009-05-11 21:24:07 +00:00
Keith Donald
d7c90cff14
made ConversionExecutor internal; removed other unused operations from public SPI
2009-05-11 21:23:18 +00:00
Arjen Poutsma
bf7a947559
SPR-5732 - When no type conversion strategy is found on a @Controller handler method bind target, a 500 error code should be returned not a 400.
2009-05-11 14:52:14 +00:00
Thomas Risberg
800af734d9
added -1218 to the transientDataAccessResourceCodes for DB2 (SPR-5296)
2009-05-11 14:37:42 +00:00
Arjen Poutsma
0a6cac5a84
SPR-4927 - Return 405 instead of 404 when HTTP method is not supported
2009-05-11 13:32:28 +00:00
Arjen Poutsma
752832a8da
SPR-5731 - @Controller method order effects @RequestMapping behavior in ways not expected
2009-05-11 10:34:56 +00:00
Keith Donald
fbd921f25a
embedded db support
2009-05-09 23:52:13 +00:00
Keith Donald
be725ca4c6
polish
2009-05-09 22:30:34 +00:00
Keith Donald
aca047d5df
polish
2009-05-09 22:28:59 +00:00
Keith Donald
96629c7dc5
h2 embedded db support; updated formatting conventions not to auto-format javadoc; added hsqldb and h2 to jdbc maven pom as optional deps
2009-05-09 22:27:05 +00:00
Thomas Risberg
93cf346fb1
updating code examples with generics/varargs; polishing
2009-05-09 02:40:54 +00:00
Juergen Hoeller
d34953e933
polishing
2009-05-08 23:16:53 +00:00
Juergen Hoeller
d34c4a2cf0
@Transactional supports qualifier value for choosing between multiple transaction managers
2009-05-08 23:13:43 +00:00
Thomas Risberg
dc83107d66
replaced *DaoSuport coverage with annotations used for DAOs
2009-05-08 20:33:32 +00:00
Mark Fisher
ff36a31874
SPR-4359 Added support for a 'task-scheduler' element.
2009-05-08 20:32:11 +00:00
Keith Donald
c6b23a8277
changelog update for spring-jdbc config add
2009-05-08 19:09:20 +00:00
Keith Donald
6cec37ac7f
spring-jdbc xsd initial commit; includes embedded-database tag
2009-05-08 19:06:58 +00:00
Mark Fisher
3e9b9a8a2a
SPR-4359 Initial commit of scheduling namespace support.
2009-05-08 18:32:07 +00:00
Arjen Poutsma
4025df1ef8
SPR-5726: Unexpected @RequestMapping semantics when class-level and method-level mappings used together
2009-05-08 10:02:17 +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
Sam Brannen
7d4da0085c
[SPR-5713] JavaDoc polishing for @ContextConfiguration.
2009-05-06 22:52:27 +00:00
Sam Brannen
7a0f82029a
Corrected typos
2009-05-06 22:43:41 +00:00
Juergen Hoeller
bc85b54a87
final preparations for M3 release
2009-05-06 10:16:17 +00:00
Keith Donald
843ef7e33d
convert addition
2009-05-06 09:57:29 +00:00
Keith Donald
08a4004a51
embedded db support
2009-05-06 09:28:10 +00:00
Keith Donald
4bfcd16130
polish
2009-05-06 09:14:25 +00:00
Juergen Hoeller
0320445316
moved ScheduledTaskRegistrar to new config package (where the scheduling namespace will live as well)
2009-05-06 08:47:18 +00:00
Keith Donald
6771a22988
polish
2009-05-06 08:38:47 +00:00
Keith Donald
c25760f5db
polish
2009-05-06 08:19:21 +00:00
Keith Donald
f64dcd379e
polish
2009-05-06 08:17:29 +00:00
Keith Donald
567dd1eefb
package
2009-05-06 08:04:29 +00:00
Keith Donald
442e7343d6
polish
2009-05-06 07:56:52 +00:00
Sam Brannen
d159195b79
[SPR-5145] Updated package.html files regarding upgrade to JUnit 4.5.
2009-05-06 07:37:25 +00:00
Keith Donald
bc9ad5685d
eliminated dependency on jdbc core
2009-05-06 07:36:24 +00:00
Sam Brannen
c0c9501005
[SPR-5145] Updated reference manual regarding upgrade to JUnit 4.5; additional improvements in the testing chapter as well.
2009-05-06 06:25:03 +00:00
Sam Brannen
94ceacf843
Reinserted blank line for consistent formatting of the change log.
2009-05-06 05:03:20 +00:00
Sam Brannen
1ec455bab3
Added TestContext framework changes to the change log.
2009-05-06 05:01:05 +00:00
Juergen Hoeller
b2319fa38b
reactivated ThrowsAdviceInterceptorTests
2009-05-05 21:49:23 +00:00
Juergen Hoeller
c356d99621
prepared for 3.0 M3 release
2009-05-05 21:42:33 +00:00
Juergen Hoeller
1b5a433f22
added ScheduledTaskRegistrar etc
2009-05-05 18:40:43 +00:00
Juergen Hoeller
47fc8be59f
added test for custom controller stereotype
2009-05-05 18:37:43 +00:00
Juergen Hoeller
c7f8d1be62
reactivated ignored tests in revised form
2009-05-05 18:34:35 +00:00
Juergen Hoeller
636d1db36d
avoid NPE for definitions without bean class specified
2009-05-05 18:33:20 +00:00
Juergen Hoeller
b88edd1dfc
polishing
2009-05-05 18:28:21 +00:00
Juergen Hoeller
e57543a8f3
turned CountingBeforeAdvice into top-level class
2009-05-05 18:27:22 +00:00
Juergen Hoeller
250ef281a4
reverted non-public proxy interface change
2009-05-05 14:53:01 +00:00
Arjen Poutsma
9fe2b5d211
Moved DefaultHandlerExceptionResolver to fix a tangle.
2009-05-05 13:41:03 +00:00
Juergen Hoeller
cef7a2b965
exclude non-public interfaces when autodetecting proxy interfaces
2009-05-05 12:37:18 +00:00
Juergen Hoeller
9d8c99fa1b
minimized local MockServletContext dependencies
2009-05-05 12:35:33 +00:00
Juergen Hoeller
d446afad33
added local Servlet API mocks
2009-05-05 12:26:11 +00:00
Juergen Hoeller
b15e77d5d0
renamed "contextProperties" attribute to "contextParameters" (matching web.xml naming); "contextParameters" contains Servlet/PortletConfig parameters as well; added default "servletContext" and "servletConfig" environment beans; added default "portletContext" and "portletConfig" environment beans; added default web scope "application", wrapping a ServletContext/PortletContext; MockPortletSession supports destruction of session attributes on invalidation
2009-05-05 12:12:01 +00:00
Arjen Poutsma
0a0938fdd6
SPR-5426 - Allow for custom processing or result objects returned from handler/controller methods
2009-05-05 11:40:36 +00:00
Juergen Hoeller
a6124793fc
polishing
2009-05-05 09:36:53 +00:00
Juergen Hoeller
6930859e82
removed StandardScopes pseudo-enum (superseded by meta-annotated scopes)
2009-05-05 09:32:55 +00:00
Juergen Hoeller
9b4f9106c5
polishing
2009-05-05 09:26:04 +00:00
Sam Brannen
9daae23e17
[SPR-5145] Updated reference manual regarding deprecation of the legacy JUnit 3.8 code base.
...
[SPR-5713] Updated reference manual with an example demonstrating the new 'value' alias for @ContextConfiguration's 'locations' attribute.
2009-05-05 08:02:22 +00:00
Sam Brannen
781da89d92
[SPR-5713] Added 'value' alias for @ContextConfiguration's 'locations' attribute.
2009-05-05 07:37:14 +00:00
Sam Brannen
a6a8b29d19
Fixed typo in JavaDoc
2009-05-04 06:02:59 +00:00
Sam Brannen
a637912762
[SPR-5710] Subclasses of SpringJUnit4ClassRunner can now override the default ContextLoader class via the new getDefaultContextLoaderClassName(Class) method.
2009-05-02 23:24:48 +00:00
Thomas Risberg
0383f705ae
clean-up of the @Bean content
2009-05-01 20:14:23 +00:00
Thomas Risberg
05f1d08028
re-arranged the @Bean content
2009-05-01 19:48:08 +00:00
Thomas Risberg
b1577c28e2
removed some JavaConfig references
2009-04-30 04:35:30 +00:00
Thomas Risberg
9aaea34262
fixed DOCTYPE to refer to the root_element used
2009-04-30 04:16:07 +00:00
Sam Brannen
62c991f9d6
[SPR-5145] Updated reference manual regarding upgrade to JUnit 4.5; additional improvements in the testing chapter as well.
2009-04-30 01:04:39 +00:00
Sam Brannen
17858915ab
Corrected grammar and spelling mistakes in reference manual.
2009-04-30 01:03:44 +00:00
Sam Brannen
db486e147b
Added Eclipse project settings to the reference documentation so that the documentation can be more easily edited and built within Eclipse.
2009-04-30 00:59:09 +00:00
Sam Brannen
d3af831334
Now parameterizing with <?> where appropriate.
2009-04-30 00:58:08 +00:00
Sam Brannen
6327b3484b
[SPR-5145] Improved test suite for SpringJUnit4ClassRunner: added specific unit tests for test timeouts, repeated tests, and expected exceptions.
2009-04-29 21:29:53 +00:00
Thomas Risberg
41423a9ab9
added some JavaConfig content
2009-04-29 21:14:01 +00:00
Thomas Risberg
15b33684a7
fixed JavaDoc
2009-04-29 21:12:45 +00:00
Sam Brannen
0fbafc0274
Removed unused package.
2009-04-29 19:01:39 +00:00
Sam Brannen
751e0f0eb7
[SPR-5145] Completed migration to JUnit 4.5: SpringJUnit4ClassRunner now extends BlockJUnit4ClassRunner and uses custom Statements; removed obsolete SpringMethodRoadie and SpringTestMethod classes.
2009-04-29 08:21:23 +00:00
Sam Brannen
b36f95bcee
Corrected typos and sorted Eclipse classpath.
2009-04-28 21:45:14 +00:00
Sam Brannen
e5d2570c8d
[SPR-5145] Adding custom JUnit 4.5 Statements.
2009-04-28 07:29:24 +00:00
Juergen Hoeller
8583026151
revised target class check for non-Spring CGLIB proxy variants (SPR-5694)
2009-04-27 22:54:39 +00:00
Juergen Hoeller
a2fdb68a0b
fixed potential race condition through additional synchronization (SPR-5658)
2009-04-27 22:53:40 +00:00
Sam Brannen
2796e72de1
Updated JavaDoc for @TestExecutionListeners.
2009-04-27 22:49:34 +00:00
Mark Pollack
30967d3b20
Update docs to use of @Bean inside a @Component
2009-04-27 05:40:11 +00:00
Mark Pollack
c2f4f97fa5
Update docs to use of @Bean inside a @Component
2009-04-27 05:37:45 +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
ac16101f98
polishing
2009-04-26 11:39:00 +00:00
Juergen Hoeller
423809543a
polishing
2009-04-24 11:25:27 +00:00
Juergen Hoeller
77112ba80e
updated AnnotationMetadata tests for change in Class exposure
2009-04-24 11:24:47 +00:00
Juergen Hoeller
b5d21108da
@Configuration parsing fully relies on Spring's MetadataReader abstraction now
2009-04-24 11:16:46 +00:00
Keith Donald
37e1333a41
polish
2009-04-23 19:01:41 +00:00
Keith Donald
3a457dcec9
embedded database factory bean
2009-04-23 18:56:26 +00:00
Scott Andrews
f6e869163f
updating Eclipse .classpath settings for Freemarker 2.3.15 upgrade
2009-04-23 14:13:03 +00:00
Keith Donald
eb4d1bf20e
deleted old test data source factory
2009-04-22 21:29:47 +00:00
Keith Donald
d896a53ca8
polish
2009-04-22 21:16:22 +00:00
Keith Donald
adcbe27852
added pre destroy
2009-04-22 21:14:06 +00:00
Keith Donald
e783211f88
polish
2009-04-22 19:41:27 +00:00
Keith Donald
ec463a32ba
added DataSourceFactory strategy; promoted EmbeddedDatabaseConfigurer strategy to public API; added ability to add any number of SQL scripts for db population
2009-04-22 19:31:46 +00:00
Andy Clement
d34a2c5d02
SPR-5663: test and fix: inconsistency between canRead() and read() on ReflectivePropertyResolver
2009-04-22 17:57:24 +00:00
Keith Donald
b1000cd5c6
embedded
2009-04-22 17:47:44 +00:00
Keith Donald
2e45a19be3
embedded database support initial commit; moved from spring-test; ResourceDatabasePopulator duplicate code with test.jdbc package that needs review
2009-04-22 17:07:20 +00:00
Arjen Poutsma
6fbd198420
SPR-4518 - @RequestMapping methods returning null have an implicit ModelAndView created
2009-04-22 12:57:30 +00:00
Arjen Poutsma
c1667687d5
SPR-5634 - OXM does not permit targetClass and mapping file for CastorMarshaller
2009-04-22 12:08:57 +00:00
Arjen Poutsma
de18d64b5c
Upgraded to Rome 1.0
2009-04-22 11:44:59 +00:00
Juergen Hoeller
ea9d8925a2
next cut of JavaConfig metadata reading revision: using cached MetadataReaders
2009-04-22 10:46:24 +00:00
Andy Clement
4c42597cbc
SPR-5673: fix for problems with expressions that use the same symbols as are used in the template prefix/suffix
2009-04-22 00:10:47 +00:00
Arjen Poutsma
dfa4b3e397
Javadoc
2009-04-21 22:16:32 +00:00
Arjen Poutsma
afa461892f
SPR-5690 - Request header filtering in @RequestMapping
2009-04-21 22:03:51 +00:00
Keith Donald
b8b74db01a
test datasource factory initial commit; needs review from Juergen on how to best make DataSource available as a Spring bean when desired
2009-04-21 21:31:16 +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
Chris Beams
7d10d05b27
(temporarily) increasing visibility of the ConfigurationClassAnnotation interface in an attempt to resolve the issue encountered at http://is.gd/tCud
2009-04-21 16:24:54 +00:00
Arjen Poutsma
dc90319279
MediaType.parseMediaTypes now accepts null and ""
2009-04-21 13:41:15 +00:00
Ben Hale
6be62f30f1
Updated spring-build
2009-04-20 12:16:50 +00:00
Juergen Hoeller
10d8abea3b
EntityResolvers and DefaultNamespaceHandlerResolver support concurrent access now (SPR-5679)
2009-04-20 12:07:00 +00:00
Juergen Hoeller
e54a44b577
refined sequence of registration calls
2009-04-20 11:20:01 +00:00
Juergen Hoeller
9306d6dbaa
serialize full Pattern objects
2009-04-20 11:14:28 +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
736169aa2a
revised WebApplicationContext lookup
2009-04-19 22:28:31 +00:00
Juergen Hoeller
4cf573ba98
updated to FreeMarker 2.3.15 (SPR-4962)
2009-04-19 22:22:56 +00:00
Juergen Hoeller
58a458986f
polishing
2009-04-19 20:36:33 +00:00
Juergen Hoeller
64321755b6
moved Scope annotation to local test package
2009-04-19 20:35:32 +00:00
Juergen Hoeller
c230c188be
exposed public getModel accessor (SPR-5686)
2009-04-19 19:51:25 +00:00
Juergen Hoeller
bc9b256179
fixed "org.hibernate.ejb" version range
2009-04-19 19:36:26 +00:00
Juergen Hoeller
1b9b513820
AspectJ matchesMethodExecution call needs to be synchronized (SPR-5687)
2009-04-19 19:33:23 +00:00
Arjen Poutsma
6495bdd8c8
Added AspectJ dependency
2009-04-18 09:06:04 +00:00
Chris Beams
c78f9d14fa
Fixed whitespace and added private modifiers to @Value-annotated fields in the @Configuration example
2009-04-18 00:22:03 +00:00
Thomas Risberg
8aface8e5d
fixed JavaDoc
2009-04-17 19:43:11 +00:00
Juergen Hoeller
3e63951a57
relaxed @AspectJ detection check (for CGLIB subclasses to still be recognized as an aspect)
2009-04-17 17:32:29 +00:00
Juergen Hoeller
56a48272e6
avoiding synchronization as far as possible (SPR-5668)
2009-04-17 17:28:31 +00:00
Juergen Hoeller
7048689269
polishing
2009-04-17 17:23:50 +00:00
Juergen Hoeller
8ee0363776
mergePropertiesIntoMap copies non-String values as well (SPR-5669)
2009-04-17 12:21:57 +00:00
Arjen Poutsma
c225b44f34
SPR-5636 - @RequestMapping matching should be insensitive to trailing slashes
2009-04-17 09:41:04 +00:00
Arjen Poutsma
acc84925d3
SPR-5631 - Implicit /** mapping on type-level @RequestMapping
2009-04-17 09:28:08 +00:00
Arjen Poutsma
02e96e01af
Changed variable names from path to pattern
2009-04-17 08:26:18 +00:00
Andy Clement
b98c7e48ef
filled in some basic details on the type conversion support. No TODOs left in this section now. Also properly added the selection/projection sections.
2009-04-17 05:14:07 +00:00
Andy Clement
9d6ae6c532
minor fix
2009-04-17 05:02:05 +00:00
Andy Clement
d119411098
removed unnecessary class. improvements to map projection/selection
2009-04-16 19:21:50 +00:00
Arjen Poutsma
1c26d027a7
Increased debug level of mapping info
2009-04-16 13:25:46 +00:00
Arjen Poutsma
6121da988b
Working on SPR-5631 - Implicit /** mapping on type-level @RequestMapping
2009-04-16 13:23:24 +00:00
Scott Andrews
4fb901c657
adding 'target' to svn:ignore
2009-04-16 13:23:17 +00:00
Arjen Poutsma
ead837938a
Added Copyright plugin info
2009-04-16 13:20:33 +00:00
Arjen Poutsma
19e5b7d668
Updated combine method on AntPatchMatcher to reflect usage in unit tests.
2009-04-16 12:53:36 +00:00
Andy Clement
2f27bd5da7
changed to [] from {} for projection and selection (including first and last selection). addresses the problem of clashes with template prefix/suffix
2009-04-15 23:54:52 +00:00
Juergen Hoeller
d27cbee69c
fixed JasperReports exporter parameter initialization for multi-format views
2009-04-15 23:18:57 +00:00
Juergen Hoeller
310a3a2d71
officially deprecated ClassUtils.forName variant without ClassLoader
2009-04-15 22:33:56 +00:00
Juergen Hoeller
2798a8500c
always use application ClassLoader
2009-04-15 22:30:24 +00:00
Juergen Hoeller
1b5812da20
storing type information as specified (SPR-5556, SPR-5562); explicit XML array element in spring-beans-3.0.xsd (SPR-5543)
2009-04-15 22:27:32 +00:00
Arjen Poutsma
5a561bcd07
Minor changes to OXM chapter
2009-04-15 10:11:52 +00:00
Thomas Risberg
1facd45c5e
switched to use XInclude
2009-04-14 21:37:40 +00:00
Andy Clement
338a7ee2de
SPR-5673: more intelligence in TemplateAwareExpressionParser. Supports prefix/suffix escaping and nesting of prefixes/suffixes
2009-04-14 21:26:56 +00:00
Thomas Risberg
298a5c4a8b
rearranged content in "New in Spring 3.0"
2009-04-14 17:24:56 +00:00
Thomas Risberg
ab52fdf07b
added/modified some links
2009-04-14 14:12:28 +00:00
Ben Hale
6fc16d1e33
[SPR-5675] Added spring-expressions to the library file
2009-04-14 13:18:35 +00:00
Ben Hale
af2e117244
[DMSSUP-8] Removed import-scope:=application for aspectj
2009-04-14 08:23:48 +00:00
Mark Pollack
823cc6e691
polishing
2009-04-14 07:07:01 +00:00
Mark Pollack
aa36118e1c
Finish REST docs, add docs for @FactoryMethod, add links in 'new-in-3'
2009-04-14 06:59:22 +00:00
Thomas Risberg
0c5ab54dce
added more content to new in Spring 3
2009-04-14 04:43:15 +00:00
Thomas Risberg
a4b1adbc60
fixed typo of language
2009-04-14 04:35:40 +00:00
Thomas Risberg
0e77054854
added content to new in Spring 3
2009-04-14 04:02:10 +00:00
Mark Pollack
7f06639be2
Add REST feed view docs, included edits from Thomas R.
2009-04-13 22:11:15 +00:00
Andy Clement
2f5ba83416
more tests - about 82% coverage now. focused on testing reflection helper since it is rather complex. some asserts also added.
2009-04-13 20:51:52 +00:00
Thomas Risberg
19ec3654df
added the rest chapter to the build
2009-04-13 17:46:21 +00:00
Thomas Risberg
38e5deefda
added language element to programlisting for syntax highlighting
2009-04-13 15:04:07 +00:00
Thomas Risberg
077d7f4bce
added language element to programlisting for syntax highlighting
2009-04-13 14:27:47 +00:00
Thomas Risberg
f4b4f28fc2
added language element to programlisting for syntax highlighting
2009-04-13 13:12:38 +00:00
Colin Sampaleanu
b7ab939d55
forgot to update eclipse project when updating hibernate versions
2009-04-13 05:25:57 +00:00
Colin Sampaleanu
dc592837be
allow petclinic unit tests to work. slf4j impl was needed
2009-04-13 05:23:44 +00:00
Colin Sampaleanu
31f61628ff
updte hibernate dependencies in integration-test project to same as
...
those in orm project
2009-04-13 05:03:55 +00:00
Juergen Hoeller
ee5e76c48c
officially deprecated AbstractJpaTests
2009-04-12 21:16:12 +00:00
Juergen Hoeller
9baf9cdc2f
reintroduced "removeApplicationListener" method as well
2009-04-12 20:59:52 +00:00
Andy Clement
af6457a67d
More tests. First pass on messages review.
2009-04-12 16:45:00 +00:00
Costin Leau
f6ecffdba7
+ osgi manifest updates
2009-04-11 20:57:09 +00:00
Mark Pollack
d16d8984a8
REST documentation
2009-04-11 05:59:12 +00:00
Mark Pollack
4fc77944ad
More REST documentation
2009-04-11 04:49:11 +00:00
Keith Donald
5a87334168
made conversion service pluggable
2009-04-10 20:52:16 +00:00
Keith Donald
1d22b9fb88
activated DefaultConversionService in EL, linking convert and EL
2009-04-10 20:47:04 +00:00
Keith Donald
8b52b7eeef
autobox tests
2009-04-10 19:19:53 +00:00
Keith Donald
ebb203a251
removed custom converter for m3 to add back in rc1; also ensure type descriptor get type always returns wrapper types if primitive
2009-04-10 15:57:18 +00:00
Keith Donald
b988f1a539
javadoc
2009-04-10 15:21:16 +00:00
Keith Donald
76f63f8b64
map-to-map tests
2009-04-10 15:07:23 +00:00
Juergen Hoeller
5649f2f31d
fixed generic registerCustomEditor signature
2009-04-10 13:44:23 +00:00
Juergen Hoeller
20fc42add0
avoid PortletSession.getAttributeMap() since it is immutable (SPR-5649)
2009-04-10 10:51:45 +00:00
Andy Clement
38c7f566e5
Fixed StandardTypeLocator to only know about java.lang.* out of the box. Doc fixes related to that.
2009-04-10 03:20:09 +00:00
Andy Clement
f36b9eb088
finally some comparator logic that makes sense :)
2009-04-10 02:21:25 +00:00
Andy Clement
46c5340f57
More tests, corrections in standard comparator, more helper methods in StandardEvaluationContext.
2009-04-10 00:03:53 +00:00
Andy Clement
ba613f2e35
allow for null
2009-04-09 22:04:08 +00:00
Andy Clement
00cecd0dd0
more tests, minor fixes. some findbugs issues addressed.
2009-04-09 22:03:38 +00:00
Juergen Hoeller
a9f4eeeabf
fixed javadoc
2009-04-09 18:24:07 +00:00
Juergen Hoeller
73dd6c28a3
reintroduced "removeAllListeners()" method since Spring DM uses it
2009-04-09 18:18:54 +00:00
Andy Clement
707d2ed72a
Changed signature of convertValue() to keep the Sun compiler happy
2009-04-09 16:00:53 +00:00
Mark Pollack
362629d03b
Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT (again)
2009-04-09 14:38:35 +00:00
Keith Donald
3e4810f670
polish
2009-04-09 14:09:10 +00:00
Keith Donald
a0cab10ccc
polish
2009-04-09 14:01:40 +00:00
Arjen Poutsma
7e3e79ca22
SPR-5653: RestTemplate handles redirects incorrectly
2009-04-09 11:03:35 +00:00
Juergen Hoeller
859497b171
@Resource names may use ${...} placeholders (SPR-5656)
2009-04-09 09:14:06 +00:00
Andy Clement
3cac9267e9
Commented out the sections on list projection and #this.
2009-04-09 05:44:35 +00:00
Andy Clement
f20dcf275f
Corrected some typos, code samples and changed a bit of wording. All code samples are now SpEL testcases.
2009-04-09 01:56:34 +00:00
Andy Clement
9a8bb5f709
More tests and some fixes. Also created tests based on the documentation examples.
2009-04-09 01:43:07 +00:00
Keith Donald
9ce71f67ff
conversion service helper tests - part 1
2009-04-08 22:10:26 +00:00
Keith Donald
d966965a4c
default converter tests
2009-04-08 19:58:19 +00:00
Mark Pollack
5e46fab34d
Start of REST documentation
2009-04-08 19:29:02 +00:00
Mark Pollack
b132e964be
add paragraph on SpEL, reorganize section layout.
2009-04-08 14:06:01 +00:00
Thomas Risberg
a3cbb05ed5
added language element to programlisting for syntax highlighting
2009-04-08 13:38:36 +00:00
Andy Clement
cfc65b0cc7
Removed unnecessary code. Increased test coverage from 70>75% - still some way to go
2009-04-08 04:50:43 +00:00
Andy Clement
30bed7b54a
Corrected exception message inserts
2009-04-08 04:49:47 +00:00
Andy Clement
4a7f7bb24a
more tests
2009-04-08 04:48:35 +00:00
Andy Clement
76fcc81bc6
New method to return string representation of typeDescriptor
2009-04-08 04:47:54 +00:00
Mark Pollack
f917ba89d6
Spring Expression Language docs
2009-04-08 03:37:28 +00:00
Thomas Risberg
fc899e5881
added spring leaf for notes
2009-04-07 22:12:31 +00:00
Thomas Risberg
51526d6541
added JMS to overview
2009-04-07 17:30:44 +00:00
Thomas Risberg
fb8ec6ed97
added some styling and color coded syntax highlighting to beans chapter
2009-04-07 16:54:36 +00:00
Mark Pollack
5f5bee1022
Spring Expression Language docs
2009-04-07 04:45:05 +00:00
Mark Pollack
1f00e639e0
Spring Expression Language docs
2009-04-07 04:42:51 +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
Thomas Risberg
b14d760c9b
an outline of the Getting Started chapter
2009-04-06 20:10:04 +00:00
Chris Beams
e500348ca7
Fixed mystyped dependency on org.antlr 3.0.1 in context's Eclipse .classpath
2009-04-06 19:43:41 +00:00
Thomas Risberg
eb90bbeadc
added the OXM chapter from Spring WS
2009-04-06 19:43:18 +00:00
Andy Clement
a9f30fe377
Improving test coverage, more language consistency
2009-04-06 19:04:04 +00:00
Thomas Risberg
55bdd07580
revised overview graphics to match new modules
2009-04-06 16:12:50 +00:00
Mark Pollack
f64bedb9e1
Polishing. Add description of literal expressions.
2009-04-05 16:25:26 +00:00
Mark Pollack
51f741ccec
Initial pass of docs for he Spring expression language.
2009-04-05 09:38:19 +00:00
Andy Clement
c695d00dbe
More test coverage for the expression AST
2009-04-04 01:04:31 +00:00
Andy Clement
c4de2ba006
include missing package component
2009-04-04 00:06:01 +00:00
Andy Clement
4c5854d017
objects flowing around in expression evaluation are now TypedValue's - these carry generics info, used for conversions.
2009-04-03 23:39:14 +00:00
Andy Clement
f6c1144e8d
tests for TypeDescriptor - just basic so far
2009-04-03 23:38:31 +00:00
Andy Clement
bdecf6720e
extra factory method and type descriptor for NULL defined
2009-04-03 23:38:18 +00:00
Andy Clement
5a0522e203
fixed support for -1 parameterIndex to access the method return type
2009-04-03 23:37:59 +00:00
Thomas Risberg
aced98bf23
added reference docs to the build
2009-04-03 15:59:02 +00:00
Mark Pollack
8fba89c634
Change antlr version to be 3.0.1 so that is consistent across the project
2009-04-03 14:31:25 +00:00
Mark Pollack
8f76197485
Change version from 3.0.0.M3 to 3.0.0.BUILD-SNAPSHOT
2009-04-03 14:03:48 +00:00
Arjen Poutsma
07e6d9d966
More refinements for combine()
2009-04-03 11:35:18 +00:00
Arjen Poutsma
5dbae2c979
More tests for combine()
2009-04-03 11:14:37 +00:00
Arjen Poutsma
56ddc76712
Added combine method to PathMatcher, for combining two patterns.
2009-04-03 10:44:57 +00:00
Thomas Risberg
6e7e107621
mostly changes to Preface and Introduction chapters
2009-04-03 04:08:08 +00:00
Andy Clement
959cc95c3f
design change - no longer surfacing typeDescriptor through property accessor. conversion done internally in property write() code
2009-04-01 23:27:49 +00:00
Andy Clement
00018e511d
implement new interface method
2009-04-01 21:58:24 +00:00
Andy Clement
1289f1069c
new packages added
2009-04-01 21:47:35 +00:00
Andy Clement
54865c0c1f
initial typeDescriptor awareness in the EL. some basic testing of using GenericConversionService
2009-04-01 21:38:51 +00:00
Arjen Poutsma
65afc80821
Working on SPR-5631
2009-04-01 21:07:46 +00:00
Andy Clement
accf974727
use type descriptor to determine collection element type
2009-04-01 16:52:12 +00:00
Arjen Poutsma
cd164a5d9b
Polishing
2009-04-01 13:31:51 +00:00
Arjen Poutsma
ed5647a270
Fixing the build...
2009-04-01 08:58:23 +00:00
Thomas Risberg
8a6e51922a
started "new in Spring 3" chapter; added some overview to introduction chapter
2009-04-01 03:35:39 +00:00
Juergen Hoeller
4ebd08515c
polishing
2009-03-31 20:43:28 +00:00
Juergen Hoeller
0f35fe9d3c
first cut of changelog for M3
2009-03-31 20:39:39 +00:00
Juergen Hoeller
9dd70ca9fe
polishing
2009-03-31 20:34:57 +00:00
Juergen Hoeller
72cc060eaf
request handler methods with @ModelAttribute annotation always return a model attribute (SPR-4867)
2009-03-31 20:34:42 +00:00
Juergen Hoeller
50f49ffca4
requires Portlet API 2.0 now
2009-03-31 20:32:50 +00:00
Juergen Hoeller
b5ca53eedf
request handler methods with @ModelAttribute annotation always return a model attribute (for Portlet MVC as well)
2009-03-31 20:31:45 +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
Juergen Hoeller
2524ca33d5
FacesRequestAttributes (as used by RequestContextHolder) can access global Portlet session (SPR-5637)
2009-03-31 20:16:35 +00:00
Mark Pollack
e93bf49268
Add Michael Isvy's documentation on @CookieValue and @RequestHeader annotations.
2009-03-31 17:57:52 +00:00
Keith Donald
1b1eb82adc
added todos left
2009-03-31 17:56:08 +00:00
Keith Donald
10a1d5042a
polish
2009-03-31 17:52:58 +00:00
Keith Donald
b9caa6c60f
polish
2009-03-31 17:52:16 +00:00
Keith Donald
ce8718ebf2
polish
2009-03-31 17:50:26 +00:00
Keith Donald
199c9bb9c5
removed typed value
2009-03-31 16:51:09 +00:00
Keith Donald
d38c0d301c
polish
2009-03-31 15:55:42 +00:00
Keith Donald
7f6fc4e82e
polish
2009-03-31 15:44:25 +00:00
Keith Donald
ea9df82d2a
ignore failing tests
2009-03-31 15:12:33 +00:00
Keith Donald
518f98d4c3
polish
2009-03-31 15:06:22 +00:00
Juergen Hoeller
eabad33aa2
Hessian service exporter sets content type "application/x-hessian" (SPR-5621)
2009-03-31 14:36:46 +00:00
Juergen Hoeller
aa8bd6313b
added "unregisterManagedResource" method to MBeanExporter/MBeanExportOperations (SPR-5517)
2009-03-31 14:28:14 +00:00
Mark Pollack
5885c703f2
Add ability to publish to S3 maven milestone repository for maven central style artifacts by adding slightly modified spring-build targets to publish-maven.xml
2009-03-31 03:05:28 +00:00
Mark Pollack
7ad5dd1bd6
Use maven ant task to install parent pom instead of using maven from the command line as a workaround for http://jira.codehaus.org/browse/MANTTASKS-87
2009-03-31 01:51:01 +00:00
Mark Pollack
6f64ce8147
Adding additional project information to POM.
2009-03-31 00:50:52 +00:00
Arjen Poutsma
3df99a17f5
Ignoring broken tests
2009-03-30 23:25:15 +00:00
Arjen Poutsma
3ebb5ccdaf
Fixing build. @Override on interface implementation methods is not allowed in Java 5, Keith!
2009-03-30 22:56:16 +00:00
Keith Donald
ae4f80cf60
type descriptor initial commit
2009-03-30 22:39:16 +00:00
Andy Clement
c057638bd0
Indexed objects (arrays/maps/lists) now settable
2009-03-30 19:40:20 +00:00
Andy Clement
401b7f66c4
Indexed objects (arrays/maps/lists) now settable
2009-03-30 19:40:09 +00:00
Mark Pollack
fa68b4b9a7
maven deployment script development
2009-03-30 17:45:13 +00:00
Mark Pollack
a80cb4f6e9
maven deployment script development
2009-03-30 17:41:26 +00:00
Arjen Poutsma
f09f4e8dd2
SPR-4677: Allow annotated methods on a Controller to be marked as exception handlers
2009-03-30 17:20:55 +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
Arjen Poutsma
ea37cdc006
Javadoc
2009-03-30 16:46:01 +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
Mark Pollack
24e8dccd44
updated spring-library to include web.portlet in .libd and ivy files
2009-03-30 14:45:31 +00:00
Mark Pollack
4c7c30985f
Change antlr version to be 3.0.1 so that is consistent across the project
2009-03-30 14:42:34 +00:00
Mark Pollack
351fba1a04
POM maintenance
...
Place parent pom in publicly accessible directory (org.sf.spring-parent).
Create a component list pom in org.sf.spring-library.
2009-03-29 09:56:38 +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
Arjen Poutsma
5bcdf81656
Javadoc
2009-03-28 21:20:18 +00:00
Arjen Poutsma
04b3edca33
SPR-5625 - Allow for exceptions to be annotated with a @ResponseStatus annotation
2009-03-28 11:19:45 +00:00
Arjen Poutsma
3ade31bb51
Added tests for returned ModelAndView
2009-03-28 11:07:18 +00:00
Mark Pollack
a9c8ba407c
POM maintenance
2009-03-28 01:41:11 +00:00
Mark Pollack
5f21cbd9da
POM maintenance
2009-03-27 21:28:51 +00:00
Arjen Poutsma
161c926054
SPR-5624 - A default HandlerExceptionResolver that resolves standard Spring exceptions
2009-03-27 19:53:42 +00:00
Arjen Poutsma
f92b7f1011
Added readInternal template method
2009-03-27 17:57:41 +00:00
Juergen Hoeller
bcf6f23225
declarative destroy-method="..." specifications get validated at bean creation time (SPR-5602)
2009-03-27 17:45:53 +00:00
Arjen Poutsma
d14cc0d7a2
- Renamed writeToInternal to writeInternal
...
- Added separate exceptions for reading and writing HttpMessages
2009-03-27 17:43:29 +00:00
Juergen Hoeller
82fd947712
polishing
2009-03-27 17:41:03 +00:00
Juergen Hoeller
fbfbb88032
introduced "matchesName" method on BeanDefinitionHolder
2009-03-27 17:40:25 +00:00
Juergen Hoeller
565c1c1320
added Groovy file settings
2009-03-27 17:33:50 +00:00
Juergen Hoeller
2e378a8049
added further generic property resolution test
2009-03-27 17:31:15 +00:00
Juergen Hoeller
225eb6bcd9
refined version ranges in OSGi manifests
2009-03-27 17:29:48 +00:00
Juergen Hoeller
7e4a230793
removed Axis 1.x support
2009-03-27 17:28:25 +00:00
Arjen Poutsma
ee0a294fe8
Made looping over handlerExceptionResolvers more explicit.
2009-03-27 16:44:19 +00:00
Arjen Poutsma
61b76b2adc
Javadoc
2009-03-27 16:26:31 +00:00
Mark Pollack
74326a93d2
Fix SPEL tests when using maven. With the maven test runner expression.spel.SetValueTests is run before expression.spel.EvaluationTests. The order is reversed in eclipse/spring-build. Static variables are modifed in SetValueTests that cause EvaluationTests to fail if it is run first. Make a simple fix so SetValueTests uses a local evaluation context variable instead of a static variable.
2009-03-27 16:05:38 +00:00
Arjen Poutsma
f9541d1e28
DispatcherServlet.processHandlerException checks whether the ModelAndView is empty before rendering it.
2009-03-27 15:41:03 +00:00
Mark Pollack
2a35aee2c9
change javax.el revision to be 1.0 to be consistent across the project.
2009-03-27 15:07:33 +00:00
Scott Andrews
c488f3768c
updating eclipse classpath settings
2009-03-27 14:21:04 +00:00
Arjen Poutsma
337323a114
SPR-5617 - Optional Ivy dependencies are mandatory in the OXM bundle's manifest
2009-03-27 10:29:18 +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
2c0c523d70
don't assert that CGLIB must be present unless there is at least one @Configuration class found
2009-03-27 03:10:41 +00:00
Chris Beams
af058e599d
fixing tests in .test package that were failing due to missing CGLIB dependency
2009-03-27 02:10:41 +00:00
Juergen Hoeller
160e04c15a
AspectJ update
2009-03-27 00:10:31 +00:00
Juergen Hoeller
89d1c99277
AspectJ update
2009-03-27 00:08:38 +00:00
Juergen Hoeller
62785abc72
polishing
2009-03-27 00:07:25 +00:00
Juergen Hoeller
341ec4ed41
updated to JRuby 1.2 and Hessian 3.2.1
2009-03-27 00:02:20 +00:00
Juergen Hoeller
ef41a12fea
updated to JRuby 1.2 (remaining compatible with JRuby 1.1 and above)
2009-03-27 00:01:41 +00:00
Juergen Hoeller
07fba932ac
updated to Hessian 3.2.1 (remaining compatible with Hessian 3.1.3 and above)
2009-03-27 00:00:31 +00:00
Juergen Hoeller
81e683b3ee
CachedIntrospectionResults always caches bean classes except in case of custom BeanInfo (SPR-4876)
2009-03-26 23:15:23 +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
Chris Beams
826c733c9e
SPR-5616: updated spring-library to include asm and oxm bundles in .libd and ivy files
2009-03-26 14:07:53 +00:00
Ben Hale
ce24868209
[SPR-5618] Added an Ignored-Existing-Headers directive
2009-03-26 13:57:50 +00:00
Chris Beams
77b2c4e199
SPR-5615 - Improved error message: s/is no interface/is not an interface
2009-03-26 13:56:14 +00:00
Juergen Hoeller
88e336cf56
FreeMarkerView and ResourceBundle/XmlViewResolver can be initialized with ServletContext only (e.g. for testing)
2009-03-26 13:52:28 +00:00
Juergen Hoeller
40b06b5f19
fixed broken "setManagedInterfaces" interface assertion (SPR-5615)
2009-03-26 13:49:21 +00:00
Ben Hale
fe99003b45
Made WebApplicationContextUtils:registerWebApplicationScopes public. Changed core's org.springframework.asm OSGi import to proper version numbers
2009-03-26 09:53:14 +00:00
Scott Andrews
99fa91d56e
SPR-5605 spring:url tag should use htmlEscape instead of escapeXml for entity encoding
2009-03-26 04:37:26 +00:00
Scott Andrews
0dfba993e8
updating eclipse classpath for test dependencies
2009-03-26 04:30:37 +00:00
Arjen Poutsma
035eea01e8
SPR-5409 - Support for PUTting and POSTing non-form data
2009-03-25 16:33:27 +00:00
Thomas Risberg
93c56f19df
added a config property to control defaulting of primitive property when receiving null value from result (SPR-5588)
2009-03-25 15:26:39 +00:00
Arjen Poutsma
476a0ed76e
polishing
2009-03-25 12:15:11 +00:00
Thomas Risberg
4dc4ce3275
changed MapSqlParameterSource to SqlParameterSource in executeFunction and executeObject methods for SimpleJdbcCall (SPR-5570)
2009-03-25 12:14:55 +00:00
Thomas Risberg
360434d0d1
defaulting primitive property when receiving null value from result in BeanPropertyRowMapper (SPR-5588)
2009-03-25 12:12:42 +00:00
Arjen Poutsma
665b284443
Added some leftover tests
2009-03-25 11:26:39 +00:00
Arjen Poutsma
d75291714a
SPR-5604: OXM bundle's BSN is incorrect
2009-03-25 09:57:59 +00:00
Mark Pollack
0152d8d21d
SPR-5385, SPR-5301 - initial pass completed of POMs for maven central repository upload. N.B. Can not build spring with these POMs.
...
Cleanup remains to meet maven central metadata requirements
2009-03-25 08:06:34 +00:00
Chris Beams
e5f4b4937c
Re-adding ConfigurationPostProcessorTests after its brief removal in r814. @Ignore-ing the testCglibClassesAreLoadedJustInTimeForEnhancement() method as it turns out this was one of the culprits in the recent build breakage. The classloader hacking causes subtle downstream effects, breaking unrelated tests. The test method is still useful, but should only be run on a manual basis to ensure CGLIB is not prematurely classloaded, and should not be run as part of the automated build.
2009-03-25 06:01:17 +00:00
Chris Beams
2db0f122c1
fixed two build-breaking issues:
...
+ reverted ClassMetadataReadingVisitor to revision 794
+ eliminated ConfigurationPostProcessorTests until further investigation determines why it causes downstream tests to fail (such as the seemingly unrelated ClassPathXmlApplicationContextTests)
2009-03-25 03:14:35 +00:00
Keith Donald
8d63a34652
set value tests
2009-03-24 19:55:39 +00:00
Arjen Poutsma
c178888efd
SPR-5537: ReSTful URLs with content type extension do not work properly
2009-03-24 17:36:18 +00:00
Mark Pollack
0b463c0838
SPR-5385, SPR-5301 - partial work committed.
2009-03-24 05:56:56 +00:00
Juergen Hoeller
6ca253e3e6
RmiServiceExporter and RmiRegistryFactoryBean synchronize registry lookup/creation
2009-03-24 00:05:21 +00:00
Keith Donald
be61846331
pruned bean references support as it was not used
2009-03-23 21:33:15 +00:00
Keith Donald
c546ca68d8
upgrade to latest spring build
2009-03-23 19:27:00 +00:00
Keith Donald
cbcb88399c
made asm an eclipse project
2009-03-23 19:26:01 +00:00
Arjen Poutsma
dc0a82bb93
Added test for multiple template variables in one path segment.
2009-03-23 16:37:58 +00:00
Juergen Hoeller
423c4113ee
ConstructorArgumentValues exposed indexed arguments in the order of definition (SPR-5554)
2009-03-23 16:06:24 +00:00
Arjen Poutsma
a004ed1c51
SPR-5571: typo in RestTemplate javadoc
2009-03-23 14:54:48 +00:00
Juergen Hoeller
dab23a71f9
polishing
2009-03-23 14:39:25 +00:00
Juergen Hoeller
df99929e21
added TaskScheduler interface and Trigger abstraction; added ConcurrentTaskScheduler and ThreadPoolTaskScheduler; added CommonJ TimerManagerTaskScheduler; added CronTrigger implementation for cron expression support
2009-03-23 14:38:55 +00:00
Juergen Hoeller
26f0671250
TimerTaskExecutor creates non-daemon Timer and uses bean name as default Timer name
2009-03-23 14:35:16 +00:00
Juergen Hoeller
d42e24a752
polishing
2009-03-23 14:15:47 +00:00
Juergen Hoeller
4344832a47
qualifier annotations and @Value can be used at method level as well (applying to all parameters);
...
fixed EL evaluation of prepared constructor arguments for repeated prototype creation
2009-03-23 14:13:41 +00:00
Juergen Hoeller
4708446d4a
fixed CachingMapDecorator to support garbage-collected weak references (again)
2009-03-23 11:34:51 +00:00
Juergen Hoeller
84cc32525f
type variable cache uses weak values
2009-03-23 11:32:03 +00:00
Juergen Hoeller
38182f302a
added superfluous cast as a workaround for the Sun Javac compiler
2009-03-23 11:30:00 +00:00
Juergen Hoeller
7fb59f3226
implement ASM ClassVisitor interface directly
2009-03-23 11:29:29 +00:00
Juergen Hoeller
f19fdde61b
polishing
2009-03-23 11:28:49 +00:00
Juergen Hoeller
6d7bf17394
polishing
2009-03-23 11:20:18 +00:00
Juergen Hoeller
c82a66b59c
SessionAwareMessageListener supports generic declaration of concrete JMS Message type
2009-03-23 11:19:25 +00:00
Chris Beams
147709fa9e
Tweaks to package-info.java files
2009-03-23 07:36:44 +00:00
Chris Beams
22b25e0d7b
Consolidated Util and MutableAnnotationUtils classes into existing AsmUtils
2009-03-23 07:01:01 +00:00
Chris Beams
7f96f57375
polishing
2009-03-23 06:23:01 +00:00
Chris Beams
1284bd585f
+ JavaDoc updates
...
+ added objectweb.asm back to .classpath to satisfy transitive need from groovy tests
+ package.html -> package-info.java
2009-03-23 05:28:58 +00:00
Chris Beams
bafe6b3ff9
+ Removed org.springframework.config.java module
2009-03-23 04:52:47 +00:00
Chris Beams
cd50e45645
+ Moving .config.java module -> .context
2009-03-23 04:48:04 +00:00
Chris Beams
63b5c48461
+ Pruned empty directories
2009-03-23 04:25:20 +00:00
Chris Beams
e3b93c3b79
+ Pruned empty directories
2009-03-23 04:24:35 +00:00
Chris Beams
ef02c61e58
+ Repackaged src and test from .config.java.* -> .context.annotation.*
2009-03-23 04:23:25 +00:00
Chris Beams
3f196517f9
+ Repackaging test codebase from .config.java.* -> .context.annotation.*
2009-03-23 04:14:20 +00:00
Chris Beams
b8f712621d
+ Added isCglibClassName() to AopUtils for checking bean class names before classloading
...
+ Added tests for @Aspect support in @Configuration classes
+ Added tests for @Inherited @Configuration behavior
2009-03-23 03:59:07 +00:00
Chris Beams
c9ab18e7e7
Made ConfigurationModel semantics explicit by having it extend LinkedHashSet<ConfigurationClass>
2009-03-22 22:59:10 +00:00
Chris Beams
8a5c2a6a56
+ Added tests for custom @Bean naming and aliasing
...
+ Eliminated BeanDefinitionRegistrar and BeanRegistrar types
+ Simplified ConfigurationEnhancer logic
+ Updated JavaDoc for ConfigurationModel and related classes
+ Updated JavaDoc for all ASM visitors
2009-03-22 22:39:04 +00:00
Chris Beams
2bbc4e48ad
+ Added unit test for BeanMethod
2009-03-22 02:38:44 +00:00
Chris Beams
72fae2ea19
+ Source attribution is now consistent across all registered Problems
...
+ Various pruning of dead code and polish
2009-03-22 01:43:31 +00:00
Chris Beams
8b4ad4575c
Circular @Imports are now handled by registering a Problem (CircularImportProblem) as an error with the current ProblemReporter. This eliminates the need for CircularImportException and is a more tooling-friendly approach.
2009-03-21 21:43:44 +00:00
Chris Beams
3ae3de19a9
+ Updated all projects to use the re-introduced org.springframework.asm instead of org.objectweb.asm (.java, template.mf, ivy.xml, and .classpath files have been updated)
...
+ Finished support for @Import, including detection of circular imports
2009-03-21 19:00:57 +00:00
Ben Hale
9182cab52f
[SPR-5459] Added jarjar'd asm packaging
2009-03-20 12:15:06 +00:00
Thomas Risberg
abbdc1144a
Added the Spring Framework reference documentation
2009-03-18 20:00:49 +00:00
Colin Sampaleanu
d4ba002b00
update hibernate and openjpa dependencies to match the orm module
...
variants. Note that tests are still broken
2009-03-15 03:07:05 +00:00
Mark Pollack
13dfa11def
Add support for @ScopedProxy for factory beans using the @FactoryBean annotation within a @Component
...
Add missing unit tests
2009-03-13 18:14:40 +00:00
Colin Sampaleanu
bf31766ff8
fix ecliipse jar imports to match recent changes (hibernate, openjpa) to
...
ivy dependenies
2009-03-13 05:39:32 +00:00
Chris Beams
5b4fc2de36
removing unnecessary eclipse 'Project Facets' metadata
2009-03-13 04:16:58 +00:00
Thomas Risberg
9b1edea8a0
added tests for custom SQLException translation, polished (SPR-4899)
2009-03-12 21:32:40 +00:00
Thomas Risberg
a3942c5c1b
changed exception class thrown for problems configuring GenericSqlQuery class (SPR-3986)
2009-03-12 21:30:42 +00:00
Thomas Risberg
49549d66ae
added the option of providing a database specific custom SQLExceptionTranslator to provide customized translation for any SQLException before the error codes translation happens (SPR-4899)
2009-03-12 17:22:02 +00:00
Thomas Risberg
943e359c4a
switched tests to use JUnit4
2009-03-12 06:29:33 +00:00
Thomas Risberg
7ccb0b6e66
added a concrete GenericSqlQuery class to make it possible to configure in application context (SPR-3986)
2009-03-12 04:38:56 +00:00
Thomas Risberg
4145c299ef
fixed missing tabs in application context file (SPR-3987)
2009-03-12 04:35:45 +00:00
Thomas Risberg
2855e5c086
moved the application context file to correct directory (SPR-3987)
2009-03-12 02:17:49 +00:00
Thomas Risberg
8fdc57ecbd
added a concrete GenericStoredProcedure class to make it possible to configure using application context (SPR-3987)
2009-03-11 23:01:22 +00:00
Thomas Risberg
a0139abf1e
added a DuplicatKeyException catagory for SQLException translation (SPR-5125)
2009-03-09 23:26:54 +00:00
Keith Donald
d9f5a7a6c8
custom converters
2009-03-09 02:28:22 +00:00
Keith Donald
0ef0ff60f0
super converter implementation
2009-03-08 08:47:10 +00:00
Chris Beams
b04009357a
ignoring clover prefs
2009-03-07 21:51:41 +00:00
Chris Beams
4f8b812e29
ignoring clover prefs
2009-03-07 21:50:53 +00:00
Chris Beams
0494320266
Eliminated all compilation warnings
2009-03-07 21:47:48 +00:00
Chris Beams
dc191bec2d
Whitespace and license polish
2009-03-07 21:41:45 +00:00
Mark Pollack
a2c87ae67a
Initial cut of feature to create factory beans using the @FactoryBean annotation within a @Component
2009-03-07 07:48:53 +00:00
Mark Pollack
fc9c3009fe
Initial cut of feature to create factory beans using the @FactoryBean annotation within a @Component
2009-03-07 07:42:25 +00:00
Chris Beams
6281948cf9
Dependency updates
2009-03-07 06:37:19 +00:00
Chris Beams
f953fd5b22
+ Further documentation and pruning.
...
+ Added testing-related TODOs where appropriate
2009-03-07 06:36:18 +00:00
Chris Beams
3130351233
Removed empty .internal package
2009-03-07 06:17:12 +00:00
Chris Beams
5de6e2c395
+ Eliminated support for @Extension methods for now
...
+ Consolidated all remaining supporting classes into .support package, eliminating .internal.*
+ 7 public types remain
2009-03-07 06:14:46 +00:00
Chris Beams
faffd98621
Javadoc polish & pruning dead code
2009-03-07 05:49:12 +00:00
Chris Beams
3231f458c8
+ Added 'proxyMode' attribute to @Scope annotation
...
+ Eliminated @ScopedProxy in favor of @Scope(proxyMode=NO|INTERFACES|TARGET_CLASS)
2009-03-07 04:54:31 +00:00
Chris Beams
9735c8024c
@Scope is now allowed on methods (for use in conjunction with @Bean)
2009-03-07 03:37:10 +00:00
Chris Beams
100ba6599f
+ Eliminated UsageError/Validatable/MalformedConfigurationException in favor of existing Problem/ProblemReporter types
...
+ Pruned a number of attributes from the @Bean and @Configuration annotations
2009-03-07 03:22:22 +00:00
Rossen Stoyanchev
c41c64389f
Add (missing) dependencies on oxm project and xmlunit library
2009-03-07 00:08:49 +00:00
Keith Donald
3a7b4bf1b0
basic conversion service impl; still need super converters, custom converters, and conversion of generic collection elements
2009-03-06 23:48:17 +00:00
Keith Donald
c1f3ec0c5b
turned on debug logging
2009-03-06 20:33:43 +00:00
Keith Donald
b04134cffb
removed aopalliance errant dependency; removed unused import
2009-03-06 20:25:34 +00:00
Keith Donald
622357291c
assert of length 1
2009-03-06 20:22:05 +00:00
Chris Beams
11657b54e0
Removing accidentally committed clover-related eclipse metadata
2009-03-06 20:20:40 +00:00
Keith Donald
3d318ea387
javadoc polishing
2009-03-06 20:20:34 +00:00
Chris Beams
9216b3e8e1
Removed Validator interface and inlined its implementations
2009-03-06 20:17:17 +00:00
Keith Donald
c278e1e943
convert system spi and api
2009-03-06 20:08:33 +00:00
Chris Beams
f83019afed
Re-enabled support for @ScopedProxy
2009-03-06 19:33:53 +00:00
Chris Beams
048b7f638f
+ Moved @Bean into base package, next to @Configuration
...
+ Removed .ext package
+ Further reduced visibility of types wherever possible
+ Eliminated package cycles
2009-03-06 07:18:42 +00:00
Chris Beams
00ecbde244
Simplifying packaging
2009-03-06 07:11:01 +00:00
Chris Beams
dfab514568
polish
2009-03-06 07:05:38 +00:00
Chris Beams
2e7e982487
+ Renamed Scopes -> StandardScopes
...
+ Renamed ConfigurationPostProcessor -> ConfigurationClassPostProcessor
+ JavaDoc and polish for AbstractConfigurationClassProcessor
2009-03-06 06:55:53 +00:00
Chris Beams
8610c0bce8
+ Added .clover to svn:ignore
...
+ Updated ivy Spring dependencies from 2.5.6 -> latest.integration
+ Added src/test/resources directory to appease Spring Build
2009-03-06 03:27:12 +00:00
Chris Beams
b985011b24
+ Fleshed out, documented, tested and polished the ConfigurationPostProcessor implementation
...
+ Removed @FactoryMethod indirection and extension point in favor of direct processing of @Bean annotations
2009-03-06 03:12:53 +00:00
Chris Beams
43b2a40343
Initial work to ensure CGLIB classes are not eagerly loaded (CGLIB should only be required if Spring users wish to process @Configuration classes)
2009-03-06 00:38:30 +00:00
Chris Beams
93b558b1ce
eliminated dead code
2009-03-05 20:22:06 +00:00
Chris Beams
04314a62e6
Updated ivy and template.mf dependency metadata; added src/main/resources to quiet a spurious build error.
2009-03-05 20:18:08 +00:00
Chris Beams
eaf3a7cec4
+ Adding POC tooling integration points, namely AbstractConfigurationPostProcessor and allowing for tooling-specified ClassLoader for use with ASM parsing
...
+ Eliminated ModelMethod in favor of BeanMethod throughout
2009-03-05 20:08:15 +00:00
Arjen Poutsma
61a1c4d0c6
Added SourceHttpMessageConverter as a default.
2009-03-03 11:38:38 +00:00
Arjen Poutsma
ca01cb4df6
SPR-5539: Add XML HttpMessageConverters
2009-03-03 11:34:41 +00:00
Arjen Poutsma
2a790ad25b
Javadoc
2009-03-03 10:42:43 +00:00
Arjen Poutsma
cbd5ddbb0d
SPR-5536: RestTemplate does not do HTTP GET if it should
2009-03-03 09:32:48 +00:00
Arjen Poutsma
b08ad44230
SPR-5536: RestTemplate does not do HTTP GET if it should
2009-03-03 09:32:05 +00:00
Chris Beams
6631092870
Removed JSTL-related errors from petclinic search and show JSPs
2009-03-03 02:31:45 +00:00
Chris Beams
e834711bc0
+ Removed old testsuite.iml (favor integration-testsuite.iml)
...
+ Updated integration-tests/.classpath to point to javax.jdo 2.1.0 instead of 2.0.0
2009-03-03 00:02:18 +00:00
Chris Beams
6b6b8e50a3
Removed dm Server as targeted runtime for petclinic
2009-03-03 00:01:15 +00:00
Arjen Poutsma
b96b72fbaf
Typos
2009-03-02 20:22:55 +00:00
Arjen Poutsma
03f3bf09d6
SPR-5449: XStreamMarshaller.setImplicitCollection(Map) is insufficient
2009-03-02 11:19:26 +00:00
Chris Beams
ff83255ace
Adding eclipse metadata
2009-03-01 21:04:30 +00:00
Chris Beams
e3153f705f
+ Renamed @Factory -> @FactoryMethod
...
+ callbackType -> interceptor
+ registrarType -> registrar
+ validatorTypes -> validators
2009-02-28 06:57:52 +00:00
Chris Beams
f9918f9b2e
Formatting pass, primarily to align with Spring's convention of hard tab indentation.
2009-02-28 06:18:46 +00:00
Chris Beams
f8270428df
+ Removed requirement for enhanced subclasses to implement InitializingBean. This was in support of injecting @ExternalValue fields, but is no longer necessary in light of @Value
...
+ Added formatting rules
2009-02-28 06:10:17 +00:00
Chris Beams
3dac5d82b1
Pruned empty .model package
2009-02-28 04:56:26 +00:00
Chris Beams
c0c8117d51
+ Eliminated .util package
...
+ Renamed DefaultScopes -> Scopes
+ Renamed MalformedJavaConfigurationException -> MalformedConfigurationException
2009-02-28 04:55:04 +00:00
Chris Beams
f43e1110e9
Pruned empty .factory package
2009-02-28 03:44:48 +00:00
Chris Beams
c593f06397
Consolidating types and reducing visibility wherever possible. Non-internal public API is now at 18 types (21 including internal packages).
2009-02-28 03:43:35 +00:00
Chris Beams
6deb1acab4
Refactoring and repackaging
2009-02-28 03:08:06 +00:00
Chris Beams
d4fdad2202
+ Further repackaging and consolidation
...
+ Tested compatibility with @Value (works, but noticed and filed an unrelated-to-javaconfig improvement. See SPR-5530)
2009-02-28 01:35:04 +00:00
Chris Beams
2689751c2b
Repackaging to remove remaining cycles and increase cohesion
2009-02-27 22:54:35 +00:00
Chris Beams
191b829a6c
added 'target' directory to svn:ignore
2009-02-27 03:35:09 +00:00
Chris Beams
e48fe0d892
Initial cut at migrating JavaConfig essentials into Core. test.basic.BasicTests successfully excercises the simplest possible @Configuration class (contains a single @Bean method). 39 classes were pulled in from from JavaConfig to support this use case.
2009-02-27 01:35:44 +00:00
Arjen Poutsma
e8b353e703
Fixing Spring Build
2009-02-25 19:12:12 +00:00
Chris Beams
719a25a006
Updating Eclipse classpath to reflect new dependencies on mortbay resources.
2009-02-25 15:44:38 +00:00
Arjen Poutsma
c1ea5a3ab8
Fixing Petclinic
2009-02-25 14:32:51 +00:00
Juergen Hoeller
a1ea7f1820
polishing
2009-02-25 13:57:58 +00:00
Juergen Hoeller
e10c843809
finalized changelog for M2 release
2009-02-25 13:55:30 +00:00
Juergen Hoeller
e989292e2a
updated compile and test dependencies
2009-02-25 13:42:45 +00:00
Juergen Hoeller
96e00d6594
clarified applicability of @Order
2009-02-25 13:41:57 +00:00
Arjen Poutsma
5367ec0ff7
Javadoc
2009-02-25 12:12:14 +00:00
Arjen Poutsma
d83b601de0
Javadoc
2009-02-25 11:18:20 +00:00
Juergen Hoeller
516cc02d23
added Commons DBCP as test dependency
2009-02-25 10:08:50 +00:00
Juergen Hoeller
6d66e43402
updated code style settings
2009-02-25 10:08:23 +00:00
Juergen Hoeller
092de0107c
improved NoClassDefFoundError handling during constructor resolution (SPR-5522)
2009-02-25 10:07:57 +00:00
Ben Hale
b80362f8d1
project-build upgrade
2009-02-25 09:39:00 +00:00
Juergen Hoeller
160249c012
generified FactoryBeans and further Java 5 code style updates
2009-02-25 00:34:22 +00:00
Juergen Hoeller
555fa3b4c8
revised OXM package: no provider-specific exceptions anymore, etc
2009-02-25 00:28:15 +00:00
Arjen Poutsma
866ee1150e
Added Form converter as a default
2009-02-24 16:21:07 +00:00
Arjen Poutsma
778a00a595
javadoc
2009-02-24 16:20:26 +00:00
Arjen Poutsma
2fde8ef4d9
Fixed URI encoding in URIEditor to be RFC 2396 compliant
2009-02-24 15:12:54 +00:00
Arjen Poutsma
eb47a4b5be
SPR-5516: RestTemplate should encode the url variables
2009-02-24 15:01:01 +00:00
Arjen Poutsma
4c0edc2b9d
SPR-5515: NPE when passing null as a request to RestTemplate.postForLocation
2009-02-24 14:01:07 +00:00
Arjen Poutsma
2d0705467a
Added Form converter
2009-02-24 12:59:59 +00:00
Arjen Poutsma
e35201fc78
Javadoc
2009-02-24 12:36:22 +00:00
Juergen Hoeller
c46b0ae271
polishing
2009-02-24 12:20:41 +00:00
Juergen Hoeller
760cab8fea
refactored HTTP support into top-level package "org.springframework.http"; revised RestTemplate facility in package "org.springframework.web.client"
2009-02-24 11:46:00 +00:00
Juergen Hoeller
882c195221
polishing
2009-02-24 00:27:36 +00:00
Juergen Hoeller
0b4e7cc5ed
deprecated support for JMS 1.0.2 providers
2009-02-24 00:26:37 +00:00
Arjen Poutsma
11e7ad21b0
Added tests
2009-02-23 23:44:49 +00:00
Arjen Poutsma
332607ad6c
Fixed issue in parsing of invalid MediaTypes from java.net.HttpUrlConnection (*; q=.2)
2009-02-23 22:02:10 +00:00
Arjen Poutsma
bc8941084a
Added MultiValueMap
2009-02-23 17:15:00 +00:00
Arjen Poutsma
e22f267dba
Added ServerHttpRequest/Response to web.http, and Servlet-based implementations.
2009-02-23 11:49:09 +00:00
Arjen Poutsma
b2fdd7f1fe
Added UriTemplate class
2009-02-22 14:54:09 +00:00
Arjen Poutsma
ca535bb1d0
SPR-5260: RestTemplate
2009-02-22 14:51:00 +00:00
Arjen Poutsma
cdd37d7e8b
Character encoding tests
2009-02-22 14:46:12 +00:00
Arjen Poutsma
e9d548e62f
Fixed problem when headers were written after ClientHttpRequest.execute()
2009-02-22 14:35:28 +00:00
Arjen Poutsma
0db40dd676
Fixing tests
2009-02-22 10:15:32 +00:00
Arjen Poutsma
1bc5188953
Fixing tests
2009-02-22 10:03:40 +00:00
Juergen Hoeller
dc1edccc56
prototype beans receive independent collection/array even when based on single value (SPR-5512)
2009-02-21 18:04:08 +00:00
Arjen Poutsma
2de9e2a38d
Added HTTP conversion abstraction for RestTemplate
2009-02-21 13:34:55 +00:00
Arjen Poutsma
4a02cd96ea
Added HTTP abstraction for RestTemplate
2009-02-21 11:52:38 +00:00
Juergen Hoeller
5fed34bdb4
testing the exception message when conversion of a generic collection element fails
2009-02-20 17:12:29 +00:00
Arjen Poutsma
171b855d10
Added JUnit 4.5
2009-02-20 14:58:19 +00:00
Juergen Hoeller
84ea67669a
ModelAndView's "cleared" state gets preserved in case of plain model Map access
2009-02-20 11:48:26 +00:00
Juergen Hoeller
eb1631f458
SimpleAliasRegistry detects resolved aliases that loop back to the original name (SPR-5419); PropertyPlaceholderConfigurer does not modify Map in case of equal String keys (SPR-5318); inner class names in Java source style ("java.lang.Thread.State") supported as well (SPR-5210)
2009-02-19 16:17:35 +00:00
Juergen Hoeller
ff8e7a1289
further M2 revisions
2009-02-19 00:29:21 +00:00
Juergen Hoeller
4cc42bf16f
added "flush()" method to TransactionStatus and TransactionSynchronization interfaces; test context manager automatically flushes transactions before rolling back; general polishing of transaction management code
2009-02-19 00:24:05 +00:00
Juergen Hoeller
dd7d299aa4
updated for execution of integration tests
2009-02-19 00:16:20 +00:00
Juergen Hoeller
56bd995d9c
"url" macro in "spring.ftl" performs standard Servlet URL encoding automatically
2009-02-18 23:55:32 +00:00
Juergen Hoeller
d3d0111439
polishing
2009-02-18 23:51:03 +00:00
Juergen Hoeller
85bc98ea4b
MethodInvocations and ProceedingJoinPoints always expose original method (not bridge); ProceedingJoinPoint resolves parameter names using ASM-based parameter name discovery
2009-02-18 23:45:14 +00:00
Juergen Hoeller
02164ab6a7
always use static imports with '*'
2009-02-17 19:10:35 +00:00
Juergen Hoeller
43caa57296
optimized OrderComparator usage
2009-02-17 18:19:57 +00:00
Juergen Hoeller
9871e94cad
SimpleAliasRegistry's "getAliases" method returns transitive aliases now; @Qualifier value matching takes chained aliases of target beans into account as well
2009-02-17 18:18:33 +00:00
Juergen Hoeller
35c36dda4b
fixed HTTP invoker to support resolution of multi-level primitive array classes again
2009-02-17 17:50:14 +00:00
Juergen Hoeller
57874a6050
SmartApplicationListener interface supports source type checking; SimpleApplicationEventMulticaster caches information about event/source matches
2009-02-17 17:46:14 +00:00
Arjen Poutsma
aff17ca9e5
Uncommented test case
2009-02-16 13:42:05 +00:00
Juergen Hoeller
35040a6572
prepared for 3.0 M2 release
2009-02-16 01:51:18 +00:00
Juergen Hoeller
5a09a2d642
polishing
2009-02-16 01:43:49 +00:00
Juergen Hoeller
d56419dad9
default post-processors use their default component order now
2009-02-16 01:43:24 +00:00
Juergen Hoeller
46cbaa9729
pre-converted property values are preserved more eagerly for re-created beans (SPR-5293)
2009-02-16 01:36:13 +00:00
Juergen Hoeller
15bbd575a9
bridge method resolution works with Hibernate-generated CGLIB proxies as well (SPR-5414)
2009-02-16 01:35:35 +00:00
Juergen Hoeller
213b528ffe
ASM-based AnnotationMetadata fully resolves class arguments and enums into Java types (SPR-5477, SPR-5479)
2009-02-15 21:50:01 +00:00
Juergen Hoeller
90b5c3a8dd
@RequestMapping type-level param constraints taken into account consistently
2009-02-15 21:31:20 +00:00
Juergen Hoeller
a25e24f37e
generified TransactionCallback; WebSphereUowTransactionManager preserves original exception in case of rollback (SPR-5270)
2009-02-15 19:48:18 +00:00
Chris Beams
d0b03604c8
Remapped static resources as /petclinic/static/images/...
...
Renamed tutorial from petclinic.html -> tutorial.html
2009-02-14 21:50:51 +00:00
Chris Beams
3ddd08942c
Polishing the new RESTful interface to the petclinic webapp (SPR-5487):
...
* Eliminated redundant 'clinic' servlet mapping (was: http://localhost:8080/petclinic/clinic/owners ; now: http://localhost:8080/petclinic/owners )
* A parameterless GET for /owners now returns the list of all owners, rather than an error.
* /owners/form is now /owners/search (distinguishes the 'search form' resource from the 'edit owner form' resource)
* Eliminated any need for redirects, <welcome-file-list/>, and index.jsp. Deleted all of them.
* Updated /owners/{oid}/edit to submit using PUT instead of POST
* Updated URI for edit pet form from /owners/{oid}/pets/{pid} to /owners/{oid}/pets/{pid}/edit (the edit form is a distinct resource)
* Updated /owners/{oid}/pets/{pid}/edit to submit using PUT instead of POST
Changes unrelated to the web interface:
* Partitioned up JSPs into new owners, pets, and vets folders.
* Renamed those JSPs, e.g. ownerForm.jsp -> owners/form.jsp; findOwners.jsp -> owners/search.jsp; owners.jsp -> owners/list.jsp
* Updated various controllers to respect the changes to the URI templates, etc.
* Updated .classpath to include all necessary projects and libs to run the webapp successfully in WTP
* Updated JSP error checking rules to relax validation of fragments like header.jsp and footer.jsp
2009-02-14 09:11:14 +00:00
Chris Beams
da2175c0b7
* Updated Eclipse classpath metadata
...
* Fixed (or suppressed as necessary) JSP errors in petclinic
2009-02-14 03:09:59 +00:00
Juergen Hoeller
fe462916b1
TypeUtils detects variations of ParameterizedType/GenericArrayType assignability as well
2009-02-13 12:17:48 +00:00
Juergen Hoeller
d8651a88ec
UrlResource eagerly closes HTTP connections in case of "getInputStream()" failure (SPR-5338)
2009-02-13 12:16:11 +00:00
Juergen Hoeller
c8080be4e5
completed documentation on session destruction callbacks
2009-02-13 11:51:53 +00:00
Juergen Hoeller
6b2d4a81a0
optional boolean parameters in MVC handler methods resolve to "false" if not present
2009-02-13 11:46:55 +00:00
Arjen Poutsma
721f2ca63e
Test for SPR-5362
2009-02-13 10:32:22 +00:00
Ben Hale
4252d40708
Upgrade to spring-build
2009-02-13 10:30:33 +00:00
Juergen Hoeller
2674b13b06
fixed MessageListenerAdapter's "getSubscriptionName()" to work without delegate as well (SPR-5309)
2009-02-13 09:15:43 +00:00
Juergen Hoeller
796392db1a
ReflectionUtils findMethod detects methods on "java.lang.Object" as well
2009-02-13 09:14:08 +00:00
Juergen Hoeller
ffb9625abf
polishing
2009-02-13 09:11:03 +00:00
Juergen Hoeller
e58d036c73
generic collection type resolution respects upper bound as well
2009-02-13 09:09:56 +00:00
Ben Hale
483104f0fa
Updated to new version of spring-build
2009-02-13 08:56:49 +00:00
Juergen Hoeller
647495edd3
avoid NPE in PathMatchingResourcePatternResolver when initialized with null ClassLoader
2009-02-12 23:46:17 +00:00
Juergen Hoeller
d6ed6fcd3f
refined OSGi version constraints for "javax.annotation" and "junit.framework"
2009-02-12 23:36:56 +00:00
Juergen Hoeller
ad266a347e
DefaultLobHandler uses explicit Blob/Clob access for reading when "wrapAsLob"=true
2009-02-12 23:30:28 +00:00
Juergen Hoeller
08dd18df58
revised expression parser API design
2009-02-12 23:03:58 +00:00
Juergen Hoeller
2bdb62f4c2
added IntelliJ settings for integration-tests module
2009-02-12 22:12:27 +00:00
Juergen Hoeller
f4b466dfdd
made SpringBeanAutowiringInterceptor callback signature compatible with WebSphere
2009-02-12 18:05:37 +00:00
Juergen Hoeller
ac104d4da0
polishing
2009-02-12 17:41:46 +00:00
Juergen Hoeller
fb057bb5f6
generified NumberUtils signature
2009-02-12 17:40:51 +00:00
Juergen Hoeller
8669b3293c
fixed JmsException/JmsUtils to fully avoid NPEs in case of cause messages being null
2009-02-12 17:33:57 +00:00
Juergen Hoeller
777a104d48
added @Async annotation, AsyncExecutionInterceptor, AsyncAnnotationAdvisor
2009-02-10 11:24:05 +00:00
Arjen Poutsma
21a442b253
Solved concurrency issue
2009-02-09 22:10:47 +00:00
Juergen Hoeller
5a04ed502b
registered plain singletons will be fully matched according to their qualifiers; "systemProperties" bean is not considered a default match for type Properties anymore (SPR-5355)
2009-02-09 22:06:07 +00:00
Juergen Hoeller
6086bb37e7
updated to Hibernate 3.3 + Hibernate EntityManager 3.4 (requires SFL4J <= 1.5.3!) as well as OpenJPA 1.1
2009-02-09 21:40:53 +00:00
Juergen Hoeller
0794756fba
revised advice ordering (for async execution interceptor)
2009-02-09 18:32:21 +00:00
Juergen Hoeller
fc6d7358ef
polishing
2009-02-09 18:28:04 +00:00
Juergen Hoeller
60392d6e74
ApplicationListener beans get obtained on demand, supporting non-singletons as well; ApplicationListeners will be called in the order according to the Ordered contract; generified ApplicationListener interface
2009-02-09 18:26:30 +00:00
Juergen Hoeller
6609386e41
polishing
2009-02-09 15:38:17 +00:00
Juergen Hoeller
205df56ee4
support for WebSphere's ResourceAdapter-managed transactions
2009-02-09 15:36:20 +00:00
Arjen Poutsma
f5e5fc1662
Added content negotiation and MarshallingView to petclinic
2009-02-06 16:12:13 +00:00
Arjen Poutsma
fae0110536
Added content negotiation and MarshallingView to petclinic
2009-02-06 15:54:57 +00:00
Arjen Poutsma
df563dfcd6
SPR-5452: Content negotiation
2009-02-06 14:38:30 +00:00
Arjen Poutsma
b96a7a7a8c
SPR-5460: Add AtomView sample to PetClinic
2009-02-06 09:12:08 +00:00
Arjen Poutsma
ce83ebf0de
Added link to Atom spec in javadoc
2009-02-06 08:18:37 +00:00
Juergen Hoeller
7e4fb09369
added "Future submit(Runnable)" and "Future submit(Callable)" to AsyncTaskExecutor; SchedulingTaskExecutor interface extends AsyncTaskExecutor; added ExecutorServiceAdapter class as a standard wrapper for a Spring TaskExecutor; added ThreadPoolExecutorFactoryBean; reduced backport-concurrent support to TaskExecutor adapters
2009-02-05 22:45:35 +00:00
Juergen Hoeller
6cdc25d66a
all "taskExecutor" bean properties now accept any "java.util.concurrent.Executor"
2009-02-05 21:18:10 +00:00
Juergen Hoeller
ea54c6391e
deprecated ConcurrentMap
2009-02-05 21:07:53 +00:00
Juergen Hoeller
92588cddc6
Java 5 code style
2009-02-05 21:04:13 +00:00
Arjen Poutsma
460977263d
Added extractFullFilenameFromUrlPath to WebUtils
2009-02-05 15:45:25 +00:00
Arjen Poutsma
b0180fdf32
Added MediaType
2009-02-05 15:44:16 +00:00
Arjen Poutsma
747ee86079
Made CollectionsFactory generic
2009-02-05 15:33:44 +00:00
Arjen Poutsma
5786f6c359
Made threadlocals generic
2009-02-03 11:24:10 +00:00
Ramnivas Laddad
c8d6c15a05
Fixed toString(), toShortString(), and toLongString() methods for signature and join point (SPR-5437)
2009-01-27 22:58:28 +00:00
Scott Andrews
27460e323a
creating eclipse project settings for org.springframework.spring-library
2009-01-26 16:03:05 +00:00
Scott Andrews
dd2f1b467b
adding servlet api to the eclipse classpath to clear up tooling errors from JSP files
2009-01-26 15:49:55 +00:00
Scott Andrews
178e1161d7
updating eclipse classpath for JDO 2.1
2009-01-26 15:42:13 +00:00
Scott Andrews
0a48996f14
adding missing test time dependencies
2009-01-26 15:35:17 +00:00
Juergen Hoeller
e7c5a28586
polishing
2009-01-25 23:29:45 +00:00
Juergen Hoeller
eef6086325
polishing
2009-01-25 23:28:01 +00:00
Juergen Hoeller
e7465dcb99
generified operations interfaces; update to JDO 2.1; preparation for JPA 2.0
2009-01-25 23:20:41 +00:00
Ramnivas Laddad
612ed8c660
Added sourcepath for aspectjweaver jar
2009-01-24 17:04:29 +00:00
Arjen Poutsma
6c96c48bf5
Resurrected requestScopeTests.xml from revision 573
2009-01-24 12:16:45 +00:00
Scott Andrews
7dcb3b5841
fixing broken unit test related to SPR-5429
2009-01-23 22:32:26 +00:00
Scott Andrews
300e4d7284
SPR-5429 Update Pet Clinic to use HSQL as an embedded database
...
Removing support for running HSQL in stand-alone mode. Out of the box embedded HSQL and MySQL are supported.
2009-01-23 20:52:20 +00:00
Scott Andrews
16c9391069
SPR-5429 Update Pet Clinic to use HSQL as an embedded database
...
Created DbcpDataSourceFactory factory bean to create and populate a dbcp based connection pool. The factory bean is based on EmbeddedDataSourceFactory from the JavaConfig version of Pet Clinic. The new DbcpDataSourceFactory has been tested with HSQL in embedded and stand-alone modes.
2009-01-23 20:33:17 +00:00
Scott Andrews
9335233618
javadoc polish
2009-01-23 15:18:25 +00:00
Arjen Poutsma
16843b3a07
Fixed usage of wrong TestBean package.
2009-01-23 11:57:58 +00:00
Scott Andrews
61b5428211
SPR-2733 Improvement for handling checkboxes in web forms (patch included)
...
Introduced default field prefix of '!', which can be overridden with WebDataBinder#setFieldDefaultPrefix. If a field is otherwise not present, the default value is used for the field. Field markers for the same field are ignored.
2009-01-23 00:03:33 +00:00
Scott Andrews
8e261e5833
SPR-3389 Nicer handling of Java 5 enums by the Spring MVC form taglib.
...
The form:options and form:radiobuttons tags will now render a set of options automatically if the bind target is an Enum and items are not otherwise specified. The values of the enum are converted into form inputs where by default the form value is the enum's name() and the form label is the enum's toString().
2009-01-22 20:36:36 +00:00
Arjen Poutsma
ad2cc34b79
SPR-2581: Provide out of the box implementation of the thread scope
2009-01-22 15:41:29 +00:00
Arjen Poutsma
bf9ffe2d67
javadoc
2009-01-22 12:02:30 +00:00
Arjen Poutsma
becea6115e
SPR-3360: util:property-path like functionality for the p-namespace
2009-01-22 12:01:25 +00:00
Arjen Poutsma
1b6c4929ad
Renamed ShortcutTests to SimplePropertyNamespaceHandlerTests
2009-01-22 11:41:14 +00:00
Scott Andrews
52d3440266
removing org.springframework.testsuite, subversive desided to commit the directory without prompting me...
2009-01-21 23:13:00 +00:00
Scott Andrews
1f770574b0
updating eclipse settings and classpaths
2009-01-21 23:02:43 +00:00
Scott Andrews
3bef38e8f8
2009-01-21 22:48:19 +00:00
Arjen Poutsma
7f7ff4ea9b
Moved petclinic test configs to resource directory.
2009-01-21 22:26:48 +00:00
Arjen Poutsma
fe31de529b
SPR-5326: HibernateClinic in PetClinic sample should use constructor-injection instead of field injection
2009-01-21 22:13:00 +00:00
Arjen Poutsma
f09db3a106
SPR-5335: manager.sh classpath for petclinic should be updated
2009-01-21 21:31:05 +00:00
Arjen Poutsma
60ce3eb12f
SPR-5335: manager.sh classpath for petclinic should be updated
2009-01-21 21:04:15 +00:00
Arjen Poutsma
c7d1d3ccb8
SPR-5367: PathVariable mappings are greedy over hard coded mappings
2009-01-21 17:45:42 +00:00
Arjen Poutsma
5d5e41269b
Added Pattern comparitor
2009-01-21 17:06:37 +00:00
Juergen Hoeller
61c9397c01
added M2 section to changelog
2009-01-20 18:49:13 +00:00
Juergen Hoeller
49ba677b64
introduced @CookieValue annotation
2009-01-20 18:32:24 +00:00
Juergen Hoeller
9dec670be4
consistent copies of mocks
2009-01-20 18:08:14 +00:00
Juergen Hoeller
8dbbb533f3
consistent copies of mocks
2009-01-20 18:01:51 +00:00
Juergen Hoeller
f0415306d5
consistent copies of mocks
2009-01-20 18:01:40 +00:00
Juergen Hoeller
76a6527c4c
consistent copies of mocks
2009-01-20 18:01:26 +00:00
Ben Hale
5585526ad1
Upgraded spring-build
2009-01-20 11:06:48 +00:00
Juergen Hoeller
8af66c83ad
consistent mock behavior
2009-01-19 23:35:42 +00:00
Juergen Hoeller
d950b56999
revised common handler method processing for Portlet 2.0 update
2009-01-19 23:34:41 +00:00
Juergen Hoeller
464c7eedf2
updated Spring Portlet MVC to Portlet API 2.0
2009-01-19 23:32:32 +00:00
Juergen Hoeller
76888e243f
polishing
2009-01-19 22:07:25 +00:00
Arjen Poutsma
5948d05ee0
Removed generated classes from repo.
2009-01-16 09:28:54 +00:00
Ben Hale
6479966ac7
Added castor and jaxb2 to the oxm build
2009-01-15 14:45:15 +00:00
Arjen Poutsma
00734954bd
Added test-classes to classpath, necessary for generated xmlbeans code
2009-01-15 11:26:21 +00:00
Arjen Poutsma
6d5e07f46a
Added jaxb2 and castor tasks for Ben to play with.
2009-01-15 11:12:55 +00:00
Arjen Poutsma
7ec86ebd9e
Enabled XMLBeans tests
2009-01-15 10:26:00 +00:00
Ben Hale
4206b69b60
Moved to the trunk spring-build version
2009-01-15 10:18:31 +00:00
Arjen Poutsma
c3fcab05f0
Enabled Jibx tests
2009-01-15 09:48:29 +00:00
Ben Hale
17fe9c9712
Updated spring-build
2009-01-14 16:45:03 +00:00
Ben Hale
b1d474193d
Split the compile and test-compile macros. Added a pre-compile macro.
2009-01-14 16:29:33 +00:00
Arjen Poutsma
7b73830987
Added simple test for SPR-5365
2009-01-14 11:04:28 +00:00
Arjen Poutsma
1dec645383
Polish
2009-01-14 10:03:28 +00:00
Juergen Hoeller
7cdc195331
Portlet mocks support Portlet API 2.0
2009-01-14 09:34:07 +00:00
Juergen Hoeller
46f99640ee
javadoc updates for 3.0
2009-01-14 09:29:30 +00:00
Juergen Hoeller
ce2c59ec84
Java 5 code style
2009-01-14 09:27:51 +00:00
Juergen Hoeller
b05d800205
added "processInjectionBasedOnServletContext" variant
2009-01-14 09:23:52 +00:00
Arjen Poutsma
e863f9a371
SPR-5380: MarshallingView should override AbstractView instead of AbstractUrlBasedView
2009-01-13 10:41:26 +00:00
Arjen Poutsma
e966fd9605
- Removed GenericMarshaller & GenericUnmarshaller
...
- Made Marshaller and Unmarshaller generic
2009-01-12 16:43:52 +00:00
Arjen Poutsma
56bdfae39a
Added oxm module
2009-01-09 13:34:00 +00:00
Ben Hale
c04dec1b15
Updated spring-build
2009-01-09 13:33:41 +00:00
Arjen Poutsma
fc06f9ba72
OXM is nearing completion
2009-01-09 12:48:19 +00:00
Arjen Poutsma
f2329cf426
Aded createStaxResult
2009-01-09 12:37:41 +00:00
Arjen Poutsma
8ce1f203ff
Added generated classes for Castor.
2009-01-08 11:12:28 +00:00
Arjen Poutsma
ccd59ca088
Added StaxUtils, hidden StaxSource, StaxResult, and various other Stax-specific classes behind this utility class.
2009-01-07 16:20:40 +00:00
Arjen Poutsma
74f3ed3f19
Added DomContentHandler
2009-01-07 12:20:58 +00:00
Arjen Poutsma
76de5b0e10
Added DomContentHandler
2009-01-07 12:20:42 +00:00
Arjen Poutsma
e03a27ef46
Added Stax Source methods to TransformerUtils
2009-01-07 12:00:39 +00:00
Arjen Poutsma
688593074a
Fixed version numbers
2009-01-07 11:38:18 +00:00
Arjen Poutsma
22e78c90e0
Added StaxResult
2009-01-07 11:37:09 +00:00
Arjen Poutsma
6be49ad8c5
Added StaxEventContentHandler
2009-01-07 11:36:33 +00:00
Arjen Poutsma
e0fe3f35aa
Test -> Tests
2009-01-07 11:24:50 +00:00
Arjen Poutsma
7bf6d90f20
Added StaxStreamContentHandler
2009-01-07 11:24:01 +00:00
Arjen Poutsma
0637dbad5e
Test -> Tests
2009-01-07 11:20:08 +00:00
Arjen Poutsma
2945253d20
Added SimpleNamespaceContext
2009-01-06 17:07:59 +00:00
Arjen Poutsma
8152b266b1
Renamed XmlReader classes to XMLReader classes
2009-01-06 16:43:49 +00:00
Arjen Poutsma
5f8d442708
Renamed XmlReader tests to XMLReader tests
2009-01-06 16:40:37 +00:00
Arjen Poutsma
86cf17e5e9
Renamed XmlReaders to XMLReaders
2009-01-06 16:32:59 +00:00
Arjen Poutsma
5dfe6775d4
Added various XML helper classes, for use with OXM
2009-01-06 16:24:42 +00:00
Arjen Poutsma
2eca3aee06
Added JaxpVersion
2009-01-06 12:33:41 +00:00
Arjen Poutsma
6ba9ad8116
Added @Override
2009-01-06 11:19:19 +00:00
Arjen Poutsma
03582973d7
Initial import of OXM module
2009-01-06 11:18:27 +00:00
Chris Beams
d116c8733a
polishing .beans tests
2008-12-24 22:02:08 +00:00
Chris Beams
46722fa946
removing unintentionally added file
2008-12-24 21:52:44 +00:00
Chris Beams
62db6af879
polishing .beans tests
2008-12-24 21:52:19 +00:00
Chris Beams
a0bf1b4ade
polishing .beans tests
2008-12-24 20:29:14 +00:00
Chris Beams
915ad0a8d9
polishing .beans tests
2008-12-24 20:17:43 +00:00
Chris Beams
751daf95a1
polishing .beans tests
2008-12-24 19:34:04 +00:00
Chris Beams
670bfd5ee2
+ polishing .beans tests
...
+ removed unnecessary dependency on hibernate
2008-12-24 19:14:15 +00:00
Chris Beams
3d634f1eb7
polishing .beans tests
2008-12-24 18:16:53 +00:00
Chris Beams
6966099d85
polishing .aop tests
2008-12-21 00:12:12 +00:00
Chris Beams
4671fd7141
polishing .aop tests
2008-12-20 23:34:49 +00:00
Chris Beams
9211357e94
polishing .aop tests
2008-12-20 23:28:22 +00:00
Chris Beams
5dd4e5220a
polishing .aop tests
2008-12-20 23:01:02 +00:00
Chris Beams
0f4ab0a987
polishing .aop tests
2008-12-20 22:30:29 +00:00
Chris Beams
beea69d83b
polishing .aop tests
2008-12-20 21:06:19 +00:00
Chris Beams
56e868b2d7
polishing .aop tests
2008-12-20 20:06:11 +00:00
Chris Beams
7abde41d5b
polishing .aop tests
2008-12-20 19:29:15 +00:00
Chris Beams
ac9f9c1348
updated eclipse team project definition from .testsuite -> .integration-tests
2008-12-20 09:40:21 +00:00
Chris Beams
07c15ce746
renamed .testsuite -> .integration-tests
2008-12-20 09:36:46 +00:00
Chris Beams
a73e4fc266
removing empty dirs from .testsuite
2008-12-20 09:14:08 +00:00
Chris Beams
c3a68dfdda
removing empty dirs from .testsuite
2008-12-20 09:12:11 +00:00
Chris Beams
6a31155c62
eliminating all unnecessary artifacts from .testsuite
2008-12-20 09:09:31 +00:00
Chris Beams
3da373eeaf
moved XmlBeanFactoryTests and attendant XML from .testsuite -> .context
2008-12-20 08:19:32 +00:00
Chris Beams
d083432478
refactored .context module's .beans.factory and .context.access tests in preparation for moving .beans.factory.xml tests from .testsuite -> .context
2008-12-20 07:22:07 +00:00
Chris Beams
78c692b0cb
refactored XmlBeanFactoryTests in preparation for move from .testsuite -> .context
2008-12-20 00:18:15 +00:00
Chris Beams
7a0d9c7533
moved ApplicationContext-dependent .beans.factory.xml.* tests from .testsuite -> .context
2008-12-19 22:33:26 +00:00
Chris Beams
be53a80657
moved ApplicationContext-dependent .aop.* unit tests from .testsuite -> .context
...
in the process, identified and refactored two genuine integration tests (AopNamespaceHandlerScopeIntegrationTests, AdvisorAutoProxyCreatorIntegrationTests), which will remain in .testsuite due to broad-ranging dependencies
2008-12-19 21:58:42 +00:00
Chris Beams
2d37eb722b
+ moving .aop.aspectj.* unit tests from .testsuite -> .context
...
+ @SuppressWarnings and generic parameters to production .aop sources
2008-12-19 15:45:06 +00:00
Chris Beams
4a77699d38
refactoring .testsuite .aop.aspectj tests in preparation for migration to .context
2008-12-19 14:57:35 +00:00
Chris Beams
d7a9d7c8e6
+ refactoring .testsuite .aop.aspectj tests in preparation for migration to .context
...
+ updated all ivy.xml files to depend on AspectJ 1.6.2
2008-12-19 14:56:09 +00:00
Chris Beams
5b9da399c6
moving .aop.aspectj.* unit tests from .testsuite -> .context
2008-12-19 03:45:30 +00:00
Chris Beams
b6906ecfb7
final polish on .testsuite .aop.aspectj tests prior to migration to .context
2008-12-19 03:10:43 +00:00
Chris Beams
81efa4d23c
refactoring .testsuite .aop.aspectj tests in preparation for migration to .context
2008-12-19 02:59:46 +00:00
Chris Beams
6f91ffac62
refactoring .testsuite .aop.aspectj tests in preparation for migration to .context
2008-12-19 02:57:21 +00:00
Chris Beams
eabec18151
refactoring .testsuite .aop.aspectj tests in preparation for migration to .context
2008-12-19 02:29:04 +00:00
Chris Beams
aee972c5b1
re-adding mock.jndi.* artifacts to .orm test codebase eliminated after moving away from svn:externals
2008-12-18 22:30:35 +00:00
Chris Beams
9845f56ba0
reverting accidentally deleted (in r469) mock/web/* classes
2008-12-18 22:16:16 +00:00
Chris Beams
ea68d343fa
eliminated svn:externals in favor of localized copies of shared artifacts
2008-12-18 21:27:18 +00:00
Juergen Hoeller
c442a5818d
updated dependencies
2008-12-18 19:16:54 +00:00
Juergen Hoeller
1cc845af6d
got rid of Commons Collections dependency
2008-12-18 19:14:49 +00:00
Juergen Hoeller
bbe4da4f19
removed dependency on Servlet API mocks
2008-12-18 19:13:35 +00:00
Juergen Hoeller
f0dbfeb791
removed dependency on Servlet API mocks
2008-12-18 18:58:26 +00:00
Chris Beams
ac8f37439b
removing svn:externals usage approach to common test artifacts
2008-12-18 18:44:45 +00:00
Chris Beams
685f2fbc1c
+ updated petclinic dependency metadata from junit 4.4->4.5; servlet 2.4->2.5
...
+ deprecated AssertThrows (slated for complete removal by 3.0 GA)
2008-12-18 18:32:05 +00:00
Chris Beams
986bb1995d
Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
2008-12-18 14:52:45 +00:00
Chris Beams
579280d7bf
Whitespace polishing: leading spaces->tabs; updated eclipse configuration to default to leading tabs for all bundles
2008-12-18 14:50:25 +00:00
Chris Beams
0f521c3bfb
consolidated svn:externals definitions into single, project-root location
2008-12-18 00:07:30 +00:00
Chris Beams
75738f345d
updated .aop externals to pull in common.beans.core
2008-12-17 23:55:40 +00:00
Chris Beams
de7ec2288e
removed unused SideEffectBean imlpmentations
2008-12-17 23:52:20 +00:00
Chris Beams
08eeb52e57
introducing common.beans.* packaging and externals; experimenting with sharing SideEffectBean
2008-12-17 23:36:40 +00:00
Chris Beams
2be8114c63
cleaning up .testsuite
2008-12-17 23:20:57 +00:00
Chris Beams
92b1b73f32
moving unit tests from .testsuite -> .transaction
2008-12-17 20:16:27 +00:00
Chris Beams
c5f8b4f7c6
moving unit tests from .testsuite -> .transaction
2008-12-17 20:10:34 +00:00
Chris Beams
cac2c52e60
moving unit tests from .testsuite -> .transaction
...
fixed externals issue with .portlet that caused build failure
2008-12-17 19:46:35 +00:00
Chris Beams
efcc9b6448
removing empty dirs from .testsuite
2008-12-17 18:47:48 +00:00
Chris Beams
93e30a4fc5
moving unit tests from .testsuite -> .core, .beans, .web, .web.portlet, .web.servlet
2008-12-17 18:45:41 +00:00
Chris Beams
285be534df
removing empty dirs from .testsuite
2008-12-17 16:30:56 +00:00
Chris Beams
750bcf36a6
moving unit tests from .testsuite -> .test, .web.servlet
2008-12-17 16:28:56 +00:00
Chris Beams
78e1ebe1a8
adding properties file to simplify ant use in Bamboo CI build
2008-12-17 15:47:14 +00:00
Chris Beams
68444367b7
moving .test.* unit tests from .testsuite -> .test
2008-12-17 07:32:58 +00:00
Chris Beams
3e8c013df3
moving .scripting.* unit tests from .testsuite -> .context
2008-12-17 06:48:52 +00:00
Chris Beams
31f5961dce
moving remoting.*, scheduling.* unit tests from .testsuite -> .context, .web
2008-12-17 06:13:28 +00:00
Chris Beams
f5b1cae78c
removing empty .orm packages from .testsuite
2008-12-17 05:46:13 +00:00
Chris Beams
f4d8b69126
moving unit tests from .testsuite -> .orm
2008-12-17 05:33:45 +00:00
Chris Beams
10be5f08a5
moving .jndi, .mail and .mock.web unit tests from .testsuite to .context, .context.support, and .test bundles respectively
2008-12-17 02:20:01 +00:00
Chris Beams
b326565ce5
removing empty jmx dirs from .testsuite; ignoring jmx.log output from .context bundle
2008-12-17 00:42:33 +00:00
Chris Beams
72854849d9
moving jmx.* unit tests from .testsuite -> .context
2008-12-17 00:39:28 +00:00
Chris Beams
b4b8303375
removing empty .jms dirs from .testsuite
2008-12-17 00:20:21 +00:00
Chris Beams
5e0c5a42ad
moving unit tests from .testsuite -> .jms
2008-12-17 00:19:07 +00:00
Chris Beams
15860b1607
removing empty .jdbc dirs from .testsuite
2008-12-16 23:31:35 +00:00
Chris Beams
ed27e04a0d
moving unit tests from .testsuite -> .jdbc
2008-12-16 23:29:28 +00:00
Chris Beams
f2e9abf699
moved jca.* unit tests from .testsuite -> .transaction
2008-12-16 22:55:07 +00:00
Chris Beams
6285e61435
refactored jca.cci tests, prepped for move to .context
2008-12-16 22:28:09 +00:00
Chris Beams
f11bc4712c
moving instrument.classloading.* unit tests from .testsuite -> .context
2008-12-16 20:07:32 +00:00
Chris Beams
9ed180a80d
prepping .intstrument.classloading unit tests for move from .testsuite -> .context
2008-12-16 20:01:48 +00:00
Chris Beams
2952609672
finished moving .ejb.* unit tests from .testsuite -> .context
2008-12-16 19:19:41 +00:00
Chris Beams
0b0c8f1506
moving .ejb.access unit tests from .testsuite -> .context
2008-12-16 18:28:19 +00:00
Chris Beams
d3a46efeb2
moving unit tests from .testsuite -> .core
2008-12-16 17:04:43 +00:00
Chris Beams
d72897b6fa
moving unit tests from .testsuite -> .context
2008-12-16 05:35:23 +00:00
Chris Beams
74ef4cb0f3
moving unit tests from .testsuite -> .beans
2008-12-16 01:46:25 +00:00
Chris Beams
4526501559
moving unit tests from .testsuite -> .beans and .context
2008-12-16 01:08:43 +00:00
Chris Beams
4a149d00f6
adding resources to portlet/context/WEB-INF
2008-12-15 22:52:02 +00:00
Chris Beams
489427c3be
moving unit tests from .testsuite -> .web.servlet
2008-12-15 22:49:08 +00:00
Chris Beams
b8a8ceae91
moving unit tests from .testsuite -> .context
...
moved ContextSingletonBeanFactoryLocatorTests -> .context
pulled SingletonBeanFactoryLocatorTests and friends into .context via externals for use by the above
2008-12-15 18:49:11 +00:00
Chris Beams
f7813b48e1
moving unit tests from .testsuite -> .beans
...
moving and prepping to move SingletonBeanFactoryLocatorTests and ContextSingletonBeanFactoryLocatorTests to their respective .beans and .context packages
2008-12-15 18:37:33 +00:00
Chris Beams
a4c23509e3
moving unit tests from .testsuite -> .beans
...
refactoring/prepping several classes for upcoming move to .beans
2008-12-15 18:18:50 +00:00
Chris Beams
97e400efd6
moving unit tests from .testsuite -> .beans
...
RequiredAnnotationBeanPostProcessor tests
2008-12-15 17:48:31 +00:00
Chris Beams
ef414420c8
moving unit tests from .testsuite -> .beans
...
fixed broken unit tests getting ClassNotFoundExceptions
2008-12-15 17:13:48 +00:00
Chris Beams
2ec861351c
moving unit tests from .testsuite -> .beans
2008-12-15 09:25:01 +00:00
Chris Beams
52ac3cea8c
moving unit tests from .testsuite -> .beans
2008-12-15 08:41:35 +00:00
Chris Beams
248a7de73f
moving unit tests from .testsuite -> .beans
2008-12-15 05:20:25 +00:00
Chris Beams
b44d647dad
moving unit tests from .testsuite -> .beans
2008-12-15 04:10:27 +00:00
Chris Beams
afa4231751
moving unit tests from .testsuite -> .beans
...
added <?> wildcard to Scope methods that accept ObjectFactory
2008-12-15 03:39:13 +00:00
Chris Beams
6cb71bbb71
moving unit tests from .testsuite -> .beans
2008-12-15 02:27:35 +00:00
Chris Beams
8977ad4032
moving unit tests from .testsuite -> .core
2008-12-15 01:14:57 +00:00
Chris Beams
2359942dd7
moving unit tests from .testsuite -> .context
2008-12-14 21:46:55 +00:00
Chris Beams
931728ba2f
reverting CauchoRemotingTests back to 'localhosta' host name
2008-12-14 20:43:40 +00:00
Chris Beams
8b2cf634a3
moving unit tests from .testsuite -> .context
2008-12-14 20:13:56 +00:00
Chris Beams
87de85ef19
moving unit tests from .testsuite -> .context
2008-12-14 19:47:56 +00:00
Chris Beams
69d80518f3
moving unit tests from .testsuite -> .context
2008-12-14 18:40:53 +00:00
Chris Beams
95950d28de
moving unit tests from .testsuite -> .context.support
2008-12-14 18:01:20 +00:00
Chris Beams
0a47beb647
moving unit tests from .testsuite -> .context.support
2008-12-14 17:35:21 +00:00
Chris Beams
7432202b6a
moving unit tests from .testsuite -> .context
2008-12-14 17:03:18 +00:00
Chris Beams
b4e61dd9df
moving unit tests from .testsuite -> .context
2008-12-14 08:00:16 +00:00
Chris Beams
0572d9d1a4
pulling in example.scannable as external from .context -> .testsuite
...
eliminated duplicate artifacts in .context.annotation
2008-12-14 07:06:43 +00:00
Chris Beams
5e5d8b0196
moving example.scannable from .testsuite -> .context
2008-12-14 06:46:37 +00:00
Chris Beams
e944e2fcc5
moving unit tests from .testsuite -> .context
...
+ created example.scannable package to house scannable components away from .context.annotation package
+ example.scannable will also lend itself to sharing via externals
2008-12-14 06:32:25 +00:00
Chris Beams
57eaf42424
moving unit tests from .testsuite -> .context
2008-12-14 03:59:10 +00:00
Chris Beams
72b306fe0a
moved commonsPoolTests.xml back from .aop -> .testsuite
2008-12-14 03:41:39 +00:00
Chris Beams
64aa2620bc
added missing base classes, eliminated unused *Bean classes
2008-12-14 02:50:58 +00:00
Chris Beams
83870f3fca
fixed broken path to xml in CommonsPoolTargetSourceTests
...
eliminated duplicate tests existing in both .beans and .testsuite
2008-12-13 22:07:22 +00:00
Chris Beams
7f5e60e76a
moving unit tests from .testsuite -> .aop
2008-12-13 01:46:56 +00:00
Andy Clement
84a4fe6d39
remove files
2008-12-13 01:38:21 +00:00
Andy Clement
6d03f881e9
new files
2008-12-13 01:36:48 +00:00
Chris Beams
32bea88eb7
moving unit tests from .testsuite -> .aop
2008-12-13 01:27:27 +00:00
Chris Beams
e3ec177aab
moving unit tests from .testsuite -> .aop
2008-12-13 01:07:30 +00:00
Chris Beams
40016fc902
moving unit tests from .testsuite -> .aop
2008-12-13 00:35:22 +00:00
Chris Beams
be3ecf5fe7
moving unit tests from .testsuite -> .aop
2008-12-13 00:11:12 +00:00
Andy Clement
5ff4008423
Refactored package structure and made some getValue() methods generic
2008-12-12 23:07:08 +00:00
Chris Beams
4c88488c5a
moving unit tests from .testsuite -> .aop
...
@Ignore'd a portion of PersistenceXmlParsingTests#testExampleComplex: it is failing, but only under clover coverage runs
2008-12-12 20:09:17 +00:00
Chris Beams
04d3f984b1
polish: leading spaces -> tabs across .aop and .testsuite bundles
2008-12-12 19:39:14 +00:00
Chris Beams
b7cc5d2402
Java 5 code style
2008-12-12 19:03:33 +00:00
Chris Beams
5cb1b1d17c
moving unit tests from .testsuite -> .aop
2008-12-12 18:57:46 +00:00
Chris Beams
56908e32cd
polish
2008-12-12 18:22:29 +00:00
Chris Beams
3c0015c1ec
moving unit tests from .testsuite -> .aop
2008-12-12 18:08:15 +00:00
Chris Beams
c563f97b90
moving unit tests from .testsuite -> .aop
2008-12-12 17:30:02 +00:00
Chris Beams
1546c15187
moving unit tests from .testsuite -> .aop
2008-12-12 17:17:32 +00:00
Chris Beams
003866835e
fixed breaking test that was pointing to wrong PerThisAspect
2008-12-12 04:34:47 +00:00
Chris Beams
f4a7700216
moving unit tests from .testsuite -> .aop
2008-12-12 03:36:10 +00:00
Chris Beams
c69bbfe058
moving unit tests from .testsuite -> .aop
2008-12-12 01:32:27 +00:00
Chris Beams
1dade36c5d
added svn:externals dependency on example.aspects from org.springframework.aop
2008-12-12 01:08:48 +00:00
Chris Beams
2b7bc1ea58
moving unit tests from .testsuite -> .aop
2008-12-12 01:02:05 +00:00
Chris Beams
bd33eb7715
moving unit tests from .testsuite -> .aop
2008-12-12 00:57:14 +00:00
Chris Beams
1de06a619c
moving unit tests from .testsuite -> .aop
2008-12-11 23:48:24 +00:00
Chris Beams
7bba0b7a69
moving unit tests from .testsuite -> .aop
2008-12-11 23:35:15 +00:00
Chris Beams
c373688c00
moving unit tests from .testsuite -> .aop
2008-12-11 23:28:31 +00:00
Chris Beams
e8cacade02
moving unit tests from .testsuite -> .aop
2008-12-11 23:24:12 +00:00
Chris Beams
78f8494bec
moving unit tests from .testsuite -> .aop
2008-12-11 23:17:06 +00:00
Chris Beams
2ae8ce6fe8
upgraded integration test to JUnit 4
2008-12-11 22:41:00 +00:00
Chris Beams
08f1be7f85
moving unit tests from .testsuite -> .aop
2008-12-11 22:37:31 +00:00
Chris Beams
4b2a5a2383
moving unit tests from .testsuite -> .aop
2008-12-11 22:33:33 +00:00
Chris Beams
0ae3bbb0fc
moving unit tests from .testsuite -> .aop
2008-12-11 22:18:50 +00:00
Chris Beams
57b5bdea20
moving unit tests from .testsuite -> .aop
2008-12-11 22:08:06 +00:00
Chris Beams
3412f9b6f9
moving unit tests from .testsuite -> .aop
2008-12-11 21:55:53 +00:00
Chris Beams
3ca36b39e0
added an eclipse team project set, added several files to svn:ignore for .testsuite
2008-12-11 01:05:29 +00:00
Chris Beams
0e3124179b
added dependency on org.eclipse.persistence 1.0.1
2008-12-10 23:48:42 +00:00
Chris Beams
f389a9a7b2
added org.springframework.testsuite back into the top-level build
2008-12-09 03:13:21 +00:00
Chris Beams
1e628e6af1
fixed additional breaking tests in .testsuite
...
+ both .testuite and .context.support require .jasper files to test against; pulling these files into .testsuite as an svn:external from .context.support to keep it DRY
2008-12-09 01:57:13 +00:00
Chris Beams
4093a53e6a
fixed or @Ignore'd broken tests
2008-12-08 21:43:29 +00:00
Chris Beams
5c1b4347e7
further updates to .classpath / ivy files for javax.el
...
+ made everything consistent with the .iml files
2008-12-07 02:22:45 +00:00
Chris Beams
b87ab27140
fixed broken tests
...
+ added dependency on antlr 2.7.6, eliminating ClassNotFoundExceptions
2008-12-07 02:03:17 +00:00
Chris Beams
c04c06f27e
fixed broken tests
...
+ ACATest was changed to ACATester during the move to Spring Build, but test-servlet.xml was not updated to reflect. This was resulting in NoSuchBeanDefinitionExceptions.
2008-12-07 01:10:58 +00:00
Chris Beams
f7dcf26193
fixed incorrect version for javax.el in .classpath files (was 2.1.0, now set to 1.0.0)
2008-12-07 01:08:37 +00:00
Juergen Hoeller
b449f9fe10
added build module for changelog access
2008-12-05 07:46:51 +00:00
Juergen Hoeller
df029b7f19
completed changelog
2008-12-05 07:45:18 +00:00
Juergen Hoeller
c4401c4058
updated changelog
2008-12-05 07:25:33 +00:00
Juergen Hoeller
0ed916495c
added @RequestHeader support
2008-12-05 07:17:31 +00:00
Juergen Hoeller
b3866a974a
fixed header value type
2008-12-05 07:07:06 +00:00
Juergen Hoeller
70b9dd6108
closed Java 5 code style gaps
2008-12-05 07:04:19 +00:00
Christian Dupuis
62a7457599
updated .classpath files to reflect recent changes in ivy files; aspectj.weaver 1.6.2 -> 1.6.2.RELEASE
2008-11-29 04:46:36 +00:00
Juergen Hoeller
71df72d634
properly scan subpackages as well (SPR-5324)
2008-11-28 14:05:15 +00:00
Juergen Hoeller
4f40a6c313
fixed javadoc errors
2008-11-28 13:56:30 +00:00
Juergen Hoeller
f8c690c542
Java 5 code style
2008-11-28 11:39:36 +00:00
Juergen Hoeller
fda7100866
consistent compilation against Servlet 2.5, JSP 2.1 and JUnit 4.5
2008-11-27 21:49:10 +00:00
Juergen Hoeller
c8e23290ca
consistent use of model name Strings
2008-11-27 21:24:42 +00:00
Juergen Hoeller
e3cc9237c4
updated mocks to Servlet 2.5 and JSP 2.1 API level
2008-11-27 21:23:23 +00:00
Juergen Hoeller
85661c6882
Java 5 code style
2008-11-27 17:35:44 +00:00
Juergen Hoeller
b0790bf5e7
Java 5 code style
2008-11-27 00:27:52 +00:00
Juergen Hoeller
6bbc966a21
fixed test source configuration
2008-11-27 00:26:21 +00:00
Juergen Hoeller
c38bc4aa7b
updated to AspectJ 1.6.2
2008-11-27 00:25:38 +00:00
Juergen Hoeller
a449472e06
2008-11-27 00:22:10 +00:00
Juergen Hoeller
f744808b49
removed JOTM and XAPool support
2008-11-27 00:21:29 +00:00
Costin Leau
cf1f6606f4
+ marked expression package as optional for spring-context
2008-11-26 10:26:46 +00:00
Costin Leau
8ba93ae12c
+ fix import for org.antlr package versions
2008-11-26 09:56:50 +00:00
Costin Leau
dca286d065
+ migrated some manifest template changed from 2.5.x to 3.0.x
2008-11-25 22:20:53 +00:00
Ben Hale
20bdc3c2d5
Polishing
2008-11-25 14:56:07 +00:00
Ben Hale
1a2135ec17
Publication is now automatic
2008-11-25 14:11:54 +00:00
Juergen Hoeller
29657105da
Java 5 code style
2008-11-25 01:29:54 +00:00
Chris Beams
1f9e63af49
+ Added necessary JPA dependencies to make Petclinic JUnit tests pass
...
+ Removed unused imports for @RequestParam
Note: While unit tests pass in eclipse, NoClassDefFound errors are still being thrown when tests are run from the command line.
2008-11-24 22:16:21 +00:00
Scott Andrews
96ba0d8ed6
added missing compile time deps to eclipse .classpath
2008-11-24 19:58:04 +00:00
Ben Hale
b70fe3f0a1
Remove the -with-dependencies build
2008-11-24 10:57:32 +00:00
Scott Andrews
14d4630570
eclipse classpath updates
2008-11-21 15:42:47 +00:00
Scott Andrews
05815d6840
applying spring:url best practices
2008-11-21 14:51:57 +00:00
Scott Andrews
eb89752f2b
adding eclipse/wtp project settings
2008-11-21 14:51:16 +00:00
Juergen Hoeller
597e92a1a6
Java 5 code style
2008-11-21 00:04:10 +00:00
Juergen Hoeller
9e419dacfc
added script resources
2008-11-20 23:54:00 +00:00
Arjen Poutsma
f56ee389e7
Petclinic is RESTful.
2008-11-20 23:43:59 +00:00
Arjen Poutsma
1929f67f02
Petclinic is RESTful.
2008-11-20 23:42:20 +00:00
Juergen Hoeller
e9649b3a34
added JUnit 4.5 compatibility note
2008-11-20 22:28:00 +00:00
Juergen Hoeller
582c564fa3
removed deprecated methods
2008-11-20 22:19:24 +00:00
Juergen Hoeller
3d1a709a5e
fixed buildExceptionMessage to avoid potential NPE (SPR-5275)
2008-11-20 22:18:21 +00:00
Juergen Hoeller
0038aaa697
ContextLoaderListener extends ContextLoader
2008-11-20 22:12:56 +00:00
Arjen Poutsma
693ae0c2b0
Removing my own name from the pets database.
2008-11-20 22:02:48 +00:00
Juergen Hoeller
ae34a8cb1b
basic JUnit 4.5 compatibility (accepting use of deprecated SPI)
2008-11-20 21:33:08 +00:00
Juergen Hoeller
22d3272117
updated for JRuby 1.1
2008-11-20 19:47:57 +00:00
Juergen Hoeller
51577b2a07
actually delegate from resolveContextualObject to resolveReference
2008-11-20 19:46:28 +00:00
Juergen Hoeller
05bebb0c05
completed value annotation support; Java 5 code style updates
2008-11-20 17:33:46 +00:00
Arjen Poutsma
998511a375
Petclinic seems to work
2008-11-20 16:28:38 +00:00
Arjen Poutsma
29c8f37ccc
Petclinic seems to work
2008-11-20 15:08:30 +00:00
Arjen Poutsma
a51268a31c
Added petclinic db
2008-11-20 15:05:37 +00:00
Arjen Poutsma
9d3cb3a47e
Added petclinic sample
2008-11-20 13:50:01 +00:00
Juergen Hoeller
68dfd9efe8
fixed javax.el version range (following 2.5.6.A)
2008-11-20 12:52:24 +00:00
Juergen Hoeller
97b1fd0fc4
fixed javax.el version range (following 2.5.6.A)
2008-11-20 12:36:59 +00:00
Juergen Hoeller
347f34c68a
EL container integration; support for contextual objects; removal of deprecated Spring 2.0 functionality; Java 5 code style
2008-11-20 02:10:53 +00:00
Ben Hale
369821dd66
spring-build update
2008-11-19 17:19:15 +00:00
Arjen Poutsma
efb0ab79f9
SPR-5251: URI Templates support relative @RequestMappings (on class level, with more specific mapping on method level)
2008-11-19 17:12:44 +00:00
Arjen Poutsma
27ed13f44d
SPR-5251: URI Templates support relative @RequestMappings (on class level, with more specific mapping on method level)
2008-11-19 17:08:34 +00:00
Arjen Poutsma
2b2805058b
Javadoc
2008-11-19 15:44:21 +00:00
Arjen Poutsma
cc5d3ec389
Increased timings of performance test, because the 100 ms does not work on our CI server.
2008-11-19 15:42:16 +00:00
Ben Hale
6379c69c38
Forgot a file
2008-11-19 15:19:40 +00:00
Ben Hale
4271f6d9e1
Upgrade to spring-build. Added dm Server library file
2008-11-19 15:13:53 +00:00
Arjen Poutsma
4e65f48f72
Added test and testsuite intellij projects.
2008-11-19 14:41:38 +00:00
Arjen Poutsma
bb5150361b
SPR-5251: URI Templates support infix variables: A-{B}-C
2008-11-19 11:48:13 +00:00
Arjen Poutsma
90ef7649c2
SPR-5251: URI Templates support /**-style paths
2008-11-18 15:12:28 +00:00
Arjen Poutsma
b33db73c93
SPR-5251: URI Templates for @InitBinder
2008-11-18 12:37:12 +00:00
Arjen Poutsma
fe72e8a5f7
SPR-5251: URI Templates in @RequestMapping
2008-11-17 16:00:03 +00:00
Scott Andrews
a1faaad9fa
SPR-5299 TLDs must be located under META-INF
...
Moving spring.tld and spring-form.tld under /src/main/resources/META-INF so they can be automatically discovered by the servlet container.
2008-11-17 15:10:26 +00:00
Arjen Poutsma
fe29a711f3
Updated projects and ivy.xmls
2008-11-17 15:09:17 +00:00
Arjen Poutsma
b313de0d1e
Added test for ServletAnnotationMappingUtils
2008-11-17 13:39:10 +00:00
Scott Andrews
7d1f2bd1da
SPR-5267 Support for PUT and DELETE in spring:form tag
...
Any HTTP method passed to the spring-form:form tag other then GET or POST will automatically be defaulted to POST on the form tag and a hidden input field is created with the requested HTTP method. By default, the hidden field is named '_method', the name can be overridden using the methodParam attribute on the spring-form:form tag.
2008-11-16 22:03:16 +00:00
Scott Andrews
912c1234cd
SPR-5298 JSP tag for building URLs with URI templates
...
Created spring:url and spring:param tags that enhance the functionality of the JSTL c:url tag. URI templates are supported in the url value attribute. They are resolved against the params defined inside the url tag body. Params that are unable to be applied as URI template are added to the query string.
2008-11-16 21:04:46 +00:00
Scott Andrews
ecb86b46a4
syncing eclipse classpath settings
2008-11-14 01:51:48 +00:00
Arjen Poutsma
24e34c894b
Fixed test
2008-11-08 10:24:07 +00:00
Arjen Poutsma
c62d4cb438
Generified StringUtils, and replaced StringBuffer usage with StringBuilder
2008-11-08 10:06:48 +00:00
Arjen Poutsma
ba42594112
SPR-4927: Return 405 instead of 404 when HTTP method is not supported
2008-11-08 09:37:55 +00:00
Arjen Poutsma
f7a45460cc
SPR-5267: Support for PUT and DELETE in spring:form tag
2008-11-08 09:31:51 +00:00
Thomas Risberg
e9877fa93a
SPR-5272: added sort to the categories that didn't have it
2008-11-07 20:21:08 +00:00
Arjen Poutsma
477543241f
SPR-5066
2008-11-07 10:22:43 +00:00
Arjen Poutsma
aeced8b1a9
Made ThreadLocals generic.
2008-11-06 12:43:00 +00:00
Arjen Poutsma
0012c1e2da
SPR-5237: Default value for @RequestParam
2008-11-04 14:39:53 +00:00
Scott Andrews
a647f1629d
syncing eclipse settings for unit tests
2008-11-03 18:41:02 +00:00
Arjen Poutsma
0bcc8fcead
Moved tests from testsuite to web.servlet
2008-11-03 12:25:46 +00:00
Arjen Poutsma
91576da3b0
2008-11-03 12:03:40 +00:00
Arjen Poutsma
3d06246195
Moved tests from testsuite to web.servlet
2008-11-03 12:03:31 +00:00
Arjen Poutsma
74733d0d1d
Moved tests from testsuite to web.servlet
2008-11-03 11:51:55 +00:00
Arjen Poutsma
e31ab5a09b
2008-11-03 11:51:50 +00:00
Arjen Poutsma
12f295b6f5
Moved tests from testsuite to web.servlet
2008-11-03 11:47:12 +00:00
Arjen Poutsma
4ed458d909
Moved tests from testsuite to web.servlet
2008-11-03 11:45:48 +00:00
Arjen Poutsma
427f0d64b9
Moved tests from testsuite to web.servlet
2008-11-03 11:44:37 +00:00
Arjen Poutsma
764a2441cc
Moved tests from testsuite to web.servlet
2008-11-03 11:34:38 +00:00
Arjen Poutsma
b08d97e2ed
Moved tests from testsuite to web.servlet
2008-11-03 11:29:38 +00:00
Arjen Poutsma
85d82f2244
Moved tests from testsuite to web.servlet
2008-11-03 11:27:39 +00:00
Arjen Poutsma
327c54839b
2008-11-03 11:27:18 +00:00
Arjen Poutsma
f0e0d9b494
Moved tests from testsuite to web
2008-11-03 11:14:16 +00:00
Arjen Poutsma
e7f5ebf992
2008-11-03 11:14:10 +00:00
Arjen Poutsma
cc057d76eb
2008-11-03 11:09:23 +00:00
Arjen Poutsma
a0adee719f
Moved tests from testsuite to web
2008-11-03 11:09:18 +00:00
Arjen Poutsma
827f5687e8
2008-11-03 10:53:41 +00:00
Arjen Poutsma
24b7165031
Moved tests from testsuite to web.servlet
2008-11-03 10:53:34 +00:00
Arjen Poutsma
8a4a00bd87
Moved tests from testsuite to web
2008-11-03 10:50:10 +00:00
Arjen Poutsma
6c48de5ad5
Moved tests from testsuite to web.servlet
2008-11-03 10:49:21 +00:00
Arjen Poutsma
25dab06804
Moved tests from testsuite to web
2008-11-03 10:42:27 +00:00
Arjen Poutsma
88efc06a23
Moved tests from testsuite to core
2008-11-03 10:34:10 +00:00
Arjen Poutsma
7ecdf96db5
Added Tiger tests
2008-11-03 09:56:23 +00:00
Arjen Poutsma
0a89948f53
Added Tiger tests
2008-11-03 09:46:34 +00:00
Arjen Poutsma
baac76e2b1
SPR-5249: Atom and RSS View
2008-10-31 17:48:50 +00:00
Arjen Poutsma
c920c938a1
made test suit compile again
2008-10-31 17:44:13 +00:00
Arjen Poutsma
89095e625c
Intellij projects
2008-10-31 17:43:22 +00:00
Arjen Poutsma
6f0342388c
Moved tests over from testsuite to beans
2008-10-31 17:30:55 +00:00
Arjen Poutsma
97e1cdd5fc
Moved tests from testsuite to jdbc
2008-10-31 10:02:48 +00:00
Arjen Poutsma
d66956b117
Changed use of AssertThrows to @Test(expected = ...)
2008-10-31 10:00:38 +00:00
Arjen Poutsma
113366fc0c
Changed use of AssertThrows to @Test(expected = ...)
2008-10-31 09:57:49 +00:00
Arjen Poutsma
2fd2a0d4d2
Changed use of AssertThrows to @Test(expected = ...)
2008-10-31 09:56:27 +00:00
Ben Hale
c15b580a31
Update of spring-build
2008-10-31 09:51:37 +00:00
Arjen Poutsma
39d5e191a6
Moved tests from testsuite to tx
2008-10-31 09:50:03 +00:00
Arjen Poutsma
753c7351f5
Moved tests from testsuite to context
2008-10-31 09:47:46 +00:00
Arjen Poutsma
23a7015cbd
Changed use of AssertThrows to @Test(expected = ...)
2008-10-31 09:46:08 +00:00
Ben Hale
f1bd19f2f3
Added max memory for javadoc vm
2008-10-31 09:39:17 +00:00
Arjen Poutsma
92b0f55028
Moved tests from testsuite to core
2008-10-31 09:35:45 +00:00
Arjen Poutsma
0392b80ad3
Changed use of AssertThrows to @Test(expected = ...)
2008-10-31 09:34:55 +00:00
Arjen Poutsma
e1536fcabb
Moved tests from testsuite to core
2008-10-31 09:11:09 +00:00
Arjen Poutsma
87a2905c6e
Changed use of AssertThrows to @Test(expected = ...)
2008-10-31 09:09:05 +00:00
Arjen Poutsma
b100e21175
Changed use of AssertThrows to @Test(expected = ...)
2008-10-31 09:05:50 +00:00
Arjen Poutsma
2cf6dc4480
Changed use of AssertThrows to @Test(expected = ...)
2008-10-31 08:57:10 +00:00
Ben Hale
19debfb080
Fixed up version
2008-10-31 08:37:11 +00:00
Arjen Poutsma
616739a2bc
Added test deps
2008-10-30 23:37:52 +00:00
Scott Andrews
7e19514658
eclipse settings to support unit test
2008-10-30 22:44:02 +00:00
Arjen Poutsma
e48323aa56
Moved tests from testsuite to context
2008-10-30 22:19:18 +00:00
Arjen Poutsma
9ab100ae2e
Moved tests from testsuite to context
2008-10-30 22:12:41 +00:00
Arjen Poutsma
4c7245d5de
Moved tests from testsuite to context support
2008-10-30 22:10:08 +00:00
Arjen Poutsma
a058729c2a
Moved tests from testsuite to context
2008-10-30 21:57:15 +00:00
Arjen Poutsma
5bb0e15ce9
Moved tests from testsuite to context
2008-10-30 21:56:08 +00:00
Arjen Poutsma
cd17ea06af
Moved tests from testsuite to context
2008-10-30 21:55:44 +00:00
Arjen Poutsma
4ad4aad271
Moved tests from testsuite to context.support
2008-10-30 21:49:52 +00:00
Ben Hale
dc2ca51f4e
Reorder the publishing
2008-10-30 19:36:10 +00:00
Scott Andrews
8ff43f17a9
eclipse settings to support unit test
2008-10-30 19:27:01 +00:00
Arjen Poutsma
6c4941bbc5
Moved tests from testsuite to jdbc
2008-10-30 17:35:13 +00:00
Arjen Poutsma
a02ee196b5
Moved tests from testsuite to jdbc
2008-10-30 17:24:23 +00:00
Arjen Poutsma
faa74a395e
Added test-time dep on commons collections
2008-10-30 17:17:32 +00:00
Arjen Poutsma
b090bb9bda
Moved tests from testsuite to jdbc
2008-10-30 17:17:12 +00:00
Arjen Poutsma
7a58c0e76f
Moved tests from testsuite to orm
2008-10-30 16:55:52 +00:00
Arjen Poutsma
fdd12e9a2f
Moved tests from testsuite to orm
2008-10-30 16:55:08 +00:00
Arjen Poutsma
5aae231707
Removed raw TopLink support
2008-10-30 16:52:47 +00:00
Arjen Poutsma
59d3ebebc1
Removed raw TopLink support
2008-10-30 16:51:33 +00:00
Arjen Poutsma
11a2e40d41
Removed raw TopLink support
2008-10-30 16:51:09 +00:00
Arjen Poutsma
434c744842
Moved tests from testsuite to orm
2008-10-30 16:48:56 +00:00
Arjen Poutsma
3620181a10
Moved tests from testsuite to orm
2008-10-30 16:46:52 +00:00
Arjen Poutsma
b7584189f5
Moved tests from testsuite to orm
2008-10-30 16:42:34 +00:00
Ben Hale
ff92c1942b
Missed namespace declaration
2008-10-30 16:34:21 +00:00
Ben Hale
68db46605e
Publishing changes
2008-10-30 16:31:54 +00:00
Arjen Poutsma
100a80e112
Moved tests from testsuite to context and context support
2008-10-30 16:24:14 +00:00
Arjen Poutsma
a1545e3f06
SPR-4419: Shallow ETag support
2008-10-30 15:29:19 +00:00
Arjen Poutsma
4f9fc753ca
Added MD5 hashing utils.
2008-10-30 15:07:49 +00:00
Arjen Poutsma
988c66c1c3
Added MD5 hashing utils.
2008-10-30 15:07:00 +00:00
Arjen Poutsma
2a4f985753
IntelliJ projects
2008-10-29 18:29:36 +00:00
Scott Andrews
a01aea4189
eclipse settings to support unit test
2008-10-29 18:22:25 +00:00
Arjen Poutsma
eae7267929
Moved tests from testsuite to beans
2008-10-29 18:20:29 +00:00
Arjen Poutsma
e31ad80a0b
Moved tests from testsuite to beans
2008-10-29 18:14:22 +00:00
Arjen Poutsma
e788cef856
Moved tests from testsuite to beans
2008-10-29 18:08:07 +00:00
Arjen Poutsma
dcaf024e76
Moved tests from testsuite to beans
2008-10-29 18:03:15 +00:00
Arjen Poutsma
7f90f08705
Moved tests from testsuite to beans
2008-10-29 17:59:31 +00:00
Arjen Poutsma
a1b810fbdf
Moved tests from testsuite to beans
2008-10-29 17:55:46 +00:00
Arjen Poutsma
49447e9bc9
Moved tests over from testsuite to beans
2008-10-29 17:51:42 +00:00
Arjen Poutsma
4efc95c825
Moved tests over from testsuite to beans
2008-10-29 17:45:51 +00:00
Arjen Poutsma
25031ce86b
Moved tests to context.support
2008-10-29 17:40:43 +00:00
Arjen Poutsma
bd1e259b4a
Moved tests over from testsuite to beans
2008-10-29 17:32:01 +00:00
Arjen Poutsma
6b80dbb4a9
Moved tests over from testsuite to core
2008-10-29 17:10:09 +00:00
Arjen Poutsma
6849cbd5ba
Moved tests over from testsuite to core
2008-10-29 17:08:09 +00:00
Arjen Poutsma
474e70db87
Moved tests over from testsuite to context.support
2008-10-29 16:41:03 +00:00
Scott Andrews
f91ac5a519
eclipse settings to support unit test
2008-10-29 15:00:00 +00:00
Arjen Poutsma
58dbd04cec
Moved tests over from testsuite to test
2008-10-29 13:58:15 +00:00
Arjen Poutsma
10f09e6298
Moved tests over from testsuite to core
2008-10-29 13:52:06 +00:00
Arjen Poutsma
8a5971c85d
Moved tests over from testsuite to core
2008-10-29 13:16:12 +00:00
Arjen Poutsma
75e8a09462
Moved tests over from testsuite to core
2008-10-29 12:58:14 +00:00
Arjen Poutsma
9151b9caae
Moved tests over from testsuite to core
2008-10-29 12:56:06 +00:00
Arjen Poutsma
77be96aed6
Moved tests over from testsuite to beans
2008-10-29 12:49:51 +00:00
Arjen Poutsma
7a49f023d1
Moved tests over from testsuite to beans
2008-10-29 12:43:13 +00:00
Arjen Poutsma
c9940742fd
Removed Commons Attributes from web.servlet module
2008-10-29 12:23:19 +00:00
Arjen Poutsma
f8b1e44734
Removed Commons Attributes from web.servlet module
2008-10-29 12:21:47 +00:00
Arjen Poutsma
4ddebb083e
Moved tests over from testsuite to core
2008-10-29 12:17:13 +00:00
Arjen Poutsma
da8b1c73ab
Moved tests over from testsuite to core
2008-10-29 11:54:19 +00:00
Ben Hale
e2a17f5458
Classpath updates
2008-10-29 11:32:38 +00:00
Arjen Poutsma
2ec60699ee
Downgraded to JSP 2.0.0
2008-10-29 11:12:12 +00:00
Arjen Poutsma
742abde947
added target ignore
2008-10-29 10:25:31 +00:00
Arjen Poutsma
8aed1512fb
Added test module
2008-10-29 01:18:26 +00:00
Arjen Poutsma
2c7d3673a8
Added testsuite, as one project for now. Will move individual tests to respective modules later
2008-10-29 01:17:37 +00:00
Arjen Poutsma
6b62bd0876
Added XSDs and namespace handler files.
2008-10-29 00:44:36 +00:00
Scott Andrews
b0c9435b94
adding eclipse project settings for org.springframework.instrument.classloading
2008-10-28 14:50:18 +00:00
Arjen Poutsma
f39be46cb1
Added IntelliJ project
2008-10-28 14:15:25 +00:00
Arjen Poutsma
6fe74a3e5a
Added IntelliJ project
2008-10-28 14:13:25 +00:00
Arjen Poutsma
bc53873707
Initial import of instrument.classloading module
2008-10-28 14:06:51 +00:00
Scott Andrews
123a40f166
adding eclipse project settings for org.springframework.jms
2008-10-28 14:02:58 +00:00
Arjen Poutsma
e6b7d6222a
Initial import of the JMS module
2008-10-28 13:47:36 +00:00
Arjen Poutsma
dc20a9478f
Upgraded to commons pooling 1.4.0
2008-10-28 13:29:20 +00:00
Scott Andrews
a6984e2cdc
adding eclipse settings for org.springframework.aspects
2008-10-28 13:09:57 +00:00
Arjen Poutsma
268cb4a1df
Added IntelliJ projects
2008-10-28 12:28:35 +00:00
Arjen Poutsma
7d62aab6cc
Initial import of the aspects module
2008-10-28 11:42:01 +00:00
Arjen Poutsma
827916b8e9
Bundlor templates now refer to Spring 3.0
2008-10-28 11:20:47 +00:00
Arjen Poutsma
b0f24da5ca
Added @Override annotations to web-portlet module
2008-10-28 10:55:11 +00:00
Arjen Poutsma
6a2daf7bf5
Added @Override and @Deprecated annotations to web-servlet module
2008-10-28 00:39:17 +00:00
Arjen Poutsma
3a26f0d896
Added @Override and @Deprecated annotations to context-support module
2008-10-28 00:34:38 +00:00
Arjen Poutsma
631e480f7a
Added @Override and @Deprecated annotations to orm module
2008-10-28 00:18:02 +00:00
Arjen Poutsma
2ebff15fa3
Added @Override and @Deprecated annotations to web module
2008-10-28 00:15:39 +00:00
Arjen Poutsma
cdb36efb0d
Added @Override and @Deprecated annotations to jdbc module
2008-10-28 00:01:49 +00:00
Arjen Poutsma
aa60746155
Added @Override annotations to transaction module
2008-10-27 23:52:03 +00:00
Arjen Poutsma
77ad22e338
Added @Override and @Deprecated annotations to context module
2008-10-27 23:45:57 +00:00
Arjen Poutsma
b4b169c937
Removed unused import
2008-10-27 23:43:25 +00:00
Arjen Poutsma
7e39725685
Changed project from agent to instrument
2008-10-27 23:39:42 +00:00
Arjen Poutsma
c0db207948
Added @Override annotations to aop module
2008-10-27 23:31:39 +00:00
Arjen Poutsma
c8e5aa07a5
Added @Override annotations to beans module
2008-10-27 23:30:07 +00:00
Arjen Poutsma
c07477da9c
Added @Override annotations to core module
2008-10-27 23:25:04 +00:00
Arjen Poutsma
34ab7832c8
Reverted to r143, before IntelliJ screwed up the imports...
2008-10-27 23:23:13 +00:00
Scott Andrews
9178e97fb4
synchronized .classpath files with ivy.xml
2008-10-27 23:13:58 +00:00
Arjen Poutsma
ac0c289149
Changed order of modules
2008-10-27 22:29:01 +00:00
Arjen Poutsma
564d4feba4
Added @Override annotations to core module
2008-10-27 22:26:10 +00:00
Arjen Poutsma
d549941f5e
Upgraded to Quartz 1.6.2
2008-10-27 22:07:01 +00:00
Arjen Poutsma
9770262910
Added hibernate.transform version
2008-10-27 21:54:00 +00:00
Arjen Poutsma
79a5eefe04
Added other modules to build
2008-10-27 21:44:09 +00:00
Scott Andrews
87f698cd24
fixing typos
2008-10-27 16:10:52 +00:00
Arjen Poutsma
07a5693b23
Moved portlet files to web package
2008-10-27 15:51:29 +00:00
Scott Andrews
51820d82f9
adding eclipse project settings
2008-10-27 15:48:40 +00:00
Arjen Poutsma
43505a6ce7
Upgraded ivy files to correspond to those in 2.5.5
2008-10-27 13:41:44 +00:00
Arjen Poutsma
577da8f891
Moved agent to instrument
2008-10-27 13:41:19 +00:00
Arjen Poutsma
4ea298a7b0
Initial import of portlet module
2008-10-27 12:01:57 +00:00
Arjen Poutsma
995a323a6f
Initial import of test module
2008-10-27 11:59:27 +00:00
Arjen Poutsma
af47a8b79b
Initial import of web servlet module
2008-10-27 09:13:23 +00:00
Arjen Poutsma
4df7d71c1e
Initial import of context support module
2008-10-26 17:08:38 +00:00
Ben Hale
da208c282a
spring-build updates
2008-10-25 18:30:33 +00:00
Scott Andrews
731c33f640
adding eclipse project meta-data, .classpath file is based on dependencies listed in ivy.xml
2008-10-24 21:05:25 +00:00
Arjen Poutsma
8e85702ff4
Changed module name, using correct bundlor template
2008-10-24 10:35:54 +00:00
Arjen Poutsma
f87fc289fa
Changed use of getRequestParameterMap() to getRequestParameterValuesMap()
2008-10-24 10:34:02 +00:00
Juergen Hoeller
af62da8c45
updated module list
2008-10-24 10:03:04 +00:00
Arjen Poutsma
d2bcdc655d
Removed deprecated classes
2008-10-24 09:44:06 +00:00
Arjen Poutsma
04eaa47ec1
Initial import of web module
2008-10-24 09:42:55 +00:00
Arjen Poutsma
d1061e7e9f
Initial import of ORM
2008-10-24 09:06:30 +00:00
Arjen Poutsma
c236f9fac7
Initial import of JDBC module
2008-10-23 14:23:13 +00:00
Arjen Poutsma
8c87d84728
Removed Commons Attributes support for Transactional
2008-10-23 14:10:34 +00:00
Arjen Poutsma
846b848fd3
Initial import of tx bundle
2008-10-23 14:09:34 +00:00
Arjen Poutsma
3b6f092219
Disabled JRuby for now, needs to be made 1.1 compliant
2008-10-23 13:48:19 +00:00
Arjen Poutsma
1b26e8f9c6
Removed commons atts support for JMX, made ModelMap generic
2008-10-23 10:35:03 +00:00
Arjen Poutsma
edf0d8ebbe
Initial version of context module
2008-10-23 10:19:23 +00:00
Arjen Poutsma
d151c40333
Initial version of context module
2008-10-23 10:17:52 +00:00
Arjen Poutsma
20bc4f0817
Added agent module
2008-10-23 10:17:23 +00:00
Arjen Poutsma
c26b9cbb75
Removed deprecated classes
2008-10-23 09:22:13 +00:00
Arjen Poutsma
c48f8215e6
Moved over initial version of aop bundle
2008-10-23 09:17:09 +00:00
Arjen Poutsma
5cd2b80da7
Fixed manifest templates and pomx
2008-10-23 08:38:18 +00:00
Arjen Poutsma
4973f9387a
Removed deprecated code
2008-10-23 08:36:52 +00:00
Arjen Poutsma
f11d3436ed
Moved over initial version of beans bundle
2008-10-22 16:13:37 +00:00
Arjen Poutsma
684a4f28c2
Added tiger classes of core bundle
2008-10-22 15:48:39 +00:00
Arjen Poutsma
4bc407fef8
- Removed deprecated code
...
- Removed backport-util-concurrent
- Removed commons attributes support
2008-10-22 15:37:12 +00:00
Arjen Poutsma
678e5b7cdf
Moved over initial version of core bundle
2008-10-22 13:55:20 +00:00
Ben Hale
378e3a70fb
Upgraded spring-build
2008-10-22 09:50:29 +00:00
Arjen Poutsma
99a441fe31
Added more modules
2008-10-21 08:04:24 +00:00
Andy Clement
470e086183
map access tests added
2008-09-17 16:20:40 +00:00
Andy Clement
769e706be7
removing: initializers/processors/in operator
2008-09-17 15:23:15 +00:00
Andy Clement
afdf54eff8
renamed operator IS to INSTANCEOF, may yet delete..
2008-09-16 17:20:03 +00:00
Andy Clement
39c966f419
bean references removed, no more @(context:beanname)
2008-09-16 17:13:31 +00:00
Andy Clement
95892dc993
removed lambda functions, local function and local variable references
2008-09-16 17:00:16 +00:00
Andy Clement
efee3b3434
date literal removed
2008-09-16 16:50:00 +00:00
Andy Clement
8740b702f9
Changed so that existing getters/setters are used before direct field access is attempted
2008-09-16 00:00:06 +00:00
Andy Clement
17c88107d3
Removing functionality. Removed expression list support, cannot say (foo();bar()) any more
2008-09-15 21:55:11 +00:00
Andy Clement
4d43768889
Removing functionality. Removed soundslike/distanceto/like operators
2008-09-15 21:43:38 +00:00
Andy Clement
59a4427525
Final commit before the great 'stripdown'. Used clover to determine coverage and added tests as necessary.
2008-09-15 20:14:36 +00:00
Andy Clement
23db8b58da
added test and behaviour for calling a java method with incorrect number of arguments
2008-08-18 22:43:17 +00:00
Andy Clement
f79e2643a3
fixed up FunctionReference a bit - so it can call varargs methods
2008-08-18 22:36:25 +00:00
Andy Clement
2f05d70067
new function invocation tests for normal and error behaviour
2008-08-18 22:36:00 +00:00
Andy Clement
2fbb7ad327
changed vis of arg conversion code so function calls can use it
2008-08-18 22:35:21 +00:00
Andy Clement
ec9cb8565b
fixed damage caused by code formatter
2008-08-18 22:34:33 +00:00
Andy Clement
48055c6e20
added support for Integer > Float conversion.
...
Moved some tests from EvaluationTests into OperatorTests.
Fleshed out OperatorTests to verify type promotions for mixed type operands.
2008-08-18 17:54:01 +00:00
Andy Clement
776553cfbb
more tests relating to reals
2008-08-18 17:06:24 +00:00
Andy Clement
daf922456e
more discussion points
2008-08-18 00:23:52 +00:00
Andy Clement
6e2682c78e
code formatter chewed on it
2008-08-18 00:23:39 +00:00
Andy Clement
844b5236de
corrected TODO
2008-08-18 00:23:13 +00:00
Andy Clement
e443c836fe
corrected use of AccessException (no longer used in ReflectionUtils)
2008-08-18 00:22:36 +00:00
Andy Clement
7fa4d9e928
moved TODOs to readme
2008-08-18 00:22:09 +00:00
Andy Clement
7d677b23d3
moved test into ParserErrorMessageTests
2008-08-18 00:21:45 +00:00
Andy Clement
bea94c2371
modified Date tests
2008-08-18 00:21:21 +00:00
Andy Clement
90309a57d9
Made GMT the default Locale...
2008-08-18 00:21:00 +00:00
Andy Clement
b9aa8552e0
added new TODO that the impl isn't as complete as it could be
2008-08-18 00:20:38 +00:00
Andy Clement
bb2ef1fefa
started fixing the formatting
2008-08-18 00:20:16 +00:00
Andy Clement
077fc1613d
starting to sort out like/matches. Matches is the java regex related one. Like is the SQL related one. But the spring .net 'like' doesn't seem to be the same as the SQL doc I found for like...
2008-08-17 01:42:06 +00:00
Andy Clement
c24df36689
moved some TODOs into readme
2008-08-17 01:28:37 +00:00
Andy Clement
c6db7c41a4
improved javadoc, error handling and testing of matches
2008-08-17 01:28:26 +00:00
Andy Clement
bb2ade5fdd
javadoc
2008-08-17 01:27:59 +00:00
Andy Clement
29fe8da1ad
fixing error handling in 'is' operator
2008-08-17 01:27:45 +00:00
Andy Clement
5c0d80ece7
fixing TODOs
2008-08-17 01:27:18 +00:00
Andy Clement
5d3e568326
fixing TODOs
2008-08-17 01:26:59 +00:00
Andy Clement
88c370ad5d
fixing TODOs
2008-08-17 01:26:45 +00:00
Andy Clement
80075f18ce
fixing TODOs
2008-08-17 01:26:11 +00:00
Andy Clement
9e7cb0e1cf
fixing TODOs
2008-08-17 01:25:57 +00:00
Andy Clement
5a68d0ee4e
fixing TODOs
2008-08-17 01:25:43 +00:00
Andy Clement
a23311c4ba
fixing TODOs
2008-08-17 01:25:19 +00:00
Andy Clement
f82561ba53
javadoc for StandardTypeLocator and moved some TODOs to the readme
2008-08-16 18:31:31 +00:00
Andy Clement
1917a50f6f
remove java.awt as a default import in the StandardTypeLocator
2008-08-16 18:21:03 +00:00
Andy Clement
a54e442657
fixing TODOs
2008-08-16 01:57:46 +00:00
Andy Clement
d69e9ef038
moved some TODOs out into here
2008-08-16 01:57:31 +00:00
Andy Clement
b26c6df1a1
fixing TODOs
2008-08-16 01:57:13 +00:00
Andy Clement
2e7b0e3767
fixing TODOs
2008-08-16 01:56:58 +00:00
Andy Clement
3d54bd5aa3
fixing TODOs
2008-08-16 01:56:43 +00:00
Andy Clement
3ebf290534
fixing TODOs
2008-08-16 01:56:29 +00:00
Andy Clement
e9ddd7151e
added support for long[] in stringValueOf() - plus an error reported if the type passed in is not supported
2008-08-16 01:56:16 +00:00
Andy Clement
e2ffac9a7c
fixed to not throw classcastexception if condition doesnt evaluate to boolean
2008-08-16 01:45:18 +00:00
Andy Clement
144325eb06
removed some unused code, improved doc
2008-08-16 01:44:42 +00:00
Andy Clement
5bb6f9c75d
correcting TODO
2008-08-16 01:44:12 +00:00
Andy Clement
d2ab889b00
fixed some tests that will now break because int/long can be treated as boolean. May need to change again if real numbers get the same treatment.
2008-08-16 01:43:51 +00:00
Andy Clement
8d8a82b278
new tests for ternary - checking conversion of numbers to boolean and correct error when condition result not convertable to boolean
2008-08-16 01:43:15 +00:00
Andy Clement
8730cde270
removed redundant test - there is no non-optimal reflection accessor to test now
2008-08-16 01:42:39 +00:00
Andy Clement
3987316e4c
Added SuppressWarning to hide all the warnings from the poor Antlr generated code. Code formatter also chewed on the file when saved.
2008-08-16 01:41:51 +00:00
Andy Clement
2d732ba398
javadoc
2008-08-16 01:41:13 +00:00
Andy Clement
3d4158ea51
implements new interface methods. sorting out javadoc
2008-08-16 01:40:53 +00:00
Andy Clement
98c82fe995
implement new Expression methods
2008-08-16 01:40:30 +00:00
Andy Clement
ef8f882036
sorting out javadoc, promoted isWritable() to this interface (for now)
2008-08-16 01:40:11 +00:00
Andy Clement
1d2e89d79c
added reset() method
2008-08-16 01:39:35 +00:00
Andy Clement
9750dfc3c4
hard coded support for boxing conversions. Added support for numbers (int/long) to boolean
2008-08-16 01:39:10 +00:00
Andy Clement
ef16bff7ef
TODO moved out to readme.txt which contains latest interesting issues - they should become JIRAs when the dust has settled
2008-08-16 00:13:38 +00:00
Andy Clement
ead98462da
added support for getValue(state,desiredType) so other nodes can ask for a transform to be done on the result if necessary, rather than duplicating conversion logic all over
2008-08-16 00:12:36 +00:00
Andy Clement
a5a2331d41
corrected TODO task
2008-08-16 00:11:33 +00:00
Andy Clement
0adda58016
removed fixed TODO task
2008-08-16 00:10:59 +00:00
Andy Clement
36334ec21f
allow for undefined target type
2008-08-16 00:10:27 +00:00
Andy Clement
1a31d25973
Parser error message improvements: enhanced harness and used it in new parser error message tests
2008-08-15 00:26:38 +00:00
Andy Clement
cf35116af7
Parser error message improvements: better explanations and removed unused code
2008-08-15 00:26:11 +00:00
Andy Clement
e78b9273f8
Code formatter has chewed on it a bit
2008-08-15 00:25:46 +00:00
Andy Clement
84990ad608
Parser error message improvements: grammar tweak to disallow 0xF00G (was treated as number then property reference - even without a dot)
2008-08-15 00:25:23 +00:00
Andy Clement
7d114a1a5e
Parser error message improvements: new messages
2008-08-15 00:24:22 +00:00
Andy Clement
8c85e4a9a2
will now throw exception if trying to cram a long into an int that will not fit
2008-08-14 20:28:01 +00:00
Andy Clement
d83205227e
tweaked grammar to handle 0X as a hex prefix and removed 'u'/'U' from int suffixes for now
2008-08-14 20:27:35 +00:00
Andy Clement
4e33a2d6e4
tweaked grammar to handle 0X as a hex prefix and removed 'u'/'U' from int suffixes for now
2008-08-14 20:26:33 +00:00
Andy Clement
2173a49855
reworked int/hex/long handling - more consistent and reliable now
2008-08-14 20:25:20 +00:00
Andy Clement
a06b5aaa8d
reorganizing tests - extracting EvaluationTests out into other test classes. Started work on parser error message tests.
2008-08-14 20:24:31 +00:00
Andy Clement
73d6d0095f
removed unused code
2008-08-12 22:19:46 +00:00
Andy Clement
e20cbef134
Avoid calling deprecated Date ctor
2008-08-12 22:18:05 +00:00
Andy Clement
dfc6928957
Suppress unchecked warning in generated code
2008-08-12 22:15:01 +00:00
Andy Clement
1707667489
changed to not use deprecated toURL()
2008-08-12 22:14:10 +00:00
Andy Clement
f9285d54ab
temporarily commnted out code (to remove the warnings) - this code may get used for error recovery
2008-08-12 22:13:50 +00:00
Andy Clement
a9f2c90f10
remove currently unnecessary dependencies
2008-08-12 22:05:06 +00:00
Andy Clement
246cfa7945
Changed project name from spring-binding to org.springframework.expression
2008-08-12 21:50:59 +00:00
Andy Clement
fe11c664d2
Changed test so expected results match actual on both windows and Mac
2008-08-12 21:21:35 +00:00
Andy Clement
ef59904f00
Fixed generics warnings
2008-08-12 18:31:51 +00:00
Andy Clement
40eb38917e
Fixed generics warning
2008-08-12 18:31:41 +00:00
Andy Clement
c15760bcd1
Fixed generics warnings
2008-08-12 18:31:31 +00:00
Andy Clement
106131ab8f
Marked unused values appropriately
2008-08-12 18:28:18 +00:00
Andy Clement
b12dc5ba42
Removed unused code
2008-08-12 18:27:40 +00:00
Andy Clement
c09d3971a1
Corrected javadoc
2008-08-12 18:26:54 +00:00
Andy Clement
9ad3863886
Commented out currently unused code
2008-08-12 18:25:19 +00:00
Andy Clement
cfdb8e01eb
Fixed unnecessary casts
2008-08-12 18:23:39 +00:00
Andy Clement
49bef5a39f
Fixed unnecessary casts
2008-08-12 18:23:29 +00:00
Andy Clement
2e0006f8ac
Added suppression for warnings since these types are generated
2008-08-12 18:20:45 +00:00
Andy Clement
1636f3cd32
Fixed rogue import
2008-08-12 18:17:25 +00:00
Andy Clement
c2f7b65751
First drop of SPEL
2008-08-12 16:36:40 +00:00
Andy Clement
6a52183414
First drop of SPEL
2008-08-12 16:27:53 +00:00
Andy Clement
65049ac8b4
First drop of SPEL
2008-08-12 16:27:20 +00:00
Andy Clement
a2401ea10f
First drop of SPEL
2008-08-12 16:25:32 +00:00
Andy Clement
d8743000a0
First drop of SPEL
2008-08-12 16:23:50 +00:00
Andy Clement
c2624ea05e
First drop of SPEL
2008-08-12 16:14:43 +00:00
Andy Clement
ca93824d2b
Modified public interface to expression parsing
2008-08-11 18:37:11 +00:00
Ben Hale
ca010140fb
Initial code checkin
2008-07-11 06:34:50 +00:00
Ben Hale
549e526ab0
Added spring-build
2008-07-10 22:01:27 +00:00
Ben Hale
8119659fb1
Initial structure
2008-07-10 22:00:24 +00:00