private static final long serialVersionUID = 2956662716453261085L;
- private CloudConfig cloudConfigCache = new CloudConfig();
+ private static CloudConfig cloudConfigCache = new CloudConfig();
protected static String prefixMsoPropertiesPath = System.getProperty ("mso.config.path");
private static final MsoLogger LOGGER = MsoLogger.getMsoLogger (MsoLogger.Catalog.RA);
- private int refreshTimer;
+ private static int refreshTimer;
private static final ReentrantReadWriteLock rwl = new ReentrantReadWriteLock ();
prefixMsoPropertiesPath = "";
}
}
-
+
public void initializeCloudConfig (String filePath, int refreshTimer) throws MsoCloudIdentityNotFound {
rwl.writeLock ().lock ();
try {
/**
* This method is not intended to be called, it's used to refresh the config
* automatically
- *
- * @return true if Properties have been reloaded, false otherwise
*/
@Schedule(minute = "*/1", hour = "*", persistent = false)
public void reloadCloudConfig () {