public class CacheNamespaceHandler extends NamespaceHandlerSupport
NamespaceHandler
allowing for the configuration of declarative
cache management using either XML or using annotations.
This namespace handler is the central piece of functionality in the Spring cache management facilities.
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
CACHE_MANAGER_ATTRIBUTE |
(package private) static java.lang.String |
DEFAULT_CACHE_MANAGER_BEAN_NAME |
Constructor and Description |
---|
CacheNamespaceHandler() |
Modifier and Type | Method and Description |
---|---|
(package private) static java.lang.String |
extractCacheManager(org.w3c.dom.Element element) |
void |
init()
Invoked by the
DefaultBeanDefinitionDocumentReader after
construction but before any custom elements are parsed. |
(package private) static BeanDefinition |
parseKeyGenerator(org.w3c.dom.Element element,
BeanDefinition def) |
decorate, parse, registerBeanDefinitionDecorator, registerBeanDefinitionDecoratorForAttribute, registerBeanDefinitionParser
static final java.lang.String CACHE_MANAGER_ATTRIBUTE
static final java.lang.String DEFAULT_CACHE_MANAGER_BEAN_NAME
static java.lang.String extractCacheManager(org.w3c.dom.Element element)
static BeanDefinition parseKeyGenerator(org.w3c.dom.Element element, BeanDefinition def)
public void init()
NamespaceHandler
DefaultBeanDefinitionDocumentReader
after
construction but before any custom elements are parsed.