Package org.infinispan.query.remote.impl
Class LifecycleManager
- java.lang.Object
-
- org.infinispan.query.remote.impl.LifecycleManager
-
- All Implemented Interfaces:
ModuleLifecycle
@MetaInfServices(ModuleLifecycle.class) public final class LifecycleManager extends Object implements ModuleLifecycle
Initializes components for remote query. Each cache manager has its own instance of this class during its lifetime.- Since:
- 6.0
- Author:
- anistor@redhat.com
-
-
Constructor Summary
Constructors Constructor Description LifecycleManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalCfg)
void
cacheManagerStopped(GlobalComponentRegistry gcr)
void
cacheManagerStopping(GlobalComponentRegistry gcr)
void
cacheStarting(ComponentRegistry cr, Configuration cfg, String cacheName)
Registers the remote value wrapper interceptor in the cache before it gets started.-
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, cacheStarted, cacheStopped, cacheStopping
-
-
-
-
Method Detail
-
cacheManagerStarting
public void cacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalCfg)
- Specified by:
cacheManagerStarting
in interfaceModuleLifecycle
-
cacheManagerStopping
public void cacheManagerStopping(GlobalComponentRegistry gcr)
- Specified by:
cacheManagerStopping
in interfaceModuleLifecycle
-
cacheStarting
public void cacheStarting(ComponentRegistry cr, Configuration cfg, String cacheName)
Registers the remote value wrapper interceptor in the cache before it gets started.- Specified by:
cacheStarting
in interfaceModuleLifecycle
-
cacheManagerStopped
public void cacheManagerStopped(GlobalComponentRegistry gcr)
- Specified by:
cacheManagerStopped
in interfaceModuleLifecycle
-
-