title: How do you get current active/default Environment profile programmatically in Spring?
body: <p>I need to code different logic based on different current Environment profile.</p>
  <p><em><strong>How can you get the currently active and default profiles from Spring?</strong></em></p>