public interface ModuleLifecycle
For example the 'query' module needs to register an interceptor with the Cache if the Cache has querying enabled etc.
To use this hook, you would need to implement this interface and annotate it with
InfinispanModule.
Modules who also have their own configuration (see org.infinispan.configuration), can access their
configuration beans via Configuration.module(Class)
| Modifier and Type | Method and Description |
|---|---|
default void |
cacheManagerStarted(GlobalComponentRegistry gcr) |
default void |
cacheManagerStarting(GlobalComponentRegistry gcr,
GlobalConfiguration globalConfiguration) |
default void |
cacheManagerStopped(GlobalComponentRegistry gcr) |
default void |
cacheManagerStopping(GlobalComponentRegistry gcr) |
default void |
cacheStarted(ComponentRegistry cr,
String cacheName) |
default void |
cacheStarting(ComponentRegistry cr,
Configuration configuration,
String cacheName) |
default void |
cacheStopped(ComponentRegistry cr,
String cacheName) |
default void |
cacheStopping(ComponentRegistry cr,
String cacheName) |
default void cacheManagerStarting(GlobalComponentRegistry gcr, GlobalConfiguration globalConfiguration)
default void cacheManagerStarted(GlobalComponentRegistry gcr)
default void cacheManagerStopping(GlobalComponentRegistry gcr)
default void cacheManagerStopped(GlobalComponentRegistry gcr)
default void cacheStarting(ComponentRegistry cr, Configuration configuration, String cacheName)
default void cacheStarted(ComponentRegistry cr, String cacheName)
default void cacheStopping(ComponentRegistry cr, String cacheName)
default void cacheStopped(ComponentRegistry cr, String cacheName)
Copyright © 2022 JBoss by Red Hat. All rights reserved.