org.apache.felix.framework.searchpolicy
Class PackageSource
java.lang.Object
org.apache.felix.framework.searchpolicy.PackageSource
- All Implemented Interfaces:
- Comparable
public class PackageSource
- extends Object
- implements Comparable
This utility class represents a source for a given package, where
the package is indicated by a particular module and the module's
capability associated with that package. This class also implements
Comparable so that two package sources can be compared based
on version and bundle identifiers.
m_module
public IModule m_module
m_capability
public ICapability m_capability
PackageSource
public PackageSource(IModule module,
ICapability capability)
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.