Class 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 Detail

      • CayenneJCacheModule

        public CayenneJCacheModule()
    • 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 CayenneJCacheModuleExtender that can be used to load Cayenne cache custom extensions.
        Since:
        0.19
      • configure

        public void configure​(io.bootique.di.Binder binder)
        Specified by:
        configure in interface io.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)