boolean skipSetParams = false;
switch (id)
{
case CreateNodeCommand.METHOD_ID:
{
CreateNodeCommand returnValue = new CreateNodeCommand(null);
returnValue.initialize(dataContainer);
command = returnValue;
break;
}
case GravitateDataCommand.METHOD_ID:
{
LegacyGravitateDataCommand returnValue = new LegacyGravitateDataCommand(rpcManager.getLocalAddress());
returnValue.initialize(dataContainer, cacheSpi, buddyFqnTransformer);
command = returnValue;
break;
}
case InvalidateCommand.METHOD_ID:
{
VersionedInvalidateCommand returnValue = new VersionedInvalidateCommand(null);
returnValue.initialize(cacheSpi, dataContainer, notifier);
command = returnValue;
break;
}
default:
// pass up to superclass