org.infinispan.query
Class CommandInitializer
java.lang.Object
org.infinispan.query.CommandInitializer
- All Implemented Interfaces:
- ModuleCommandInitializer
public final class CommandInitializer
- extends Object
- implements ModuleCommandInitializer
Initializes query module remote commands
- Since:
- 5.1
- Author:
- Israel Lacerra , Sanne Grinovero (C) 2012 Red Hat Inc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandInitializer
public CommandInitializer()
setCache
public void setCache(Cache<?,?> cache)
initializeReplicableCommand
public void initializeReplicableCommand(ReplicableCommand c,
boolean isRemote)
- Description copied from interface:
ModuleCommandInitializer
- Initializes a command constructed using
ModuleCommandFactory.fromStream(byte, Object[])
with
necessary named-cache-specific components.
- Specified by:
initializeReplicableCommand
in interface ModuleCommandInitializer
- Parameters:
c
- command to initializeisRemote
- true if the source is a remote node in the cluster, false otherwise.
getCache
public final Cache<?,?> getCache()
getSearchFactory
public final org.hibernate.search.engine.spi.SearchFactoryImplementor getSearchFactory()
getQueryInterceptor
public final QueryInterceptor getQueryInterceptor()
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.