Top Description Fields Constructors Methods
org.springframework.cache.config

public Class CacheNamespaceHandler

extends NamespaceHandlerSupport
Class Inheritance
Imports
org.w3c.dom.Element, org.springframework.beans.factory.config.BeanDefinition, .RuntimeBeanReference, org.springframework.beans.factory.xml.NamespaceHandlerSupport, org.springframework.util.StringUtils

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.

Author
Costin Leau
Since
3.1

Field Summary

Modifier and TypeField and Description
pack-priv static final String
pack-priv static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
pack-priv static String
public void
init()

Implements org.springframework.beans.factory.xml.NamespaceHandler.init.

Invoked by the DefaultBeanDefinitionDocumentReader after construction but before any custom elements are parsed.
pack-priv static BeanDefinition
Inherited from org.springframework.beans.factory.xml.NamespaceHandlerSupport:
decorateparseregisterBeanDefinitionDecoratorregisterBeanDefinitionDecoratorForAttributeregisterBeanDefinitionParser

Field Detail

CACHE_MANAGER_ATTRIBUTEback to summary
pack-priv static final String CACHE_MANAGER_ATTRIBUTE
DEFAULT_CACHE_MANAGER_BEAN_NAMEback to summary
pack-priv static final String DEFAULT_CACHE_MANAGER_BEAN_NAME

Constructor Detail

CacheNamespaceHandlerback to summary
public CacheNamespaceHandler()

Method Detail

extractCacheManagerback to summary
pack-priv static String extractCacheManager(Element element)
initback to summary
public void init()

Implements org.springframework.beans.factory.xml.NamespaceHandler.init.

Doc from org.springframework.beans.factory.xml.NamespaceHandler.init.

Invoked by the DefaultBeanDefinitionDocumentReader after construction but before any custom elements are parsed.

Annotations
@Override
parseKeyGeneratorback to summary
pack-priv static BeanDefinition parseKeyGenerator(Element element, BeanDefinition def)