Skip navigation links
A C D E F G H I L M N O P R S T U V W 

A

Activator - Class in org.apache.felix.resolver
 
Activator() - Constructor for class org.apache.felix.resolver.Activator
 
add(int, T) - Method in class org.apache.felix.resolver.util.CopyOnWriteList
 
add(E) - Method in class org.apache.felix.resolver.util.CopyOnWriteSet
 

C

chooseGrowCapacity(int, double, double) - Method in class org.apache.felix.resolver.util.OpenHashMap
Chooses a new prime table capacity optimized for growing that (approximately) satisfies the invariant c * minLoadFactor <= size <= c * maxLoadFactor and has at least one FREE slot for the given size.
chooseHighWaterMark(int, double) - Method in class org.apache.felix.resolver.util.OpenHashMap
Returns new high water mark threshold based on current capacity and maxLoadFactor.
chooseLowWaterMark(int, double) - Method in class org.apache.felix.resolver.util.OpenHashMap
Returns new low water mark threshold based on current capacity and minLoadFactor.
chooseShrinkCapacity(int, double, double) - Method in class org.apache.felix.resolver.util.OpenHashMap
Chooses a new prime table capacity optimized for shrinking that (approximately) satisfies the invariant c * minLoadFactor <= size <= c * maxLoadFactor and has at least one FREE slot for the given size.
clear() - Method in class org.apache.felix.resolver.util.OpenHashMap
Removes all (key,value) associations from the receiver.
clone() - Method in class org.apache.felix.resolver.util.OpenHashMap
Returns a deep copy of the receiver.
concat() - Method in class org.apache.felix.resolver.util.OpenHashMap
 
containsKey(Object) - Method in class org.apache.felix.resolver.util.OpenHashMap
Returns true if the receiver contains the specified key.
containsValue(Object) - Method in class org.apache.felix.resolver.util.OpenHashMap
Returns true if the receiver contains the specified value.
CopyOnWriteList<T> - Class in org.apache.felix.resolver.util
 
CopyOnWriteList() - Constructor for class org.apache.felix.resolver.util.CopyOnWriteList
 
CopyOnWriteList(Collection<T>) - Constructor for class org.apache.felix.resolver.util.CopyOnWriteList
 
CopyOnWriteSet<E> - Class in org.apache.felix.resolver.util
 
CopyOnWriteSet() - Constructor for class org.apache.felix.resolver.util.CopyOnWriteSet
 
CopyOnWriteSet(Collection<E>) - Constructor for class org.apache.felix.resolver.util.CopyOnWriteSet
 

D

deepClone() - Method in class org.apache.felix.resolver.util.OpenHashMapList
 
deepClone() - Method in class org.apache.felix.resolver.util.OpenHashMapSet
 
defaultCapacity - Static variable in class org.apache.felix.resolver.util.OpenHashMap
 
defaultMaxLoadFactor - Static variable in class org.apache.felix.resolver.util.OpenHashMap
 
defaultMinLoadFactor - Static variable in class org.apache.felix.resolver.util.OpenHashMap
 
distinct - Variable in class org.apache.felix.resolver.util.OpenHashMap
The number of distinct associations in the map; its "size()".
doLog(int, String, Throwable) - Method in class org.apache.felix.resolver.Logger
 

E

ensureCapacity(int) - Method in class org.apache.felix.resolver.util.OpenHashMap
Ensures that the receiver can hold at least the specified number of associations without needing to allocate new internal memory.
entrySet() - Method in class org.apache.felix.resolver.util.OpenHashMap
Allocate a set to contain Map.Entry objects for the pairs and return it.
equals(Object) - Method in class org.apache.felix.resolver.util.CopyOnWriteSet
 
equals(Object) - Method in class org.apache.felix.resolver.WrappedCapability
 
equals(Object) - Method in class org.apache.felix.resolver.WrappedRequirement
 
equalsMindTheNull(Object, Object) - Static method in class org.apache.felix.resolver.util.OpenHashMap
 

F

FelixResolveContext - Interface in org.apache.felix.resolver
 
findProviders(Requirement) - Method in class org.osgi.service.resolver.ResolveContext
Find Capabilities that match the given Requirement.
FREE - Static variable in class org.apache.felix.resolver.util.OpenHashMap
 
freeEntries - Variable in class org.apache.felix.resolver.util.OpenHashMap
The number of table entries in state==FREE.

G

get(int) - Method in class org.apache.felix.resolver.util.CopyOnWriteList
 
get(Object) - Method in class org.apache.felix.resolver.util.OpenHashMap
Returns the value associated with the specified key.
getAttributes() - Method in class org.apache.felix.resolver.WrappedCapability
 
getAttributes() - Method in class org.apache.felix.resolver.WrappedRequirement
 
getDeclaredCapability() - Method in class org.apache.felix.resolver.WrappedCapability
 
getDeclaredCapability() - Method in interface org.osgi.service.resolver.HostedCapability
Return the Capability hosted by the Resource.
getDeclaredRequirement() - Method in class org.apache.felix.resolver.WrappedRequirement
 
getDirectives() - Method in class org.apache.felix.resolver.WrappedCapability
 
getDirectives() - Method in class org.apache.felix.resolver.WrappedRequirement
 
getDynamicRequirements(List<Requirement>) - Static method in class org.apache.felix.resolver.Util
 
getLogLevel() - Method in class org.apache.felix.resolver.Logger
 
getMandatoryResources() - Method in class org.osgi.service.resolver.ResolveContext
Return the resources that must be resolved for this resolve context.
getNamespace() - Method in class org.apache.felix.resolver.WrappedCapability
 
getNamespace() - Method in class org.apache.felix.resolver.WrappedRequirement
 
getOndemandResources(Resource) - Method in interface org.apache.felix.resolver.FelixResolveContext
Return the resources that the resolver should attempt to resolve on demand for specified resource which is being resolved.
getOptionalResources() - Method in class org.osgi.service.resolver.ResolveContext
Return the resources that the resolver should attempt to resolve for this resolve context.
getOriginal() - Method in class org.apache.felix.resolver.util.ShadowList
 
getResource() - Method in class org.apache.felix.resolver.WrappedCapability
 
getResource() - Method in class org.apache.felix.resolver.WrappedRequirement
 
getResource() - Method in interface org.osgi.service.resolver.HostedCapability
Return the Resource that hosts this Capability.
getSymbolicName(Resource) - Static method in class org.apache.felix.resolver.Util
 
getUnresolvedRequirements() - Method in exception org.osgi.service.resolver.ResolutionException
Return the unresolved requirements, if any, for this exception.
getVersion(Resource) - Static method in class org.apache.felix.resolver.Util
 
getWirings() - Method in class org.osgi.service.resolver.ResolveContext
Returns the wirings for existing resolved resources.

H

hashCode() - Method in class org.apache.felix.resolver.util.CopyOnWriteList
 
hashCode() - Method in class org.apache.felix.resolver.util.CopyOnWriteSet
 
hashCode() - Method in class org.apache.felix.resolver.WrappedCapability
 
hashCode() - Method in class org.apache.felix.resolver.WrappedRequirement
 
highWaterMark - Variable in class org.apache.felix.resolver.util.OpenHashMap
 
HostedCapability - Interface in org.osgi.service.resolver
A capability hosted by a resource.

I

indexOfInsertion(K) - Method in class org.apache.felix.resolver.util.OpenHashMap
 
indexOfKey(K) - Method in class org.apache.felix.resolver.util.OpenHashMap
 
indexOfValue(V) - Method in class org.apache.felix.resolver.util.OpenHashMap
 
insertHostedCapability(List<Capability>, HostedCapability) - Method in class org.osgi.service.resolver.ResolveContext
Add a HostedCapability to the list of capabilities returned from findProviders(Requirement).
isDynamic(Requirement) - Static method in class org.apache.felix.resolver.Util
 
isEffective(Requirement) - Method in class org.osgi.service.resolver.ResolveContext
Test if a given requirement should be wired in the resolve operation.
isFragment(Resource) - Static method in class org.apache.felix.resolver.Util
 
isMultiple(Requirement) - Static method in class org.apache.felix.resolver.Util
 
isOptional(Requirement) - Static method in class org.apache.felix.resolver.Util
 
iterator() - Method in class org.apache.felix.resolver.util.CopyOnWriteSet
 

L

log(int, String) - Method in class org.apache.felix.resolver.Logger
 
log(int, String, Throwable) - Method in class org.apache.felix.resolver.Logger
 
LOG_DEBUG - Static variable in class org.apache.felix.resolver.Logger
 
LOG_ERROR - Static variable in class org.apache.felix.resolver.Logger
 
LOG_INFO - Static variable in class org.apache.felix.resolver.Logger
 
LOG_LEVEL - Static variable in class org.apache.felix.resolver.Activator
 
LOG_WARNING - Static variable in class org.apache.felix.resolver.Logger
 
Logger - Class in org.apache.felix.resolver
This class mimics the standard OSGi LogService interface.
Logger(int) - Constructor for class org.apache.felix.resolver.Logger
 
logUsesConstraintViolation(Resource, ResolutionException) - Method in class org.apache.felix.resolver.Logger
 
lowWaterMark - Variable in class org.apache.felix.resolver.util.OpenHashMap
The table capacity c=table.length always satisfies the invariant c * minLoadFactor <= s <= c * maxLoadFactor, where s=size() is the number of associations currently contained.

M

maxLoadFactor - Variable in class org.apache.felix.resolver.util.OpenHashMap
The maximum load factor for the hashtable.
minLoadFactor - Variable in class org.apache.felix.resolver.util.OpenHashMap
The minimum load factor for the hashtable.

N

nextPrime(int) - Method in class org.apache.felix.resolver.util.OpenHashMap
Returns a prime number which is >= desiredCapacity and very close to desiredCapacity (within 11% if desiredCapacity >= 1000).

O

OpenHashMap<K,V> - Class in org.apache.felix.resolver.util
An open addressing map.
OpenHashMap() - Constructor for class org.apache.felix.resolver.util.OpenHashMap
Constructs an empty map with default capacity and default load factors.
OpenHashMap(int) - Constructor for class org.apache.felix.resolver.util.OpenHashMap
Constructs an empty map with the specified initial capacity and default load factors.
OpenHashMap(int, double, double) - Constructor for class org.apache.felix.resolver.util.OpenHashMap
Constructs an empty map with the specified initial capacity and the specified minimum and maximum load factor.
OpenHashMapList<K,V> - Class in org.apache.felix.resolver.util
 
OpenHashMapList() - Constructor for class org.apache.felix.resolver.util.OpenHashMapList
 
OpenHashMapList(int) - Constructor for class org.apache.felix.resolver.util.OpenHashMapList
 
OpenHashMapList(int, double, double) - Constructor for class org.apache.felix.resolver.util.OpenHashMapList
 
OpenHashMapSet<K,V> - Class in org.apache.felix.resolver.util
 
OpenHashMapSet() - Constructor for class org.apache.felix.resolver.util.OpenHashMapSet
 
OpenHashMapSet(int) - Constructor for class org.apache.felix.resolver.util.OpenHashMapSet
 
OpenHashMapSet(int, double, double) - Constructor for class org.apache.felix.resolver.util.OpenHashMapSet
 
org.apache.felix.resolver - package org.apache.felix.resolver
 
org.apache.felix.resolver.util - package org.apache.felix.resolver.util
 
org.osgi.service.resolver - package org.osgi.service.resolver
Resolver Service Package Version 1.0.

P

put(K, V) - Method in class org.apache.felix.resolver.util.OpenHashMap
Associates the given key with the given value.

R

rehash(int) - Method in class org.apache.felix.resolver.util.OpenHashMap
Rehashes the contents of the receiver into a new table with a smaller or larger capacity.
remove(int) - Method in class org.apache.felix.resolver.util.CopyOnWriteList
 
remove(Object) - Method in class org.apache.felix.resolver.util.OpenHashMap
Removes the given key with its associated element from the receiver, if present.
REMOVED - Static variable in class org.apache.felix.resolver.util.OpenHashMap
 
ResolutionException - Exception in org.osgi.service.resolver
Indicates failure to resolve a set of requirements.
ResolutionException(String, Throwable, Collection<Requirement>) - Constructor for exception org.osgi.service.resolver.ResolutionException
Create a ResolutionException with the specified message, cause and unresolved requirements.
ResolutionException(String) - Constructor for exception org.osgi.service.resolver.ResolutionException
Create a ResolutionException with the specified message.
ResolutionException(Throwable) - Constructor for exception org.osgi.service.resolver.ResolutionException
Create a ResolutionException with the specified cause.
resolve(ResolveContext) - Method in class org.apache.felix.resolver.ResolverImpl
 
resolve(ResolveContext, Resource, Requirement, List<Capability>) - Method in class org.apache.felix.resolver.ResolverImpl
Resolves a dynamic requirement for the specified host resource using the specified ResolveContext.
resolve(ResolveContext) - Method in interface org.osgi.service.resolver.Resolver
Resolve the specified resolve context and return any new resources and wires to the caller.
ResolveContext - Class in org.osgi.service.resolver
A resolve context provides resources, options and constraints to the potential solution of a resolve operation.
ResolveContext() - Constructor for class org.osgi.service.resolver.ResolveContext
 
Resolver - Interface in org.osgi.service.resolver
A resolver service resolves the specified resources in the context supplied by the caller.
ResolverImpl - Class in org.apache.felix.resolver
 
ResolverImpl(Logger) - Constructor for class org.apache.felix.resolver.ResolverImpl
 

S

set(int, T) - Method in class org.apache.felix.resolver.util.CopyOnWriteList
 
setLogLevel(int) - Method in class org.apache.felix.resolver.Logger
 
setUp(int, double, double) - Method in class org.apache.felix.resolver.util.OpenHashMap
Initializes the receiver.
ShadowList<T> - Class in org.apache.felix.resolver.util
 
ShadowList(List<T>) - Constructor for class org.apache.felix.resolver.util.ShadowList
 
size() - Method in class org.apache.felix.resolver.util.CopyOnWriteList
 
size() - Method in class org.apache.felix.resolver.util.CopyOnWriteSet
 
size() - Method in class org.apache.felix.resolver.util.OpenHashMap
Returns the number of (key,value) associations currently contained.
start(BundleContext) - Method in class org.apache.felix.resolver.Activator
 
stop(BundleContext) - Method in class org.apache.felix.resolver.Activator
 

T

table - Variable in class org.apache.felix.resolver.util.OpenHashMap
The hash table keys.
toString() - Method in class org.apache.felix.resolver.WrappedCapability
 
toString() - Method in class org.apache.felix.resolver.WrappedRequirement
 
trimToSize() - Method in class org.apache.felix.resolver.util.OpenHashMap
Trims the capacity of the receiver to be the receiver's current size.

U

Util - Class in org.apache.felix.resolver
 
Util() - Constructor for class org.apache.felix.resolver.Util
 

V

values - Variable in class org.apache.felix.resolver.util.OpenHashMap
The hash table values.

W

WrappedCapability - Class in org.apache.felix.resolver
 
WrappedCapability(Resource, Capability) - Constructor for class org.apache.felix.resolver.WrappedCapability
 
WrappedRequirement - Class in org.apache.felix.resolver
 
WrappedRequirement(Resource, Requirement) - Constructor for class org.apache.felix.resolver.WrappedRequirement
 
A C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2006–2015 The Apache Software Foundation. All rights reserved.