CacheManager function ( ClassLoader arg0 , String arg1 ) { return getCacheManagerFactory ( ) . getCacheManager ( arg0 , arg1 ) ; }
get a named cache manager . the first time a name is used , a new cachemanager is created . subsequent calls will return the same cache manager . during creation , the name of the cachemanager is passed through to javax.cache.spi.cachingprovider so that an implementation it to concrete implementations may use it to point to a specific configuration used to configure the cachemanager . this allows cachemanagers to have different configurations . for example , one cachemanager might be configured for standalone operation and another might be configured to participate in a cluster . generally , it makes sense that a cachemanager is associated with a classloader . i.e. all caches emanating from the cachemanager , all code including key and value classes must be present in that classloader . secondly , the caching may be in a different classloader than the cachemanager i.e. the caching may be shared in an application server setting . for this purpose a classloader may be specified . if specified it will be used for all conversion between values and java objects . while java 's in-built serialization may be used other schemes may also be used . either way the specified classloader will be used . the name parameter may be used to associate a configuration with this cachemanager instance . concode_field_sep List<AnnotationProvider> annotationProviders concode_elem_sep String DEFAULT_CACHE_MANAGER_NAME concode_elem_sep List<CachingProvider> cachingProviders concode_field_sep void init concode_elem_sep CacheManagerFactory getCacheManagerFactory concode_elem_sep CachingProvider getCachingProvider concode_elem_sep AnnotationProvider getAnnotationProvider concode_elem_sep String createListOfClassNames concode_elem_sep boolean isSupported concode_elem_sep void close concode_elem_sep boolean close concode_elem_sep boolean close concode_elem_sep boolean isAnnotationsSupported