public class SimpleSingleValuePropertyCommandExecutor extends Object implements SingleValuePropertyCommandExecutor
Commands that are passed to it on the users domain model without any filtering.| Constructor and Description |
|---|
SimpleSingleValuePropertyCommandExecutor(WeakObjectRegistry objectRegistry,
SilentChangeExecutor changeExecutor,
ValueMapper valueMapper)
Initializes the instance with all its dependencies.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(SetPropertyValue command)
Executes an command that was received from an other peer if appropriate.
|
public SimpleSingleValuePropertyCommandExecutor(WeakObjectRegistry objectRegistry, SilentChangeExecutor changeExecutor, ValueMapper valueMapper)
objectRegistry - the registry that stores all known observable objects.valueMapper - Used to map Value massages to the actual value of a property.changeExecutor - Used to prevent generation of change commands when doing changes to the users domain model.public void execute(SetPropertyValue command)
SingleValuePropertyCommandExecutorexecute in interface SingleValuePropertyCommandExecutorcommand - The received event.Copyright © 2015 Saxonia Systems AG. All Rights Reserved.