org.ehcache.jsr107
Class DefaultJsr107Service

java.lang.Object
  extended by org.ehcache.jsr107.DefaultJsr107Service
All Implemented Interfaces:
Jsr107Service, Service

public class DefaultJsr107Service
extends java.lang.Object
implements Jsr107Service


Constructor Summary
DefaultJsr107Service(Jsr107Configuration configuration)
           
 
Method Summary
 java.lang.String getTemplateNameForCache(java.lang.String name)
           
 boolean jsr107CompliantAtomics()
           
 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

DefaultJsr107Service

public DefaultJsr107Service(Jsr107Configuration configuration)
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.

getTemplateNameForCache

public java.lang.String getTemplateNameForCache(java.lang.String name)
Specified by:
getTemplateNameForCache in interface Jsr107Service

stop

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

Specified by:
stop in interface Service

jsr107CompliantAtomics

public boolean jsr107CompliantAtomics()
Specified by:
jsr107CompliantAtomics in interface Jsr107Service