Hi

I have question on ServicePermission.

I definetely say that ServicePermision("com.acme.*","get")  implies
ServicePermission("com.acme.Service","get").

------------------
However, how about the following cases ?

Q1. Should ServicePermision("com.*","get")  implies
ServicePermission("com.acme.Service","get") ?

Q2. Should ServicePermision("*","get")  implies
ServicePermission("com.acme.Service","get") ?

------------------
R4.2 spec says 

The name of the service is specified as a fully qualified class name.
        ClassName ::= <class name> | <class name ending in “.*”>

Examples:
        org.osgi.service.http.HttpService
        org.osgi.service.http.*
        org.osgi.service.snmp.*

Regarding Q1, There is no example of "org.osgi.*" in the spec.

Regarding Q2, the spec says "<class name ending in “.*”>".

Best regards,

=======
Ikuo YAMASAKI


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to