public void determineCacheProvider ( ) { this . defaultProvider = true ; if ( cacheProviderName . equals ( "" ) ) { cacheProviderName = CacheConfig . CACHE_PROVIDER_DYNACACHE ; } if ( ! cacheProviderName . equals ( CACHE_PROVIDER_DYNACACHE ) ) { defaultProvider = false ; if ( tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "Alternate CacheProvider " + cacheProviderName + " set for " + cacheName ) ; } } }
Determines if default cache provider is being used and sets flag accordingly .