1 15 package org.apache.hivemind; 16 17 import java.util.List ; 18 import java.util.Locale ; 19 20 26 public interface Registry 27 { 28 34 public boolean containsConfiguration(String configurationId); 35 36 42 public boolean containsService(Class serviceInterface); 43 44 51 public boolean containsService(String serviceId, Class serviceInterface); 52 53 62 public Object getConfiguration(String configurationId); 63 64 74 public Object getConfiguration(Class configurationType); 75 76 89 90 public Object getService(String serviceId, Class serviceInterface); 91 92 104 105 public Object getService(Class serviceInterface); 106 107 110 111 public Locale getLocale(); 112 113 119 120 public void shutdown(); 121 122 130 131 public void setupThread(); 132 133 137 138 public void cleanupThread(); 139 140 147 public List getServiceIds(Class serviceInterface); 148 149 156 public Messages getModuleMessages(String moduleId); 157 } | Popular Tags |