ehcache

net.sf.ehcache.config
Class CacheConfiguration.CacheEventListenerFactoryConfiguration

java.lang.Object
  extended by net.sf.ehcache.config.FactoryConfiguration<CacheConfiguration.CacheEventListenerFactoryConfiguration>
      extended by net.sf.ehcache.config.CacheConfiguration.CacheEventListenerFactoryConfiguration
All Implemented Interfaces:
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
CacheConfiguration.CacheEventListenerFactoryConfiguration()
           
 
Method Summary
 NotificationScope getListenFor()
          Get the value mode in terms of the mode enum
 CacheConfiguration.CacheEventListenerFactoryConfiguration listenFor(String listenFor)
           
 void setListenFor(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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheConfiguration.CacheEventListenerFactoryConfiguration

public CacheConfiguration.CacheEventListenerFactoryConfiguration()
Method Detail

setListenFor

public void setListenFor(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(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


ehcache

Copyright 2001-2014, Terracotta, Inc.