1 15 package org.apache.hivemind.internal; 16 17 import java.util.List ; 18 import java.util.Locale ; 19 20 import org.apache.hivemind.ErrorHandler; 21 22 28 public interface RegistryInfrastructure 29 { 30 46 47 public Object getService(String serviceId, Class serviceInterface, Module module); 48 49 61 public Object getService(Class serviceInterface, Module module); 62 63 75 public Object getConfiguration(String configurationId, Module module); 76 77 90 public Object getConfiguration(Class configurationType, Module module); 91 92 104 105 public ConfigurationPoint getConfigurationPoint(String configurationId, Module module); 106 107 118 119 public ServicePoint getServicePoint(String serviceId, Module module); 120 121 124 125 public ServiceModelFactory getServiceModelFactory(String name); 126 127 130 131 public Locale getLocale(); 132 133 136 137 public ErrorHandler getErrorHander(); 138 139 151 public boolean containsConfiguration(String configurationId, Module module); 152 153 163 public boolean containsService(Class serviceInterface, Module module); 164 165 177 public boolean containsService(String serviceId, Class serviceInterface, Module module); 178 179 185 186 public void startup(); 187 188 196 197 public void shutdown(); 198 199 207 208 public void setupThread(); 209 210 216 217 public void cleanupThread(); 218 219 222 public List getServiceIds(Class serviceInterface); 223 224 230 public Module getModule(String moduleId); 231 232 } | Popular Tags |