Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;
@Service
@Profile("dev")
public class DevelopmentEnvironmentService implements EnvironmentService
{
@Override
public String getCurrentEnvironment()
{
return "development_environment";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment