KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > osgi > service > resolver > PackageSpecification


1 /*******************************************************************************
2  * Copyright (c) 2003, 2004 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Common Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/cpl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.osgi.service.resolver;
12
13 /**
14  * A representation of one package import constraint as seen in a
15  * bundle manifest and managed by a state and resolver.
16  */

17 public interface PackageSpecification extends VersionConstraint {
18
19     /**
20      * Returns whether or not this package specificiation is exported from the
21      * declaring bundle.
22      *
23      * @return whether this specification is exported
24      */

25     public boolean isExported();
26 }
Popular Tags