|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.infinispan.commands.RemoteCommandsFactory
public class RemoteCommandsFactory
Specifically used to create un-initialized ReplicableCommand
s from a byte stream.
This is a Scopes.GLOBAL
component and doesn't have knowledge of initializing a command by injecting
cache-specific components into it.
CommandsFactory.initializeReplicableCommand(ReplicableCommand,boolean)
.
CommandsFactory.initializeReplicableCommand(ReplicableCommand,boolean)
Constructor Summary | |
---|---|
RemoteCommandsFactory()
|
Method Summary | |
---|---|
ReplicableCommand |
fromStream(byte id,
Object[] parameters,
byte type)
Creates an un-initialized command. |
void |
inject(Transport transport,
EmbeddedCacheManager cacheManager,
GlobalComponentRegistry registry,
Map<Byte,ModuleCommandFactory> commandFactories)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteCommandsFactory()
Method Detail |
---|
public void inject(Transport transport, EmbeddedCacheManager cacheManager, GlobalComponentRegistry registry, Map<Byte,ModuleCommandFactory> commandFactories)
public ReplicableCommand fromStream(byte id, Object[] parameters, byte type)
CommandsFactory.initializeReplicableCommand(ReplicableCommand,boolean)
id
- id of the commandparameters
- parameters to settype
-
|
--> | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |