public class RemoteCommandsFactory
- extends Object
Specifically used to create un-initialized
Usually a second step to unmarshalling a command from a byte stream (after
creating an un-initialized version using this factory) is to pass the command though
ReplicableCommands 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.
- Manik Surtani
- See Also:
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void inject(Transport transport)
public ReplicableCommand fromStream(byte id,
- Creates an un-initialized command. Un-initialized in the sense that parameters will be set, but any components
specific to the cache in question will not be set.
You would typically set these parameters using
id - id of the command
parameters - parameters to set
- a replicable command
Copyright © 2010 JBoss, a division of Red Hat. All Rights Reserved.