Infinispan Distribution 5.2.6.Final-redhat-2

org.infinispan.query
Class CommandInitializer

java.lang.Object
  extended by 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.

Constructor Summary
CommandInitializer()
           
 
Method Summary
 Cache<?,?> getCache()
           
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandInitializer

public CommandInitializer()
Method Detail

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 initialize
isRemote - 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()

Infinispan Distribution 5.2.6.Final-redhat-2

Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.