public final class LocalPermissions
extends java.lang.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,
java.security.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 java.io.IOException
java.io.IOException
public boolean implies(org.apache.felix.framework.cache.Content content, org.osgi.framework.Bundle bundle, java.security.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-2014 The Apache Software Foundation. All Rights Reserved.