* the params, containing at least a "state" field, with a
* specific State configuration.
*/
public WakeService(final ObjectNode params) {
myParams = params;
state = new StateBuilder().withConfig(
(ObjectNode) myParams.get("state")).build();
WakeServiceBuilder.getServices().put(state.getId(), this);
}