Package org.infinispan.lucene
Class LifecycleCallbacks
- java.lang.Object
-
- org.infinispan.lucene.LifecycleCallbacks
-
- All Implemented Interfaces:
ModuleLifecycle
public class LifecycleCallbacks extends Object implements ModuleLifecycle
Module lifecycle callbacks implementation that enables module specificAdvancedExternalizer
implementations to be registered.- Since:
- 5.0
- Author:
- Galder ZamarreƱo, Sanne Grinovero
-
-
Constructor Summary
Constructors Constructor Description LifecycleCallbacks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalCfg)
static Map<Integer,AdvancedExternalizer<?>>
moduleExternalizers()
Static helper to allow for explicit registration of Externalizers: service discovery is not always an option.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.lifecycle.ModuleLifecycle
cacheManagerStarted, cacheManagerStopped, cacheManagerStopping, cacheStarted, cacheStarting, cacheStopped, cacheStopping
-
-
-
-
Method Detail
-
cacheManagerStarting
public void cacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalCfg)
- Specified by:
cacheManagerStarting
in interfaceModuleLifecycle
-
moduleExternalizers
public static Map<Integer,AdvancedExternalizer<?>> moduleExternalizers()
Static helper to allow for explicit registration of Externalizers: service discovery is not always an option.- Returns:
- the map of Id and Externalizer implementations for this module
-
-