// if the object exists
if (obj != null) {
// gets the behavior name in the user level command
String behaviorName = userLevelCommand.getProperty(Command.PROPERTY_BEHAVIOR);
BehaviorLogic behavior = obj.getBehavior(behaviorName);
// if this behavior exists in object obj
if (behavior != null) {
LOG.log(Level.CONFIG,
"User level command ''{0}'' request changing behavior {1} of object ''{2}'' "
+ "from value ''{3}'' to value ''{4}''",
new Object[]{userLevelCommand.getName(), behavior.getName(), obj.getPojo().getName(), behavior.getValueAsString(), userLevelCommand.getProperties().getProperty("value")});
// true means a command must be fired
behavior.filterParams(userLevelCommand.getProperties(), true);
} else {
LOG.log(Level.WARNING,
"Behavior ''{0}'' is not a valid behavior for object ''{1}''. "
+ "Please check ''behavior'' parameter spelling in command {2}",