org.infinispan.commands.module
Interface ModuleCommandInitializer
- All Known Implementing Classes:
- CommandInitializer
public interface ModuleCommandInitializer
Modules which wish to implement their own commands and visitors must also provide an implementation of this interface
and declare it in their infinispan-module.properties file under key infinispan.module.command.initializer.
Implementations must be public classes with a public, no-arg constructor for instantiation.
- Since:
- 5.0
- Author:
- Manik Surtani
initializeReplicableCommand
void initializeReplicableCommand(ReplicableCommand c,
boolean isRemote)
- Initializes a command constructed using
ModuleCommandFactory.fromStream(byte, Object[])
with
necessary named-cache-specific components.
- Parameters:
c
- command to initializeisRemote
- true if the source is a remote node in the cluster, false otherwise.
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.