Merge "Fixed for bug : 1171 - issue while creating subnet"
[controller.git] / opendaylight / config / config-manager / src / main / java / org / opendaylight / controller / config / manager / impl / jmx / ServiceReferenceMXBeanImpl.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.config.manager.impl.jmx;
9
10 import javax.management.ObjectName;
11 import org.opendaylight.controller.config.api.jmx.ServiceReferenceMXBean;
12
13 public class ServiceReferenceMXBeanImpl implements ServiceReferenceMXBean {
14     private ObjectName currentImplementation;
15
16     public ServiceReferenceMXBeanImpl(ObjectName currentImplementation) {
17         this.currentImplementation = currentImplementation;
18     }
19
20     @Override
21     public ObjectName getCurrentImplementation() {
22         return currentImplementation;
23     }
24
25     public void setCurrentImplementation(ObjectName currentImplementation) {
26         this.currentImplementation = currentImplementation;
27     }
28 }