public final class CommandInitializer extends Object implements ModuleCommandInitializer
Constructor and Description |
---|
CommandInitializer() |
Modifier and Type | Method and Description |
---|---|
EmbeddedCacheManager |
getCacheManager() |
void |
initializeReplicableCommand(ReplicableCommand c,
boolean isRemote)
Initializes a command constructed using
ModuleCommandFactory.fromStream(byte, Object[]) with
necessary named-cache-specific components. |
void |
setCacheManager(EmbeddedCacheManager cacheManager) |
public void setCacheManager(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 EmbeddedCacheManager getCacheManager()
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.