Merge "Refactor Subnet.isSubnetOf - reduce number of 'if' statements. Added unitests."
[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
12 public class ServiceReferenceMXBeanImpl implements ServiceReferenceMXBean {
13     private ObjectName currentImplementation;
14
15     public ServiceReferenceMXBeanImpl(ObjectName currentImplementation) {
16         this.currentImplementation = currentImplementation;
17     }
18
19     @Override
20     public ObjectName getCurrentImplementation() {
21         return currentImplementation;
22     }
23
24     public void setCurrentImplementation(ObjectName currentImplementation) {
25         this.currentImplementation = currentImplementation;
26     }
27 }