org.infinispan.query
Class CommandInitializer

java.lang.Object
  extended by org.infinispan.query.CommandInitializer
All Implemented Interfaces:
ModuleCommandInitializer

public class CommandInitializer
extends Object
implements ModuleCommandInitializer

Initializes query module remote commands

Since:
5.1
Author:
Israel Lacerra

Constructor Summary
CommandInitializer()
           
 
Method Summary
 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.

-->

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