core/src/main/java/org/apache/brooklyn/entity/stock/ConditionalEntityImpl.java [93:107]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                LOG.info("Starting child {}: {}", child, locations);
                if (Entities.invokeEffectorWithArgs(this, child, Startable.START, locations).blockUntilEnded(timeout)) {
                    LOG.debug("Successfully started {} by {}", child, this);
                } else {
                    throw new IllegalStateException(String.format("Timed out while %s was starting %s", this, child));
                }
            } else {
                LOG.debug("No child created, setting SERVICE_UP to true");
                sensors().set(Attributes.SERVICE_UP, true);
            }

            ServiceStateLogic.setExpectedState(this, Lifecycle.RUNNING);
        } catch (Throwable t) {
            ServiceStateLogic.setExpectedState(this, Lifecycle.ON_FIRE);
            throw Exceptions.propagate(t);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



core/src/main/java/org/apache/brooklyn/entity/stock/LocationEntityImpl.java [143:157]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                LOG.info("Starting child {}: {}", child, locations);
                if (Entities.invokeEffectorWithArgs(this, child, Startable.START, locations).blockUntilEnded(timeout)) {
                    LOG.debug("Successfully started {} by {}", child, this);
                } else {
                    throw new IllegalStateException(String.format("Timed out while %s was starting %s", this, child));
                }
            } else {
                LOG.debug("No child created, setting SERVICE_UP to true");
                sensors().set(Attributes.SERVICE_UP, true);
            }

            ServiceStateLogic.setExpectedState(this, Lifecycle.RUNNING);
        } catch (Throwable t) {
            ServiceStateLogic.setExpectedState(this, Lifecycle.ON_FIRE);
            throw Exceptions.propagate(t);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



