2 * Copyright (c) 2016 Brocade Communications Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.blueprint;
10 import org.osgi.framework.Bundle;
13 * Interface that restarts blueprint containers.
15 * @author Thomas Pantelis
17 public interface BlueprintContainerRestartService {
20 * Restarts the blueprint container for the given bundle and all its dependent containers in an atomic
21 * and orderly manner. The dependent containers are identified by walking the OSGi service dependency
22 * hierarchies for the service(s) provided by the given bundle.
24 * @param bundle the bundle to restart
26 void restartContainerAndDependents(Bundle bundle);