private boolean dataCacheManagerInitialized = false;
public DataCacheManager getDataCacheManagerInstance() {
if (dataCacheManagerInitialized == false) {
synchronized (this) {
if (dataCacheManagerInitialized == false) {
DataCacheManager dcm = (DataCacheManager) dataCacheManagerPlugin.get();
if (dcm == null) {
dcm = (DataCacheManager) dataCacheManagerPlugin.instantiate(DataCacheManager.class, this);
dcm.initialize(this, dataCachePlugin, queryCachePlugin);
}
dataCacheManagerInitialized = true;
return dcm;
}
}