|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.knopflerfish.framework.permissions.PermissionsHandle
public class PermissionsHandle
Constructor Summary | |
---|---|
PermissionsHandle(Framework fw)
|
Method Summary | |
---|---|
java.security.PermissionCollection |
createPermissionCollection(java.lang.String loc,
Bundle b,
java.io.InputStream localPerms)
Create the permissionCollection assigned to the bundle. |
ConditionalPermissionAdminImpl |
getConditionalPermissionAdminService()
Get ConditionalPermissionAdmin service. |
PermissionAdminImpl |
getPermissionAdminService()
Get PermissionAdmin service. |
java.security.PermissionCollection |
getPermissionCollection(java.lang.Long bid)
Gets the permissionCollection assigned to the bundle with the specified id. |
boolean |
purgePermissionCollection(java.lang.Long bid,
java.security.PermissionCollection pc)
Remove cached information about specified bundle. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PermissionsHandle(Framework fw)
Method Detail |
---|
public PermissionAdminImpl getPermissionAdminService()
public ConditionalPermissionAdminImpl getConditionalPermissionAdminService()
public java.security.PermissionCollection getPermissionCollection(java.lang.Long bid)
bid
- The bundle id whose permissions are to be returned.
public java.security.PermissionCollection createPermissionCollection(java.lang.String loc, Bundle b, java.io.InputStream localPerms)
loc
- Location of bundle whose permissions are to be created.b
- Bundle whose permissions are to be created.localPerms
- New local permissions for the bundle.
public boolean purgePermissionCollection(java.lang.Long bid, java.security.PermissionCollection pc)
bid
- Bundle ID for bundle to be purged.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |