I
I
Ivan2018-03-01 13:26:54
Java
Ivan, 2018-03-01 13:26:54

How to initialize everything in Spring Boot from an external Jar?

There is a certain kernel that rises from spring boot, there is a service that loads jar files, Jar files are some plugins for the main application (Kernel)
The problem is that jar files can describe their beans, repositories, etc., they use spring annotations, the question is how to make the spring scan the newly loaded jar file, so that all the beans are in, so to speak, in the bank, so that they are written into the spring context and that they can be safely injected and used.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
piatachki, 2018-03-01
@panarama360

Do you need this ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question