Package | Description |
---|---|
org.osgi.service.condpermadmin |
Conditional Permission Admin Package Version 1.1.
|
org.osgi.service.permissionadmin |
Permission Admin Package Version 1.2.
|
Modifier and Type | Method and Description |
---|---|
PermissionInfo[] |
ConditionalPermissionInfo.getPermissionInfos()
Returns the Permission Infos for the Permissions in this Conditional
Permission Info.
|
Modifier and Type | Method and Description |
---|---|
ConditionalPermissionInfo |
ConditionalPermissionAdmin.addConditionalPermissionInfo(ConditionInfo[] conditions,
PermissionInfo[] permissions)
Deprecated.
As of 1.1. Use
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead. |
ConditionalPermissionInfo |
ConditionalPermissionAdmin.newConditionalPermissionInfo(java.lang.String name,
ConditionInfo[] conditions,
PermissionInfo[] permissions,
java.lang.String access)
Creates a new ConditionalPermissionInfo with the specified fields
suitable for insertion into a
ConditionalPermissionUpdate . |
ConditionalPermissionInfo |
ConditionalPermissionAdmin.setConditionalPermissionInfo(java.lang.String name,
ConditionInfo[] conditions,
PermissionInfo[] permissions)
Deprecated.
As of 1.1. Use
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead. |
Modifier and Type | Method and Description |
---|---|
PermissionInfo[] |
PermissionAdmin.getDefaultPermissions()
Gets the default permissions.
|
PermissionInfo[] |
PermissionAdmin.getPermissions(java.lang.String location)
Gets the permissions assigned to the bundle with the specified location.
|
Modifier and Type | Method and Description |
---|---|
void |
PermissionAdmin.setDefaultPermissions(PermissionInfo[] permissions)
Sets the default permissions.
|
void |
PermissionAdmin.setPermissions(java.lang.String location,
PermissionInfo[] permissions)
Assigns the specified permissions to the bundle with the specified
location.
|
Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0