OSGI_EE_NAMESPACE, PROPS| Constructor and Description |
|---|
UserState() |
| Modifier and Type | Method and Description |
|---|---|
StateDelta |
compare(State baseState)
Returns a delta describing the differences between this state and the
given state.
|
boolean |
removeBundle(BundleDescription description)
Removes the given bundle description.
|
boolean |
updateBundle(BundleDescription newDescription)
Updates an existing bundle description with the given description.
|
addBundle, addDisabledInfo, addDynamicImportPackages, addResolverError, dynamicCacheChanged, fullyLoad, getBundle, getBundle, getBundleByLocation, getBundles, getBundles, getChanges, getDependencyClosure, getDisabledBundles, getDisabledInfo, getDisabledInfos, getExportedPackages, getFactory, getHighestBundleId, getPlatformProperties, getRemovalPending, getResolvedBundles, getResolver, getResolverErrors, getResolverHook, getStateHelper, getSystemBundle, getSystemPackages, getTimeStamp, isEmpty, isResolved, linkDynamicImport, removeBundle, removeBundleComplete, removeDisabledInfo, removeResolverErrors, resolve, resolve, resolve, resolve, resolveBundle, resolveBundle, resolveBundle, resolveConstraint, setNativePathsInvalid, setOverrides, setPlatformProperties, setPlatformProperties, setResolver, setResolverHookFactory, setTimeStamp, unloadLazyDatapublic boolean removeBundle(BundleDescription description)
StateremoveBundle in interface StateremoveBundle in class StateImpldescription - the bundle description to be removedtrue, if if the bundle description was removed,
false otherwisepublic boolean updateBundle(BundleDescription newDescription)
StateupdateBundle in interface StateupdateBundle in class StateImplnewDescription - the bundle description to replace an existing onetrue, if if the bundle description was updated,
false otherwisepublic StateDelta compare(State baseState) throws BundleException
StateNote that the generated StateDelta will contain BundleDeltas with one of the following types: BundleDelta.ADDED, BundleDelta.REMOVED and BundleDelta.UPDATED
baseState - the base stateBundleExceptionCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.