class EurekaApplications {

    public List<Application> getRegistered() {
        Applications applications = eurekaClient.getApplications();
        if (applications == null) {
            return Collections.emptyList();
        }
        return applications.getRegisteredApplications();
    }

}