//along with the parameters getted from the relative behavior (if exists)
LOG.log(Level.FINE,
"Environment object ''{0}'' tries to ''{1}'' itself using hardware command ''{2}''",
new Object[]{pojo.getName(), action, command.getName()});
Resolver resolver = new Resolver();
//adding a resolution context for object that owns this hardware level command. 'owner.' is the prefix of this context
resolver.addContext("owner.",
getExposedProperties());
resolver.addContext("owner.",
getExposedBehaviors());
try {
final Command resolvedCommand = resolver.resolve(command); //eg: turn on an X10 device
// XStream s = FreedomXStream.getXstream();
// System.out.println(s.toXML(resolvedCommand));
Command result = busService.send(resolvedCommand); //blocking wait until timeout