Search code examples
javaspringapplicationcontext

Loading context after application context


I have a doubt which is similar to the one here:

Class Loading Application Context Spring

But I also want to load the dependencies of the classes loaded after the application context.

Is that possible to achieve?


Solution

  • But I also want to load the dependencies of the classes loaded after the application context.

    if they are required to be initialized with class initialization, they will get loaded