Spring Multiple Profiles Active

Mattress Store Black Box Spring Multiple Profiles

Spring Multiple Profiles Active. Web @profile annotation the @profile annotation tells spring that those beans in the file should be instantiated. I basically have a bean in spring that i wanted to activate only when 2 profiles are active.

Mattress Store Black Box Spring Multiple Profiles
Mattress Store Black Box Spring Multiple Profiles

Web @profile annotation the @profile annotation tells spring that those beans in the file should be instantiated. Web in the normal spring way, you can use a spring.profiles.active environment property to specify which profiles are active. I basically have a bean in spring that i wanted to activate only when 2 profiles are active. Active profile on properties file we can specify the active profile in the application.yaml file: Web you can use a spring.profiles.active environment property to specify which profiles are active.

Web in the normal spring way, you can use a spring.profiles.active environment property to specify which profiles are active. Active profile on properties file we can specify the active profile in the application.yaml file: Web @profile annotation the @profile annotation tells spring that those beans in the file should be instantiated. Web you can use a spring.profiles.active environment property to specify which profiles are active. Web in the normal spring way, you can use a spring.profiles.active environment property to specify which profiles are active. I basically have a bean in spring that i wanted to activate only when 2 profiles are active.