public final class LocalPermissions extends Object
Constructor and Description |
---|
LocalPermissions(Permissions permissions) |
Modifier and Type | Method and Description |
---|---|
boolean |
implies(org.apache.felix.framework.cache.Content content,
org.osgi.framework.Bundle bundle,
Permission permission)
Return true in case that the given permission is implied by the local
permissions of the given bundle or if there are none otherwise, false.
|
public LocalPermissions(Permissions permissions) throws IOException
IOException
public boolean implies(org.apache.felix.framework.cache.Content content, org.osgi.framework.Bundle bundle, Permission permission)
root
- the root to use for cacheing as a keyloader
- the loader to get the content of the bundle frombundle
- the bundle in quesitonpermission
- the permission to checkCopyright © 2006–2018 The Apache Software Foundation. All rights reserved.