1 /******************************************************************************* 2 * Copyright (c) 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.osgi.service.resolver; 12 13 import java.util.Dictionary; 14 15 /** 16 * A description of a generic capability. 17 * @since 3.2 18 */ 19 public interface GenericDescription extends BaseDescription { 20 /** 21 * The default type of generic capability. 22 */ 23 public static String DEFAULT_TYPE = "generic"; //$NON-NLS-1$ 24 25 /** 26 * Returns the arbitrary attributes for this description 27 * @return the arbitrary attributes for this description 28 */ 29 public Dictionary getAttributes(); 30 31 /** 32 * Returns the type of generic description capability 33 * @return the type of generic description capability 34 */ 35 public String getType(); 36 } 37