public static boolean isInitialized() {
return initialized;
}
public void loadSettings(final IGenericCallback<Void> callback) {
settings = new ResourceBundle();
settings.loadBundle("settings/", "settings", false, new IResourceBundleLoadCallback() {
public void bundleLoaded(String bundleName) {
final ResourceBundle settings_override = new ResourceBundle();
settings_override.loadBundle("settings/", "settings_override", false, new IResourceBundleLoadCallback() {
public void bundleLoaded(String bundleName) {
settings.mergeResourceBundle(settings_override);
String serviceEntryPoint = settings.getString("BaseService", BASE_SERVICE_PATH);
if (!StringUtils.isEmpty(serviceEntryPoint)) {
((ServiceDefTarget) BaseServiceCache.getServiceUnsafe()).setServiceEntryPoint(serviceEntryPoint);