Skip to content

Add external-ref and local-ref to DTD/XSD [SPR-4052] #8731

@spring-projects-issues

Description

@spring-projects-issues

Paul Benedict opened SPR-4052 and commented

When sharing common configuration files between projects, it is not very clear where bean placeholders come from. I do not use any IDE tooling, but I would like to derive this from reading the config. Thus I propose to extend the usage of bean references:

  1. Add "external-ref" attribute to indicate that the referenced bean must come from another Spring config file, erring if it is defined within.
  2. Add "local-ref" attribute to indicate the inverse. I really do like the "local" tag except there is no shorthand attribute for it, so I don't use it.

Issue Links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions