/* * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.controller.sal.binding.impl.osgi import java.util.Hashtable import static org.opendaylight.controller.sal.binding.impl.osgi.Constants.* class PropertiesUtils { private new() { } static def setSalServiceType(Hashtable properties, String value) { properties.put(SAL_SERVICE_TYPE, value) return properties } static def getSalServiceType(Hashtable properties) { return properties.get(SAL_SERVICE_TYPE) } static def newProperties() { new Hashtable() } }