org.osgi.service.condpermadmin

Interface ConditionalPermissionInfo

public interface ConditionalPermissionInfo

A binding of a set of Conditions to a set of Permissions. Instances of this interface are obtained from the Conditional Permission Admin service.

Version: $Revision: 1.11 $

Method Summary
voiddelete()
Removes this Conditional Permission Info from the Conditional Permission Admin.
ConditionInfo[]getConditionInfos()
Returns the Condition Infos for the Conditions that must be satisfied to enable the Permissions.
StringgetName()
Returns the name of this Conditional Permission Info.
PermissionInfo[]getPermissionInfos()
Returns the Permission Infos for the Permission in this Conditional Permission Info.

Method Detail

delete

public void delete()
Removes this Conditional Permission Info from the Conditional Permission Admin.

Throws: SecurityException If the caller does not have AllPermission.

getConditionInfos

public ConditionInfo[] getConditionInfos()
Returns the Condition Infos for the Conditions that must be satisfied to enable the Permissions.

Returns: The Condition Infos for the Conditions in this Conditional Permission Info.

getName

public String getName()
Returns the name of this Conditional Permission Info.

Returns: The name of this Conditional Permission Info.

getPermissionInfos

public PermissionInfo[] getPermissionInfos()
Returns the Permission Infos for the Permission in this Conditional Permission Info.

Returns: The Permission Infos for the Permission in this Conditional Permission Info.