Package net.sf.ehcache.config
Class CacheConfiguration.CacheEventListenerFactoryConfiguration
- java.lang.Object
-
- net.sf.ehcache.config.FactoryConfiguration<CacheConfiguration.CacheEventListenerFactoryConfiguration>
-
- net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration
-
- All Implemented Interfaces:
java.lang.Cloneable
- Enclosing class:
- CacheConfiguration
public static final class CacheConfiguration.CacheEventListenerFactoryConfiguration extends FactoryConfiguration<CacheConfiguration.CacheEventListenerFactoryConfiguration>
Configuration for the CacheEventListenerFactory.
-
-
Field Summary
-
Fields inherited from class net.sf.ehcache.config.FactoryConfiguration
fullyQualifiedClassPath, properties, propertySeparator
-
-
Constructor Summary
Constructors Constructor Description CacheEventListenerFactoryConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotificationScopegetListenFor()Get the value mode in terms of the mode enumCacheConfiguration.CacheEventListenerFactoryConfigurationlistenFor(java.lang.String listenFor)voidsetListenFor(java.lang.String listenFor)Used by BeanHandler to set the mode during parsing.-
Methods inherited from class net.sf.ehcache.config.FactoryConfiguration
className, clone, equals, getFullyQualifiedClassPath, getProperties, getPropertySeparator, hashCode, properties, propertySeparator, setClass, setProperties, setPropertySeparator
-
-
-
-
Method Detail
-
setListenFor
public void setListenFor(java.lang.String listenFor)
Used by BeanHandler to set the mode during parsing. Convert listenFor string to uppercase and look up enum constant in NotificationScope.
-
listenFor
public final CacheConfiguration.CacheEventListenerFactoryConfiguration listenFor(java.lang.String listenFor)
- Returns:
- this factory configuration instance
- See Also:
setListenFor(String)
-
getListenFor
public NotificationScope getListenFor()
Get the value mode in terms of the mode enum
-
-