/* */ private void addDependencies(ServiceControllerContext context, Collection<ObjectName> depends)
/* */ {
/* 687 */ DependencyInfo info = context.getDependencyInfo();
/* 688 */ for (ObjectName other : depends)
/* */ {
/* 690 */ info.addIDependOn(new LifecycleDependencyItem(context.getName(), other.getCanonicalName(), ControllerState.CREATE));
/* 691 */ info.addIDependOn(new LifecycleDependencyItem(context.getName(), other.getCanonicalName(), ControllerState.START));
/* */ }
/* */ }