org.ehcache.events
Interface CacheEventNotificationListenerServiceProvider

All Superinterfaces:
Service
All Known Implementing Classes:
CacheEventNotificationListenerServiceProviderImpl

public interface CacheEventNotificationListenerServiceProvider
extends Service

A provider Service that will facilitate CacheEventNotificationService instance


Method Summary
<K,V> CacheEventNotificationService<K,V>
createCacheEventNotificationService(Store<K,V> store, ServiceConfiguration<?>... serviceConfigs)
          Creates an instance of CacheEventNotificationService to be used by CacheManager
<K,V> void
releaseCacheEventNotificationService(CacheEventNotificationService<K,V> cenlService)
          Invoked by CacheManager to release all CacheEventListener listeners registered with CacheEventNotificationService
 
Methods inherited from interface org.ehcache.spi.service.Service
start, stop
 

Method Detail

createCacheEventNotificationService

<K,V> CacheEventNotificationService<K,V> createCacheEventNotificationService(Store<K,V> store,
                                                                             ServiceConfiguration<?>... serviceConfigs)
Creates an instance of CacheEventNotificationService to be used by CacheManager

Returns:
the CacheEventNotificationService

releaseCacheEventNotificationService

<K,V> void releaseCacheEventNotificationService(CacheEventNotificationService<K,V> cenlService)
Invoked by CacheManager to release all CacheEventListener listeners registered with CacheEventNotificationService

Parameters:
cenlService - the CacheEventNotificationService