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

MicronautImportRegistrar does not set bean class for registered ApplicationContext #583

Open
Phoenix-Starlight opened this issue Apr 28, 2024 · 0 comments · May be fixed by #584
Open

MicronautImportRegistrar does not set bean class for registered ApplicationContext #583

Phoenix-Starlight opened this issue Apr 28, 2024 · 0 comments · May be fixed by #584

Comments

@Phoenix-Starlight
Copy link

Issue description

Currently, the registrar registers the context as this:

        GenericBeanDefinition genericBeanDefinition = new GenericBeanDefinition();
        // ....
        genericBeanDefinition.setInstanceSupplier(() -> context);
        genericBeanDefinition.setDestroyMethodName("stop");
        // ....

However, the bean class is never set.

@Phoenix-Starlight Phoenix-Starlight linked a pull request Apr 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant