Skip to content

@Component annotation to detect the class like in Springboot #1264

@manuelkollus

Description

@manuelkollus

As many people surely know SpringBoot has an @component annotation to detect a class is a great feature, but I would like to have it implemented in Guice.

I once developed a small example of what it looks like when a component is scanned.
Click here

I would consider this feature appropriate, because you can scan and filter out all classes if the class has @config annotation, for example, and then inject the class automatically.

Cheers,
Manuel Kollus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions