@Component(value="blJCacheUriProvider") @ConditionalOnEhCache public class DefaultEhCacheUriProvider extends DefaultJCacheUriProvider implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected URI |
cacheManagerUri |
protected List<org.springframework.core.io.Resource> |
configLocations |
protected Set<String> |
mergedCacheConfigLocations |
configLocation, isLocationRelative| Constructor and Description |
|---|
DefaultEhCacheUriProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected File |
createTemporaryMergeXml(org.springframework.core.io.Resource mergedJcacheResource) |
URI |
getJCacheUri()
Returns the URI that should be used for JCache configuration
|
protected void |
mergeCacheLocations() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
void |
setConfigLocations(List<org.springframework.core.io.Resource> configLocations) |
protected URI cacheManagerUri
protected List<org.springframework.core.io.Resource> configLocations
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic URI getJCacheUri()
JCacheUriProvidergetJCacheUri in interface JCacheUriProvidergetJCacheUri in class DefaultJCacheUriProviderprotected void mergeCacheLocations()
throws IOException
IOExceptionprotected File createTemporaryMergeXml(org.springframework.core.io.Resource mergedJcacheResource) throws FileNotFoundException, IOException
FileNotFoundExceptionIOExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic void setConfigLocations(List<org.springframework.core.io.Resource> configLocations) throws org.springframework.beans.BeansException
org.springframework.beans.BeansExceptionCopyright © 2022. All rights reserved.