Created
January 2, 2018 19:26
-
-
Save chathurangat/c8239a1f10645640e352c94136df50ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Service | |
@Profile("prod") | |
public class ProductionEnvironmentService implements EnvironmentService | |
{ | |
@Override | |
public String getCurrentEnvironment() | |
{ | |
return "production_environment"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment