2 * Copyright (c) 2013 Cisco 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.config.api.runtime;
10 import javax.management.ObjectName;
12 public interface HierarchicalRuntimeBeanRegistration extends AutoCloseable {
14 ObjectName getObjectName();
16 HierarchicalRuntimeBeanRegistration register(String key, String value,
20 * Unregister beans that were registered using this registrator and its
21 * child registrators. This method is not idempotent, it is not allowed to
22 * use this instance or child registrators after they are closed.