LOG.info("Initializing '" + aContext + "." + _name + "'");
doStart(aContext + "." + getName());
_status = Status.RUNNING;
+ if ( _running.size() != _provided.size()) {
+ List<ProvidedInterface> remaining =
+ new ArrayList<ProvidedInterface>(_provided);
+ remaining.removeAll(_running);
+ throw new SystemAssemblyException(aContext + "." + getName() + ": not all services were started, missing " + remaining);
+ }
}
/**