Question from the Spring test

How to restrict the use of a bean to the "prod" profile in Spring?

Medium

To restrict the use of a bean to the "prod"profile, it is necessary to

Author: W3D TeamStatus: PublishedQuestion passed 208 times
Edit
-1
Community Evaluations
developer avatar
Ambiguous
Auteur anonyme
23/09/2024
Not sure what is the awaited answer. I got partially answered. I think i answered the question correct. Other answer do not restrict Bean usage but launch application with a profile or juste don't exist
developer avatar
Auteur anonyme
31/10/2024
The 4th answer is required but the question is indeed ambiguous. Would you like to submit a new version ?