org.ehcache.internal.events
Class CacheEventNotificationListenerServiceProviderImpl

java.lang.Object
  extended by org.ehcache.internal.events.CacheEventNotificationListenerServiceProviderImpl
All Implemented Interfaces:
CacheEventNotificationListenerServiceProvider, Service

public class CacheEventNotificationListenerServiceProviderImpl
extends java.lang.Object
implements CacheEventNotificationListenerServiceProvider


Constructor Summary
CacheEventNotificationListenerServiceProviderImpl()
           
 
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
 void start(ServiceProvider serviceProvider)
          Start this service using the provided configuration and ServiceProvider.
 void stop()
          Stops this service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheEventNotificationListenerServiceProviderImpl

public CacheEventNotificationListenerServiceProviderImpl()
Method Detail

start

public void start(ServiceProvider serviceProvider)
Description copied from interface: Service
Start this service using the provided configuration and ServiceProvider.

The goal of the service provider is to allow a service to use other services.

Specified by:
start in interface Service
Parameters:
serviceProvider - the service provider.

stop

public void stop()
Description copied from interface: Service
Stops this service.

Specified by:
stop in interface Service

createCacheEventNotificationService

public <K,V> CacheEventNotificationService<K,V> createCacheEventNotificationService(Store<K,V> store,
                                                                                    ServiceConfiguration<?>... serviceConfigs)
Description copied from interface: CacheEventNotificationListenerServiceProvider
Creates an instance of CacheEventNotificationService to be used by CacheManager

Specified by:
createCacheEventNotificationService in interface CacheEventNotificationListenerServiceProvider
Returns:
the CacheEventNotificationService

releaseCacheEventNotificationService

public <K,V> void releaseCacheEventNotificationService(CacheEventNotificationService<K,V> cenlService)
Description copied from interface: CacheEventNotificationListenerServiceProvider
Invoked by CacheManager to release all CacheEventListener listeners registered with CacheEventNotificationService

Specified by:
releaseCacheEventNotificationService in interface CacheEventNotificationListenerServiceProvider
Parameters:
cenlService - the CacheEventNotificationService