Skip to content

Lack of auto registration for fxmlview annotated beans #17

@lhanda

Description

@lhanda

I noticed after annotating javafx controller classes with fxmlview annotation, there is no automated registration of the annotated classes as spring beans. Currently, we need to manually load the controller class via fxweaver to initialize the bean whenever we need to reference the controller class. Created a pull request #16 to specify basepackages to autoscan and register the annotated classes via application.properties 'fxweaver.autoscan.basepackages' property, see modified spring boot starter sample in pull request, thanks.

Regards
Handa

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions