org.infinispan.query.impl
Class LifecycleManager
java.lang.Object
org.infinispan.lifecycle.AbstractModuleLifecycle
org.infinispan.query.impl.LifecycleManager
- All Implemented Interfaces:
- ModuleLifecycle
public class LifecycleManager
- extends AbstractModuleLifecycle
Lifecycle of the Query module: initializes the Hibernate Search engine and shuts it down
at cache stop.
- Author:
- Sanne Grinovero (C) 2011 Red Hat Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LifecycleManager
public LifecycleManager()
cacheStarting
public void cacheStarting(ComponentRegistry cr,
Configuration configuration,
String cacheName)
- Registers the Search interceptor in the cache before it gets started
- Specified by:
cacheStarting in interface ModuleLifecycle- Overrides:
cacheStarting in class AbstractModuleLifecycle
cacheStarted
public void cacheStarted(ComponentRegistry cr,
String cacheName)
- Specified by:
cacheStarted in interface ModuleLifecycle- Overrides:
cacheStarted in class AbstractModuleLifecycle
cacheStopping
public void cacheStopping(ComponentRegistry cr,
String cacheName)
- Specified by:
cacheStopping in interface ModuleLifecycle- Overrides:
cacheStopping in class AbstractModuleLifecycle
cacheStopped
public void cacheStopped(ComponentRegistry cr,
String cacheName)
- Specified by:
cacheStopped in interface ModuleLifecycle- Overrides:
cacheStopped in class AbstractModuleLifecycle
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.