@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.InitializingBean
Exception
public URI getJCacheUri()
JCacheUriProvider
getJCacheUri
in interface JCacheUriProvider
getJCacheUri
in class DefaultJCacheUriProvider
protected void mergeCacheLocations() throws IOException
IOException
protected File createTemporaryMergeXml(org.springframework.core.io.Resource mergedJcacheResource) throws FileNotFoundException, IOException
FileNotFoundException
IOException
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public void setConfigLocations(List<org.springframework.core.io.Resource> configLocations) throws org.springframework.beans.BeansException
org.springframework.beans.BeansException
Copyright © 2022. All rights reserved.