public class BndrunResolveContext extends AbstractResolveContext
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROP_RESOLVE_PREFERENCES |
static java.lang.String |
RUN_EFFECTIVE_INSTRUCTION |
CONTRACT_OSGI_FRAMEWORK, IDENTITY_INITIAL_RESOURCE, IDENTITY_SYSTEM_RESOURCE, log| Constructor and Description |
|---|
BndrunResolveContext(BndEditModel runModel,
Registry registry,
LogService log)
Deprecated.
|
BndrunResolveContext(Processor runModel,
Project project,
Registry registry,
LogService log)
The preferred constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Initializes the resolver.
|
boolean |
isSystemResource(Resource resource) |
void |
loadPath(ResourceBuilder system,
java.lang.String path,
java.lang.String what)
Add a path to the system resource.
|
protected void |
postProcessProviders(Requirement requirement,
java.util.Set<Capability> wired,
java.util.List<Capability> candidates) |
addCallbacks, addEffectiveDirective, addEffectiveDirective, addEffectiveSet, addRepository, addResolverHook, addSystemResource, createBundleRequirement, createIdentityRequirement, createPackageCapability, createRepository, findFrameworkContractCapability, findProviders, findProviders, findProvidersFromRepositories, getBlackList, getCallbacks, getEffectiveSet, getFailed, getFramework, getHighestResource, getIdentityCapability, getInputResource, getLevel, getMandatoryResources, getRepositories, getResourceIdentity, getResources, getResources, getResourceVersion, getSystemResource, getWirings, insertHostedCapability, isEffective, isInputResource, processMandatoryResource, resourceIdentityEquals, setBlackList, setFramework, setInputRequirements, setInputResource, setLevel, setOptionalRoots, setSystemResource, toVersionpublic static final java.lang.String RUN_EFFECTIVE_INSTRUCTION
public static final java.lang.String PROP_RESOLVE_PREFERENCES
@Deprecated
public BndrunResolveContext(BndEditModel runModel,
Registry registry,
LogService log)
runModel - The edit modelregistry - The bnd registrylog - public BndrunResolveContext(Processor runModel,
Project project,
Registry registry,
LogService log)
runModel - The model (its properties)project - The project to access bundlesregistry - the registrylog - public void init()
init in class AbstractResolveContextpublic void loadPath(ResourceBuilder system,
java.lang.String path,
java.lang.String what)
throws java.lang.Exception
loadPath in class AbstractResolveContextjava.io.IOExceptionjava.lang.Exceptionpublic boolean isSystemResource(Resource resource)
isSystemResource in class AbstractResolveContextprotected void postProcessProviders(Requirement requirement,
java.util.Set<Capability> wired,
java.util.List<Capability> candidates)
postProcessProviders in class AbstractResolveContextData In Motion GmbH all rights reserved