Package io.bootique.cayenne.v41.jcache
Class CayenneJCacheModule
- java.lang.Object
-
- io.bootique.cayenne.v41.jcache.CayenneJCacheModule
-
- All Implemented Interfaces:
io.bootique.di.BQModule
public class CayenneJCacheModule extends Object implements io.bootique.di.BQModule
Bootique DI module integrating bootique-jcache to Cayenne.- Since:
- 1.0.RC1
-
-
Constructor Summary
Constructors Constructor Description CayenneJCacheModule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(io.bootique.di.Binder binder)protected org.apache.cayenne.di.ModulecreateInvalidationModule(Set<org.apache.cayenne.cache.invalidation.InvalidationHandler> invalidationHandlers)protected org.apache.cayenne.di.ModulecreateOverridesModule(javax.cache.CacheManager cacheManager)static CayenneJCacheModuleExtenderextend(io.bootique.di.Binder binder)
-
-
-
Method Detail
-
extend
public static CayenneJCacheModuleExtender extend(io.bootique.di.Binder binder)
- Parameters:
binder- DI binder passed to the Module that invokes this method.- Returns:
- an instance of
CayenneJCacheModuleExtenderthat can be used to load Cayenne cache custom extensions. - Since:
- 0.19
-
configure
public void configure(io.bootique.di.Binder binder)
- Specified by:
configurein interfaceio.bootique.di.BQModule
-
createInvalidationModule
protected org.apache.cayenne.di.Module createInvalidationModule(Set<org.apache.cayenne.cache.invalidation.InvalidationHandler> invalidationHandlers)
-
createOverridesModule
protected org.apache.cayenne.di.Module createOverridesModule(javax.cache.CacheManager cacheManager)
-
-