PackagePermission
Syntax
public final class PackagePermission extends java.security.BasicPermission
java.lang.Object
|
+--java.security.Permission
|
+--java.security.BasicPermission
|
+--org.osgi.framework.PackagePermission
All Implemented Interfaces: java.security.Guard, java.io.Serializable
Description
PackagePermission indicates a bundle's right to import or export a package. A package is a dot-separated string that defines a fully qualified Java package, e.g., org.osgi.service.http.
PackagePermission has two actions: “export” and “import.” The export action also implies the import action.
Member Summary | |
---|---|
Fields | |
public static final | EXPORT |
The action string “export.” | |
public static final | IMPORT |
The action string “import.” | |
Constructors | |
public | PackagePermission(String, ... |
Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.