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;
10 import javax.management.DynamicMBean;
12 import org.opendaylight.controller.config.spi.Module;
15 * Each {@link org.opendaylight.controller.config.spi.Module} that is committed
16 * will be wrapped into this interface.
18 public interface DynamicMBeanWithInstance extends DynamicMBean {
21 * Get original module that is wrapped with this instance.
26 * Gets 'live object' associated with current config object. Useful when
27 * reconfiguring {@link org.opendaylight.controller.config.spi.Module}
30 AutoCloseable getInstance();