@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