Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes https://jira.springsource.org/browse/SPR-7721 #3

Closed
wants to merge 4,788 commits into from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Aug 24, 2011

  1. Configuration menu
    Copy the full SHA
    a3f5f6d View commit details
    Browse the repository at this point in the history
  2. Update Servlet 3.0 dependency in webmvc pom

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4920 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Aug 24, 2011
    Configuration menu
    Copy the full SHA
    fdc007b View commit details
    Browse the repository at this point in the history
  3. Fix cache ref doc typo: Eh{c=>C}acheCacheManager

    Issue: SPR-8632, SPR-8635
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4921 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Aug 24, 2011
    Configuration menu
    Copy the full SHA
    1095a7b View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2011

  1. Configuration menu
    Copy the full SHA
    45565da View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7950adc View commit details
    Browse the repository at this point in the history
  3. 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)
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4924 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Aug 25, 2011
    Configuration menu
    Copy the full SHA
    8eeeec5 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2011

  1. [SPR-8627] Deprecated @ExpectedException.

    [SPR-8240] cleaned up and formatted the testing chapter.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4925 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Aug 26, 2011
    Configuration menu
    Copy the full SHA
    933d40c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0acb474 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2011

  1. Fix ExtendedBeanInfo indexed write method edge case

    See comments at ExtendedBeanInfo#reproSpr8522
    
    Issue: SPR-8522
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4927 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Aug 29, 2011
    Configuration menu
    Copy the full SHA
    0f10dd1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2403e73 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2011

  1. [SPR-8222] Upgraded to JUnit 4.9.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4929 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Aug 30, 2011
    Configuration menu
    Copy the full SHA
    946c235 View commit details
    Browse the repository at this point in the history
  2. [SPR-8644] Introduced a failing (ignored) test that demonstrates that…

    … findMethod() does not currently support var-args.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4930 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Aug 30, 2011
    Configuration menu
    Copy the full SHA
    7ee94dd View commit details
    Browse the repository at this point in the history
  3. [SPR-8644][SPR-8633] introduced failing (ignored) test regarding supp…

    …ort for invoking methods that accept var-args.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4931 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Aug 30, 2011
    Configuration menu
    Copy the full SHA
    e52f0f3 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2011

  1. Configuration menu
    Copy the full SHA
    893d02e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5edfa4f View commit details
    Browse the repository at this point in the history
  3. + add documentation on declarative XML

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4934 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Aug 31, 2011
    Configuration menu
    Copy the full SHA
    dc4e356 View commit details
    Browse the repository at this point in the history
  4. SPR-8596 Detect case in UriPathHelper where originating request query…

    … (before forwarding) is null.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4935 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Aug 31, 2011
    Configuration menu
    Copy the full SHA
    a9ed62d View commit details
    Browse the repository at this point in the history
  5. SPR-8611 Add detection of RedirectView when selecting the best view i…

    …n ContentNegotiatingViewResolver.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4936 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Aug 31, 2011
    Configuration menu
    Copy the full SHA
    8b2e0ce View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2011

  1. + remove unneeded catch for exceptions inside AbstractCacheAspect.aj

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4937 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Sep 1, 2011
    Configuration menu
    Copy the full SHA
    54ead69 View commit details
    Browse the repository at this point in the history
  2. SPR-7812 Provide separate methods for type and method-level custom re…

    …quest conditions. Polish javadoc in RequestMappingInfo and related HandlerMapping classes
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4938 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 1, 2011
    Configuration menu
    Copy the full SHA
    996e243 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2011

  1. + temporarily revert change

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4939 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Sep 2, 2011
    Configuration menu
    Copy the full SHA
    718a181 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    287abc2 View commit details
    Browse the repository at this point in the history
  3. SPR-8653

    + refactor a bit the internals of CacheAspect to allow invocations that do not throw any exceptions (AspectJ)
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4941 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Sep 2, 2011
    Configuration menu
    Copy the full SHA
    588ec9f View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2011

  1. Fix Javadoc error in JdbcOperations

    Issue: SPR-8664
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4942 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Sep 3, 2011
    Configuration menu
    Copy the full SHA
    32e9cfb View commit details
    Browse the repository at this point in the history
  2. Fix handling of @EnableLoadTimeWeaving AUTODETECT

    Issue: SPR-8643
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4943 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Sep 3, 2011
    Configuration menu
    Copy the full SHA
    97f5a7d View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2011

  1. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4944 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Sep 4, 2011
    Configuration menu
    Copy the full SHA
    3f9f5ea View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2011

  1. Configuration menu
    Copy the full SHA
    7d01992 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2011

  1. SPR-5973: UriBuilder

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4946 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 6, 2011
    Configuration menu
    Copy the full SHA
    bfd2bbf View commit details
    Browse the repository at this point in the history
  2. Fix typo in cache abstraction reference doc

    Issue: SPR-8670
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4947 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Sep 6, 2011
    Configuration menu
    Copy the full SHA
    6b6377d View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2011

  1. Configuration menu
    Copy the full SHA
    66ec030 View commit details
    Browse the repository at this point in the history
  2. SPR-5973: UriBuilder

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4949 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 7, 2011
    Configuration menu
    Copy the full SHA
    97c0b70 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2c77b30 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92ded43 View commit details
    Browse the repository at this point in the history
  5. SPR-5973: javadoc

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4952 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 7, 2011
    Configuration menu
    Copy the full SHA
    b161b5b View commit details
    Browse the repository at this point in the history
  6. Added parse methods

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4953 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 7, 2011
    Configuration menu
    Copy the full SHA
    d9cbe4e View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2011

  1. SPR-5973: Cleaning it up

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4954 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 8, 2011
    Configuration menu
    Copy the full SHA
    ae3bc79 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2011

  1. SPR-8642 IMPROVE ERROR REPORTING WHEN RESOLVING MULTIPART REQUEST MET…

    …HOD 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.
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4955 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 9, 2011
    Configuration menu
    Copy the full SHA
    0b0c761 View commit details
    Browse the repository at this point in the history
  2. SPR-5973: Added UriComponents type

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4956 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 9, 2011
    Configuration menu
    Copy the full SHA
    a6894d2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b3dd459 View commit details
    Browse the repository at this point in the history
  4. SPR-5973: UriUtils.parse returns UriComponents

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4958 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 9, 2011
    Configuration menu
    Copy the full SHA
    d558932 View commit details
    Browse the repository at this point in the history
  5. SPR-6464 Polish FlashMap changes.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4959 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 9, 2011
    Configuration menu
    Copy the full SHA
    789afa6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c480148 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2011

  1. SPR-5973: Using UriComponents in more places, replaced UriBuilder by …

    …UriComponentsBuilder, UriComponents is now immutable.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4961 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 12, 2011
    Configuration menu
    Copy the full SHA
    a399597 View commit details
    Browse the repository at this point in the history
  2. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4962 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Sep 12, 2011
    Configuration menu
    Copy the full SHA
    4ade612 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2011

  1. 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. 
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4963 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 13, 2011
    Configuration menu
    Copy the full SHA
    44f1125 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89aae6c View commit details
    Browse the repository at this point in the history
  3. SPR-8676 Fix minor issue in how ServletServletHttpRequest detects for…

    …m content-type requests
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4965 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 13, 2011
    Configuration menu
    Copy the full SHA
    42a33c6 View commit details
    Browse the repository at this point in the history
  4. Added MultiValueMap utility methods

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4966 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 13, 2011
    Configuration menu
    Copy the full SHA
    73aec37 View commit details
    Browse the repository at this point in the history
  5. SPR-5973: UriComponents no longer a Map, moved all static methods fro…

    …m UriComponents to builder, added expand method to UriComponents
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4967 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 13, 2011
    Configuration menu
    Copy the full SHA
    baf515d View commit details
    Browse the repository at this point in the history
  6. clarified repository definition from DDD and removed comparison with …

    …DAO to reduce confusion
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4968 50f2f4bb-b051-0410-bef5-90022cba6387
    Keith Donald committed Sep 13, 2011
    Configuration menu
    Copy the full SHA
    017d2bf View commit details
    Browse the repository at this point in the history
  7. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4969 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Sep 13, 2011
    Configuration menu
    Copy the full SHA
    53013ec View commit details
    Browse the repository at this point in the history
  8. Temporarily @ignore failure in RequestContextTests

    Issue: SPR-5973
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4970 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Sep 13, 2011
    Configuration menu
    Copy the full SHA
    eb6fb9e View commit details
    Browse the repository at this point in the history
  9. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4971 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Sep 13, 2011
    Configuration menu
    Copy the full SHA
    f1dd0ec View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2011

  1. polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4972 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 14, 2011
    Configuration menu
    Copy the full SHA
    349a341 View commit details
    Browse the repository at this point in the history
  2. Removed ServletUriComponentsBuilder for now.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4973 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 14, 2011
    Configuration menu
    Copy the full SHA
    592cbd0 View commit details
    Browse the repository at this point in the history
  3. SPR-5973: UriComponents now encapsulates a PathCompont, switching bet…

    …ween string paths and path segment lists automatically.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4974 50f2f4bb-b051-0410-bef5-90022cba6387
    poutsma committed Sep 14, 2011
    Configuration menu
    Copy the full SHA
    3e230a8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    600d929 View commit details
    Browse the repository at this point in the history
  5. SPR-8593 Fix issue in ModelAndViewMethodReturnValueHandler with Model…

    …AndView containing a View
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4976 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 14, 2011
    Configuration menu
    Copy the full SHA
    9203e5f View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2011

  1. Configuration menu
    Copy the full SHA
    83815a7 View commit details
    Browse the repository at this point in the history
  2. SPR-6464 Polish following code review.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4978 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 15, 2011
    Configuration menu
    Copy the full SHA
    1040aba View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2011

  1. Configuration menu
    Copy the full SHA
    d05e874 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2011

  1. polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4980 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 17, 2011
    Configuration menu
    Copy the full SHA
    d92c1f0 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2011

  1. Configuration menu
    Copy the full SHA
    d535037 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2011

  1. SPR-8688 Don't use Servlet request params for form 'PUT' in ServletSe…

    …rverHttpRequest.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4982 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 20, 2011
    Configuration menu
    Copy the full SHA
    7688648 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3accf9e View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2011

  1. 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.
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4984 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 22, 2011
    Configuration menu
    Copy the full SHA
    f949e0b View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2011

  1. 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. 
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4985 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 23, 2011
    Configuration menu
    Copy the full SHA
    9d20e71 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2011

  1. Configuration menu
    Copy the full SHA
    499b921 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2011

  1. 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.
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4987 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 26, 2011
    Configuration menu
    Copy the full SHA
    e81fb97 View commit details
    Browse the repository at this point in the history
  2. [SPR-8222] Suppressing deprecation warnings for org.junit.internal.ru…

    …nners.model.MultipleFailureException, which has been deprecated in JUnit 4.9.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4988 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 26, 2011
    Configuration menu
    Copy the full SHA
    ba54798 View commit details
    Browse the repository at this point in the history
  3. SPR-8718 Prevent ClassCastException when the target of Converter<?,?>…

    … is a super-class of the actual target.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4989 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 26, 2011
    Configuration menu
    Copy the full SHA
    40eca91 View commit details
    Browse the repository at this point in the history
  4. [SPR-8178] @Ignore-ing testDefaultNumberFormatting() until it is dete…

    …rmined why changes to GenericConversionService broke this test.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4990 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 26, 2011
    Configuration menu
    Copy the full SHA
    aeb712d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8bcb959 View commit details
    Browse the repository at this point in the history
  6. [SPR-8178] @Ignore-ing testPrintNull() until it is determined why cha…

    …nges to GenericConversionService broke this test.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4992 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 26, 2011
    Configuration menu
    Copy the full SHA
    c18351d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1a4a1e6 View commit details
    Browse the repository at this point in the history
  8. [SPR-8178] re-enabled testPrintNull().

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4994 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 26, 2011
    Configuration menu
    Copy the full SHA
    d94e887 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2011

  1. Configuration menu
    Copy the full SHA
    4db849b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f8034e0 View commit details
    Browse the repository at this point in the history
  3. 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.
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4997 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 27, 2011
    Configuration menu
    Copy the full SHA
    ffff38d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc2808d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    296a47e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8abcb57 View commit details
    Browse the repository at this point in the history
  7. 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, ?>.
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5001 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Sep 27, 2011
    Configuration menu
    Copy the full SHA
    3e7a926 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2011

  1. [SPR-8240] Documenting TestContext support for @configuration classes…

    … in the reference manual.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5002 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 28, 2011
    Configuration menu
    Copy the full SHA
    67109f8 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2011

  1. [SPR-8240] Documenting TestContext support for @configuration classes…

    … in the reference manual; and polishing the testing content in general.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5003 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 29, 2011
    Configuration menu
    Copy the full SHA
    3b482b2 View commit details
    Browse the repository at this point in the history
  2. [SPR-8240] Restructuring annotation content.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5004 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 29, 2011
    Configuration menu
    Copy the full SHA
    9c81a40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3ef9bdc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5a6a76b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    db4e76f View commit details
    Browse the repository at this point in the history
  6. fixed numerous typos and formatting

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5008 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 29, 2011
    Configuration menu
    Copy the full SHA
    9eac07b View commit details
    Browse the repository at this point in the history
  7. polishing and formatting

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5009 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 29, 2011
    Configuration menu
    Copy the full SHA
    6dcdae3 View commit details
    Browse the repository at this point in the history
  8. [SPR-8240] Introduced new "Context management with @configuration cla…

    …sses" section; fleshing out sections on context configuration inheritance and context caching.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5010 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 29, 2011
    Configuration menu
    Copy the full SHA
    84d3281 View commit details
    Browse the repository at this point in the history
  9. [SPR-8240] polishing the "Context management and caching" section of …

    …the reference manual and related Javadoc.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5011 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 29, 2011
    Configuration menu
    Copy the full SHA
    3667b7a View commit details
    Browse the repository at this point in the history
  10. [SPR-8240] polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5012 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 29, 2011
    Configuration menu
    Copy the full SHA
    7f5bfe7 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2434829 View commit details
    Browse the repository at this point in the history
  12. [SPR-8240] polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5014 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 29, 2011
    Configuration menu
    Copy the full SHA
    423a676 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2011

  1. [SPR-8240] polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5015 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Sep 30, 2011
    Configuration menu
    Copy the full SHA
    f234ec5 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2011

  1. Fix error in AbstractResource#contentLength Javadoc

    Issue: SPR-8734
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5016 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 2, 2011
    Configuration menu
    Copy the full SHA
    7c9bd2e View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2011

  1. Configuration menu
    Copy the full SHA
    ed1cde9 View commit details
    Browse the repository at this point in the history
  2. SPR-8714 Do not create copy in map-to-map and collection-to-collectio…

    …n conversion if not necessary
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5018 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Oct 6, 2011
    Configuration menu
    Copy the full SHA
    2ed7708 View commit details
    Browse the repository at this point in the history
  3. SPR-7943 Minor fix

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5019 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Oct 6, 2011
    Configuration menu
    Copy the full SHA
    2b6d2a8 View commit details
    Browse the repository at this point in the history
  4. SPR-8718 Minor polish

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5020 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Oct 6, 2011
    Configuration menu
    Copy the full SHA
    0b70b07 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a392967 View commit details
    Browse the repository at this point in the history
  6. SPR-8235 SPR-7480 Updating H2 error codes

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5022 50f2f4bb-b051-0410-bef5-90022cba6387
    Thomas Risberg committed Oct 6, 2011
    Configuration menu
    Copy the full SHA
    99076ec View commit details
    Browse the repository at this point in the history
  7. SPR-8652 Fixing queryForLong and queryForInt implementation to use co…

    …rrect expected type
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5023 50f2f4bb-b051-0410-bef5-90022cba6387
    Thomas Risberg committed Oct 6, 2011
    Configuration menu
    Copy the full SHA
    4055e9a View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2011

  1. [SPR-7724] Example email addresses in the reference manual now use ex…

    …ample.org as the domain name.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5024 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Oct 7, 2011
    Configuration menu
    Copy the full SHA
    d45302a View commit details
    Browse the repository at this point in the history
  2. SPR-8270 Adding improved support for detecting current schema name fo…

    …r Oracle
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5025 50f2f4bb-b051-0410-bef5-90022cba6387
    Thomas Risberg committed Oct 7, 2011
    Configuration menu
    Copy the full SHA
    f965ef7 View commit details
    Browse the repository at this point in the history
  3. SPR-7476 Improving named parameter parsing skipping escaped colons li…

    …ke '\:' and allowing for delimiting parameter names with curly brackets like :{p1}
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5026 50f2f4bb-b051-0410-bef5-90022cba6387
    Thomas Risberg committed Oct 7, 2011
    Configuration menu
    Copy the full SHA
    68152bc View commit details
    Browse the repository at this point in the history
  4. some cache doc updates

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5027 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Oct 7, 2011
    Configuration menu
    Copy the full SHA
    4d9c110 View commit details
    Browse the repository at this point in the history
  5. SPR-8730

    + expose key-generator in the XML namespace
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5028 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Oct 7, 2011
    Configuration menu
    Copy the full SHA
    2de8463 View commit details
    Browse the repository at this point in the history
  6. SPR-8730

    + more tests
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5029 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Oct 7, 2011
    Configuration menu
    Copy the full SHA
    1e0c4ce View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2011

  1. SPR-7476 Improving named parameter parsing skipping escaped colons li…

    …ke '\:' and allowing for delimiting parameter names with curly brackets like :{p1}
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5030 50f2f4bb-b051-0410-bef5-90022cba6387
    Thomas Risberg committed Oct 8, 2011
    Configuration menu
    Copy the full SHA
    a4080cb View commit details
    Browse the repository at this point in the history
  2. SPR-7476 Improving named parameter parsing skipping escaped colons li…

    …ke '\:' and allowing for delimiting parameter names with curly brackets like :{p1}
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5031 50f2f4bb-b051-0410-bef5-90022cba6387
    Thomas Risberg committed Oct 8, 2011
    Configuration menu
    Copy the full SHA
    0377d5e View commit details
    Browse the repository at this point in the history
  3. + update cache docs whitespace for better rendering

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5032 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Oct 8, 2011
    Configuration menu
    Copy the full SHA
    917d646 View commit details
    Browse the repository at this point in the history
  4. SPR-7476 Improving named parameter parsing skipping escaped colons li…

    …ke '\:' and allowing for delimiting parameter names with curly brackets like :{p1}
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5033 50f2f4bb-b051-0410-bef5-90022cba6387
    Thomas Risberg committed Oct 8, 2011
    Configuration menu
    Copy the full SHA
    ba8181d View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2011

  1. Add code examples to and polish @bean Javadoc

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5034 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    5eb56fe View commit details
    Browse the repository at this point in the history
  2. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5035 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    980e670 View commit details
    Browse the repository at this point in the history
  3. Give ExtendedBeanInfo package-private visibility

    Issue: SPR-8079
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5036 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    fc6adc2 View commit details
    Browse the repository at this point in the history
  4. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5037 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    614b76f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ee99e7 View commit details
    Browse the repository at this point in the history
  6. Revert "Auto-unwrap SessionFactoryBuilder-created proxies"

    This reverts commit 7903d64.
    
    Issue: SPR-8492
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5039 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    11f48dd View commit details
    Browse the repository at this point in the history
  7. Revert "Implement SessionFactoryImplementor in SF proxies"

    This reverts commit 08ccd19.
    
    Issue: SPR-8469
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5040 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    a4a255a View commit details
    Browse the repository at this point in the history
  8. Revert "Automatically close SessionFactory objects"

    This reverts commit bb4f48d.
    
    Issue: SPR-8114
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5041 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    cbeace5 View commit details
    Browse the repository at this point in the history
  9. Revert "All SFBuilder setters return 'this' & use varargs"

    This reverts commit 0e2ce56.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5042 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    7a5e545 View commit details
    Browse the repository at this point in the history
  10. Revert "removed double javadoc"

    This reverts commit 2d26c49.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5043 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    cec2c4c View commit details
    Browse the repository at this point in the history
  11. 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 9e82591.
    
    Issue: SPR-8066, SPR-7936, SPR-8076, SPR-8098, SPR-8096, SPR-7387
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5044 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    011e123 View commit details
    Browse the repository at this point in the history
  12. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5045 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    1bbc643 View commit details
    Browse the repository at this point in the history
  13. Polishing JavaDoc

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5046 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    a4588a3 View commit details
    Browse the repository at this point in the history
  14. [SPR-8240] Updating the "new in 3.1" chapter regarding new testing su…

    …pport; polishing the TestContext Framework section of the reference manual.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5047 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Oct 9, 2011
    Configuration menu
    Copy the full SHA
    c644524 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2011

  1. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5048 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 10, 2011
    Configuration menu
    Copy the full SHA
    6579b10 View commit details
    Browse the repository at this point in the history
  2. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5049 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 10, 2011
    Configuration menu
    Copy the full SHA
    8a7d7b9 View commit details
    Browse the repository at this point in the history
  3. introduced extended WritableResource interface

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5050 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 10, 2011
    Configuration menu
    Copy the full SHA
    fee0b48 View commit details
    Browse the repository at this point in the history
  4. Corrected Javadoc: handleListenerException() and invokeErrorHandler()…

    … log at WARN level, not at ERROR level.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5051 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Oct 10, 2011
    Configuration menu
    Copy the full SHA
    d8fa62b View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2011

  1. committed initial Hibernate 4.0 support

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5052 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    640d309 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9413114 View commit details
    Browse the repository at this point in the history
  3. polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5054 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    179340b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    229b558 View commit details
    Browse the repository at this point in the history
  5. committed initial Hibernate 4.0 support

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5056 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    5060284 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d572e8a View commit details
    Browse the repository at this point in the history
  7. use internal Set for TransactionSynchronization objects in order to a…

    …llow for equals/hashCode based replacement
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5058 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    dd4237c View commit details
    Browse the repository at this point in the history
  8. polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5059 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    f631d0f View commit details
    Browse the repository at this point in the history
  9. consistently use Unix line separator

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5060 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    9cb9c99 View commit details
    Browse the repository at this point in the history
  10. removed Hibernate EntityManager 4.0 dependency since it is not needed…

    … for compilation and not for standard runs of the test suite either
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5061 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    77a837b View commit details
    Browse the repository at this point in the history
  11. avoid hard JPA 2.0 dependency

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5062 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    43ab45f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    c87b3ed View commit details
    Browse the repository at this point in the history
  13. fixed unbind failure through appropriate guard

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5064 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    16b01ba View commit details
    Browse the repository at this point in the history
  14. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5065 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    0e1facf View commit details
    Browse the repository at this point in the history
  15. Include Hibernate 4.x in Eclipse classpath

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5066 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    eceda20 View commit details
    Browse the repository at this point in the history
  16. SPR-8725 Change modifier in WebMvcConfigurationSupport methods from p…

    …ackage 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.
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5067 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    00c4cb9 View commit details
    Browse the repository at this point in the history
  17. [SPR-8240] Added new "Mixing XML resources and @configuration classes…

    …" section to the testing chapter.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5068 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    3e687d0 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    9ce8163 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f28d4b9 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    62ad933 View commit details
    Browse the repository at this point in the history
  21. renamed mapKey/ValueTypeDescriptor methods back to getMapKey/ValueTyp…

    …eDescriptor (for Spring 3.0.x compatibility)
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5072 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    44eb5a6 View commit details
    Browse the repository at this point in the history
  22. Polish @ComponentScan/@Configuration/@lazy Javadoc

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5073 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    ea079fc View commit details
    Browse the repository at this point in the history
  23. Polish Environment subsystem Javadoc

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5074 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    dd5dfb7 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    1402b30 View commit details
    Browse the repository at this point in the history
  25. Polish "What's new in Spring 3.1" re @enable*

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5076 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    ea2abd9 View commit details
    Browse the repository at this point in the history
  26. Introduce @EnableAspectJAutoProxy

    Issue: SPR-8138
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5077 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    674f0e1 View commit details
    Browse the repository at this point in the history
  27. Update changelog re @EnableAspectJAutoProxy

    Issue: SPR-8138
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5078 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    d21400d View commit details
    Browse the repository at this point in the history
  28. extended LocalSessionFactoryBean options for Hibernate 4; factored ou…

    …t LocalSessionFactoryBuilder
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5079 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    8b64988 View commit details
    Browse the repository at this point in the history
  29. final preparations for 3.1 RC1 release

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5080 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    a2d945c View commit details
    Browse the repository at this point in the history
  30. [SPR-8401] Documented TestContext support for @activeprofiles in the …

    …reference manual.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5081 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    f16bfb0 View commit details
    Browse the repository at this point in the history
  31. [SPR-8240][SPR-8401] formatting and polishing.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5082 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Oct 11, 2011
    Configuration menu
    Copy the full SHA
    22e453e View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    393bdf4 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2011

  1. Fix warnings in DisposableBeanAdapter

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5084 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 12, 2011
    Configuration menu
    Copy the full SHA
    900c72a View commit details
    Browse the repository at this point in the history
  2. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5085 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 12, 2011
    Configuration menu
    Copy the full SHA
    2880d17 View commit details
    Browse the repository at this point in the history
  3. Update changelog re destroy method inference

    Issue: SPR-8751
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5086 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 12, 2011
    Configuration menu
    Copy the full SHA
    c15dbf5 View commit details
    Browse the repository at this point in the history
  4. Remove stale duplicate copy of spring-cache XSD

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5088 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 12, 2011
    Configuration menu
    Copy the full SHA
    b0c8e0a View commit details
    Browse the repository at this point in the history
  5. Update doc publication urls to static.s2.org

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5089 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 12, 2011
    Configuration menu
    Copy the full SHA
    fdf6b00 View commit details
    Browse the repository at this point in the history
  6. [SPR-8401] Added documentation for @activeprofiles in the "Annotation…

    …s" section.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5090 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Oct 12, 2011
    Configuration menu
    Copy the full SHA
    4bbfbf5 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2011

  1. Configuration menu
    Copy the full SHA
    5ce678a View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2011

  1. Fix assignment error in AbstractAsyncExecutionAspect

    Issue: SPR-8772
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5092 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Oct 17, 2011
    Configuration menu
    Copy the full SHA
    ff8cf44 View commit details
    Browse the repository at this point in the history
  2. SPR-8759 Provide methods to add or get status codes in SimpleMappingE…

    …xceptionResolver as Map<String, Integer>.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5093 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Oct 17, 2011
    Configuration menu
    Copy the full SHA
    e1ff851 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    adbc16c View commit details
    Browse the repository at this point in the history
  4. Polish @EnableWebMvc javadoc

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5095 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Oct 17, 2011
    Configuration menu
    Copy the full SHA
    96f4371 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2011

  1. marked Apache HttpComponents dependency as optional (SPR-8788); clean…

    …up of conversation dependencies
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5096 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 20, 2011
    Configuration menu
    Copy the full SHA
    4bb7bd2 View commit details
    Browse the repository at this point in the history
  2. cleanup of conversation dependencies

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5097 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 20, 2011
    Configuration menu
    Copy the full SHA
    fa9c677 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cfd183c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6ded4ef View commit details
    Browse the repository at this point in the history
  5. fixed StandardServlet/PortletEnvironment to check for JNDI (for Googl…

    …e App Engine compatibility)
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5100 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 20, 2011
    Configuration menu
    Copy the full SHA
    c273f43 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    934f023 View commit details
    Browse the repository at this point in the history
  7. RmiClientInterceptor detects nested SocketException as connect failur…

    …e as well (SPR-8628)
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5103 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 20, 2011
    Configuration menu
    Copy the full SHA
    17f99fd View commit details
    Browse the repository at this point in the history
  8. fixed GenericTypeResolver to consistently return null if not resolvab…

    …le (SPR-8698)
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5105 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 20, 2011
    Configuration menu
    Copy the full SHA
    8cda9b1 View commit details
    Browse the repository at this point in the history
  9. polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5107 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 20, 2011
    Configuration menu
    Copy the full SHA
    2d38952 View commit details
    Browse the repository at this point in the history
  10. LocaleEditor and StringToLocaleConverter do not restrict variant part…

    … through validation (SPR-8637)
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5108 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 20, 2011
    Configuration menu
    Copy the full SHA
    7f1f5db View commit details
    Browse the repository at this point in the history
  11. optimized DefaultListableBeanFactory's PropertyDescriptor caching for…

    … concurrent access (SPR-7863)
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5110 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 20, 2011
    Configuration menu
    Copy the full SHA
    90ca734 View commit details
    Browse the repository at this point in the history
  12. prepared for 3.1 RC2

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5112 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Oct 20, 2011
    Configuration menu
    Copy the full SHA
    81cbc01 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2011

  1. Configuration menu
    Copy the full SHA
    f9f1305 View commit details
    Browse the repository at this point in the history
  2. SPR-8755 Add Button tag.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5115 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Oct 21, 2011
    Configuration menu
    Copy the full SHA
    d6bee59 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2011

  1. SPR-7943 Minor fix

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5116 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Oct 22, 2011
    Configuration menu
    Copy the full SHA
    06f3d29 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2011

  1. SPR-8782 Raise helpful error when RedirectAttributes is used with old…

    … infrastructure classes.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5117 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Nov 1, 2011
    Configuration menu
    Copy the full SHA
    48e045a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6461859 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8c5038c View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2011

  1. Configuration menu
    Copy the full SHA
    9c44fde View commit details
    Browse the repository at this point in the history
  2. 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.
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5121 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Nov 2, 2011
    Configuration menu
    Copy the full SHA
    5d512a3 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2011

  1. Configuration menu
    Copy the full SHA
    7dc0b27 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c99997 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6ae204 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2011

  1. Configuration menu
    Copy the full SHA
    e5caaac View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    567cc6d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    51e7577 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2011

  1. polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5128 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Nov 6, 2011
    Configuration menu
    Copy the full SHA
    72eddfe View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2011

  1. SPR-8823 Add ServletUriComponentsBuilder.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5129 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Nov 7, 2011
    Configuration menu
    Copy the full SHA
    501348a View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2011

  1. Configuration menu
    Copy the full SHA
    1e8b5fe View commit details
    Browse the repository at this point in the history
  2. SPR-8823 Fix test error.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5131 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Nov 8, 2011
    Configuration menu
    Copy the full SHA
    68625e9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2afb972 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2011

  1. + introduced @CacheUpdate annotation

    + introduced @CacheDefinition annotation
    + introduced meta-annotation to allow multiple @Cache annotations
    SPR-7833
    SPR-8082
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5133 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Nov 9, 2011
    Configuration menu
    Copy the full SHA
    5317d84 View commit details
    Browse the repository at this point in the history
  2. + temporarily disable XML defs (since cache-update and cache-definiti…

    …on are not yet supported)
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5134 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Nov 9, 2011
    Configuration menu
    Copy the full SHA
    65f4a57 View commit details
    Browse the repository at this point in the history
  3. + rename test (as otherwise it gets picked even if it's abstract)

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5135 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Nov 9, 2011
    Configuration menu
    Copy the full SHA
    68cc627 View commit details
    Browse the repository at this point in the history
  4. SPR-8830

    SPR-8082
    SPR-7833
    + add support for CacheDefinitions declarations inside XML
    + more integration tests
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5136 50f2f4bb-b051-0410-bef5-90022cba6387
    Costin Leau committed Nov 9, 2011
    Configuration menu
    Copy the full SHA
    994df4f View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2011

  1. SPR-8803 Refine UriComponentsBuilder.replaceQueryParam().

    If no values are given, the query parameter is removed.
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5137 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Nov 10, 2011
    Configuration menu
    Copy the full SHA
    bd2b507 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2011

  1. added Quartz 2.1 loadClass variant (SPR-8727)

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5138 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Nov 11, 2011
    Configuration menu
    Copy the full SHA
    abd2dd6 View commit details
    Browse the repository at this point in the history
  2. polishing

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5139 50f2f4bb-b051-0410-bef5-90022cba6387
    jhoeller committed Nov 11, 2011
    Configuration menu
    Copy the full SHA
    80da560 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f7a48a View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2011

  1. Polish @scheduled Javadoc

    Add reference to @EnableScheduling and <task:annotation-driven>
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5141 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 13, 2011
    Configuration menu
    Copy the full SHA
    d496b49 View commit details
    Browse the repository at this point in the history
  2. Fix typo in DateTimeFormat Javadoc

    Issue: SPR-8838
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5142 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 13, 2011
    Configuration menu
    Copy the full SHA
    12a0b36 View commit details
    Browse the repository at this point in the history
  3. Polish EmbeddedDatabaseBuilder

    Minor improvements made during the triage of SPR-8817
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5143 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 13, 2011
    Configuration menu
    Copy the full SHA
    2ba75a0 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2011

  1. Improve ImportStack#toString output

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5144 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    427edf8 View commit details
    Browse the repository at this point in the history
  2. Polish @enable* Javadoc

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5145 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    2ec0c01 View commit details
    Browse the repository at this point in the history
  3. Polish @EnableAsync imports, etc

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5146 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    344d3c9 View commit details
    Browse the repository at this point in the history
  4. 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.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5147 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    1862b08 View commit details
    Browse the repository at this point in the history
  5. Fix cache generics warnings; polish whitespace

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5148 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    0982519 View commit details
    Browse the repository at this point in the history
  6. Polish cache Javadoc

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5149 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    936c7e6 View commit details
    Browse the repository at this point in the history
  7. 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.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5150 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    040c0b9 View commit details
    Browse the repository at this point in the history
  8. 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.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5151 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    2b4679d View commit details
    Browse the repository at this point in the history
  9. 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.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5152 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    88d87b9 View commit details
    Browse the repository at this point in the history
  10. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5153 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    18562e2 View commit details
    Browse the repository at this point in the history
  11. Extract various constants in DefaultKeyGenerator

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5154 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    08d649f View commit details
    Browse the repository at this point in the history
  12. Rename KeyGenerator#extract => #generate

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5155 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    1178e02 View commit details
    Browse the repository at this point in the history
  13. 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.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5156 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    0571dac View commit details
    Browse the repository at this point in the history
  14. 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).
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5157 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    3c77eb5 View commit details
    Browse the repository at this point in the history
  15. Introduce @EnableCaching

    See EnableCaching Javadoc for details.
    
    Issue: SPR-8312
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5158 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    1a9038d View commit details
    Browse the repository at this point in the history
  16. 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.
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5159 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    2381485 View commit details
    Browse the repository at this point in the history
  17. Polish AutoProxyRegistrar

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5160 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    e48127d View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    e83db0c View commit details
    Browse the repository at this point in the history
  19. Fix JUnit version in spring-parent pom

    Issue: SPR-8852
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5162 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    0ce106f View commit details
    Browse the repository at this point in the history
  20. 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.
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5163 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    6a6fdb3 View commit details
    Browse the repository at this point in the history
  21. Fix typo in classpath scanning reference doc

    Issue: SPR-8842
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5164 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    52afed7 View commit details
    Browse the repository at this point in the history
  22. Fix typo in ResourceHolder#isVoid Javadoc

    Issue: SPR-8843
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5165 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 16, 2011
    Configuration menu
    Copy the full SHA
    309dcc0 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2011

  1. SPR-8750 Refine 'Content-Type' update in MockHttpServletRequest/Respo…

    …nse.
    
    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.
    
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5166 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Nov 17, 2011
    Configuration menu
    Copy the full SHA
    861757a View commit details
    Browse the repository at this point in the history
  2. consistency and formatting

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5167 50f2f4bb-b051-0410-bef5-90022cba6387
    sbrannen committed Nov 17, 2011
    Configuration menu
    Copy the full SHA
    3c87367 View commit details
    Browse the repository at this point in the history
  3. SPR-8697 Flag '*/subtype' as illegal.

    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5168 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Nov 17, 2011
    Configuration menu
    Copy the full SHA
    d585613 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2011

  1. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5169 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 18, 2011
    Configuration menu
    Copy the full SHA
    51d66e4 View commit details
    Browse the repository at this point in the history
  2. Polish tests and Javadoc for SPR-8824

    Issue: SPR-8824
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5170 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 18, 2011
    Configuration menu
    Copy the full SHA
    270ffb0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    989c3fb View commit details
    Browse the repository at this point in the history
  4. 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.
    
    
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5172 50f2f4bb-b051-0410-bef5-90022cba6387
    rstoyanchev committed Nov 18, 2011
    Configuration menu
    Copy the full SHA
    7ecf5b1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fe09992 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2011

  1. 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
    
    git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@5174 50f2f4bb-b051-0410-bef5-90022cba6387
    cbeams committed Nov 19, 2011
    Configuration menu
    Copy the full SHA
    f8f741d View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2011

  1. Configuration menu
    Copy the full SHA
    067f899 View commit details
    Browse the repository at this point in the history