org.ehcache.core
Class DefaultCacheManagerProviderService

java.lang.Object
  extended by org.ehcache.core.DefaultCacheManagerProviderService
All Implemented Interfaces:
CacheManagerProviderService, Service

public class DefaultCacheManagerProviderService
extends java.lang.Object
implements CacheManagerProviderService


Constructor Summary
DefaultCacheManagerProviderService(EhcacheManager ehcacheManager)
           
 
Method Summary
 EhcacheManager getCacheManager()
           
 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

DefaultCacheManagerProviderService

public DefaultCacheManagerProviderService(EhcacheManager ehcacheManager)
Method Detail

getCacheManager

public EhcacheManager getCacheManager()
Specified by:
getCacheManager in interface CacheManagerProviderService

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