I am having a doubt regarding the Conditional Permissions!
1. What is the set of Basic permissions assigned to a bundle at the time of its installation?
2. Is there any way to find the set of actual permissions assigned to the bundle or to be assigned to the bundle from the ConditionalPermissionAdmin? getConditionalPermissionInfos() enumerates the complete list. is there any way to retrieve the permissions related to a specific bundle?
3. What happens when a permission is set in one tuple and revoked in another tuple?
Say for example, there is a tuple { [BundleLocationCondition "*mylocation*"] (ServicePermission "....MyClass" "*") }
and there is also another tuple { [BundleLocationCondition "*mylocation*"] (ServicePermission "....MyClass" "GET") }
According to the first tuple, the bundles satisfying the locationcondition should be allowed to get and register services of type MyClass. But according to the second tuple, bundles satisfyingt he condition shouldnot be allowed to register a service of type MyClass. What is the actual permissions for the bundle that satisfies the given locationcondition in this case?
Cheers
Joe
--
----------------
* Believing in yourself is an endless destination;
But, believing your have failed is the end of the journey.
* A pound a fret cant pay an ounce a debt.
_______________________________________________ osgi-dev mailing list osgi-dev@bundles.osgi.org http://bundles.osgi.org/mailman/listinfo/osgi-dev