Skip to content

Allow to restrict the visibility of beans to a file [SPR-2861] #7548

Closed

Description

@spring-projects-issues

Riccardo opened SPR-2861 and commented

All the beans defined in any configuration file are visible from the whole project. t would be useful to be able to limit the visibility of a bean to only the file where it is defined. Something like <bean-local ... >. I have looked in the forum and jira and I couldn't find anything like this.


Issue Links:

Activity

  1. spring-projects-issues commented on Mar 12, 2011

    @spring-projects-issues
    CollaboratorAuthor

    Chris Beams commented

    Resolving as duplicate of #11829; see comments therein for details.

  2. added
    type: enhancement
    status: duplicate
    on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: duplicatetype: enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions