public class EhCacheServiceProvider extends Object implements CacheServiceProvider
Returns instance of EhCacheService
CacheServiceProvider.Impl| Modifier and Type | Field and Description |
|---|---|
static EhCacheServiceProvider |
INSTANCE |
| Constructor and Description |
|---|
EhCacheServiceProvider() |
public static EhCacheServiceProvider INSTANCE
public org.osgl.cache.CacheService get()
CacheServiceProviderGet default cache service instance. The the default cache service is not there yet, then create the default cache service instance
get in interface CacheServiceProviderpublic org.osgl.cache.CacheService get(String name)
CacheServiceProviderGet cache service instance by name. If the service with the name is not there yet, then create the instance
get in interface CacheServiceProvidername - the name of the cache serviceCopyright © 2017 OSGL (Open Source General Library). All rights reserved.