@Override protected void setEntityBeforeSubscribingProducerChildrenEvents() { BrooklynLogging.log(LOG, BrooklynLogging.levelDebugOrTraceIfReadOnly(producer), "{} subscribing to children of {}", this, producer); for (Sensor<?> sourceSensor: getSourceSensors()) { subscriptions().subscribeToChildren(producer, sourceSensor, this); } }
@Override protected void setEntityBeforeSubscribingProducerChildrenEvents() { BrooklynLogging.log(LOG, BrooklynLogging.levelDebugOrTraceIfReadOnly(producer), "{} subscribing to children of {}", this, producer); subscriptions().subscribeToChildren(producer, sourceSensor, this); }