All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.sf.jsr107cache.CacheManager Maven / Gradle / Ivy

The newest version!
package net.sf.jsr107cache;

/**
 *
 * @author os
 */
public class CacheManager {
    private static CacheManager _INSTANCE;
    
    private final CacheFactory _FACTORY;
    
    private CacheManager(CacheFactory factory) {
        this._FACTORY = factory;
        CacheManager._INSTANCE = this;
    }
    
    public static CacheManager getInstance() {
        return _INSTANCE;
    }
    
    public CacheFactory getCacheFactory() throws CacheException {
        return _FACTORY;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy