public final class CommandInitializer extends Object implements ModuleCommandInitializer
Constructor and Description |
---|
CommandInitializer() |
Modifier and Type | Method and Description |
---|---|
EmbeddedCacheManager |
getCacheManager() |
QueryInterceptor |
getQueryInterceptor() |
org.hibernate.search.engine.spi.SearchFactoryImplementor |
getSearchFactory() |
void |
initializeReplicableCommand(ReplicableCommand c,
boolean isRemote)
Initializes a command constructed using
ModuleCommandFactory.fromStream(byte, Object[]) with
necessary named-cache-specific components. |
void |
setCache(Cache<?,?> cache,
EmbeddedCacheManager cacheManager) |
public void setCache(Cache<?,?> cache, EmbeddedCacheManager cacheManager)
public void initializeReplicableCommand(ReplicableCommand c, boolean isRemote)
ModuleCommandInitializer
ModuleCommandFactory.fromStream(byte, Object[])
with
necessary named-cache-specific components.initializeReplicableCommand
in interface ModuleCommandInitializer
c
- command to initializeisRemote
- true if the source is a remote node in the cluster, false otherwise.public final org.hibernate.search.engine.spi.SearchFactoryImplementor getSearchFactory()
public final QueryInterceptor getQueryInterceptor()
public EmbeddedCacheManager getCacheManager()
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.