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

Add PostLoader to Nalu #170

Closed
FrankHossfeld opened this issue Nov 17, 2020 · 0 comments
Closed

Add PostLoader to Nalu #170

FrankHossfeld opened this issue Nov 17, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@FrankHossfeld
Copy link
Collaborator

FrankHossfeld commented Nov 17, 2020

Nalu offers a loader for the main application and loaders for each modules.

The loader of the main application will be executed first. After that, each module gets loaded and the module loader gets executed. The module loader might set up values and instances inside a module.

Nalu misses the possibility to do something after every module is loaded.

Add a new attribute inside the @Application annotation:

  • postLoader

This attribute is optional.

If exists, execute it before the application continue to start.

@FrankHossfeld FrankHossfeld added the enhancement New feature or request label Nov 17, 2020
@FrankHossfeld FrankHossfeld added this to the 2.2.0 milestone Nov 17, 2020
@FrankHossfeld FrankHossfeld self-assigned this Nov 17, 2020
@FrankHossfeld FrankHossfeld changed the title PostModuleLoader add PostLoader to Nalu Nov 18, 2020
@FrankHossfeld FrankHossfeld changed the title add PostLoader to Nalu Add PostLoader to Nalu Nov 18, 2020
FrankHossfeld added a commit that referenced this issue Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant