Groovy Documentation

griffon.plugins.ehcache
[Groovy] Class EhcacheConnector

java.lang.Object
  griffon.plugins.ehcache.EhcacheConnector

@Singleton
final class EhcacheConnector
extends Object

Authors:
Andres Almiray


Field Summary
private static String CLASSPATH_PREFIX

private static String DEFAULT

private def bootstrap

 
Constructor Summary
EhcacheConnector()

 
Method Summary
net.sf.ehcache.CacheManager connect(GriffonApplication app, ConfigObject config, String cacheManagerName = DEFAULT)

ConfigObject createConfig(GriffonApplication app)

void disconnect(GriffonApplication app, ConfigObject config, String cacheManagerName = DEFAULT)

private ConfigObject narrowConfig(ConfigObject config, String cacheManagerName)

EhcacheProvider resolveEhcacheProvider(GriffonApplication app)

private net.sf.ehcache.CacheManager startEhcache(GriffonApplication app, ConfigObject config)

private void stopEhcache(ConfigObject config, net.sf.ehcache.CacheManager cacheManager)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

CLASSPATH_PREFIX

private static final String CLASSPATH_PREFIX


DEFAULT

private static final String DEFAULT


bootstrap

private def bootstrap


 
Constructor Detail

EhcacheConnector

EhcacheConnector()


 
Method Detail

connect

net.sf.ehcache.CacheManager connect(GriffonApplication app, ConfigObject config, String cacheManagerName = DEFAULT)


createConfig

ConfigObject createConfig(GriffonApplication app)


disconnect

void disconnect(GriffonApplication app, ConfigObject config, String cacheManagerName = DEFAULT)


narrowConfig

private ConfigObject narrowConfig(ConfigObject config, String cacheManagerName)


resolveEhcacheProvider

EhcacheProvider resolveEhcacheProvider(GriffonApplication app)


startEhcache

private net.sf.ehcache.CacheManager startEhcache(GriffonApplication app, ConfigObject config)


stopEhcache

private void stopEhcache(ConfigObject config, net.sf.ehcache.CacheManager cacheManager)


 

Groovy Documentation