private void bindAdapters(Registry registry) throws RemoteException, SessionExpiredException { System.out.print("Initializing server registry ... "); System.out.flush(); registry.rebind(SESSION_MANAGER, SessionController.getInstance()); registry.rebind(CUSTOM_TABLES_MANAGER, CustomTables.getInstance()); registry.rebind(ANNOTATION_MANAGER, AnnotationManager.getInstance()); registry.rebind(COHORT_MANAGER, CohortManager.getInstance()); registry.rebind(GENE_SET_MANAGER, GeneSetManager.getInstance()); registry.rebind(LOG_MANAGER, LogManager.getInstance()); registry.rebind(NETWORK_MANAGER, NetworkManager.getInstance()); registry.rebind(ONTOLOGY_MANAGER, OntologyManager.getInstance()); registry.rebind(PATIENT_MANAGER, PatientManager.getInstance()); registry.rebind(PROJECT_MANAGER, ProjectManager.getInstance()); registry.rebind(REFERENCE_MANAGER, ReferenceManager.getInstance()); registry.rebind(REGION_SET_MANAGER, RegionSetManager.getInstance()); registry.rebind(SETTINGS_MANAGER, SettingsManager.getInstance()); registry.rebind(USER_MANAGER, UserManager.getInstance()); registry.rebind(VARIANT_MANAGER, VariantManager.getInstance()); registry.rebind(DB_UTIL_MANAGER, DBUtils.getInstance()); registry.rebind(SETUP_MANAGER, SetupMedSavantDatabase.getInstance()); registry.rebind(CUSTOM_TABLES_MANAGER, CustomTables.getInstance()); registry.rebind(NOTIFICATION_MANAGER, NotificationManager.getInstance()); System.out.println("OK"); }