Can spring @autowire one of the parameters in a constructor and not autowire the other one?

I mean that if I say new TestObject(autowirethis, notautowirethisbutinitiateit); can i make it so i provide one of the values and dont provide the other one?
2 Replies
JavaBot
JavaBot2w ago
This post has been reserved for your question.
Hey @minishza! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
JavaBot
JavaBot2w ago
Post Closed
This post has been closed by <@639741986919677972>.

Did you find this page helpful?