-1

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?

1 Answer 1

0

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

Sign up to request clarification or add additional context in comments.

2 Comments

So I will have a jar file that will need to be loaded after application context is loaded. This jar will have dependencies on other jars and those too, should get loaded. Will this work?
if you try to load a class Foo from jarF and it needs class Bar from jarB at initialization time it will attempt to load it

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.