Permission representation used by the Permission Admin service.
This class encapsulates three pieces of information: a Permission type (class name), which must be a subclass of java.security.Permission
, and the name and actions arguments passed to its constructor.
In order for a permission represented by a PermissionInfo
to be instantiated and considered during a permission check, its Permission class must be available from the system classpath or an exported package. This means that the instantiation of a permission represented by a PermissionInfo
may be delayed until the package containing its Permission class has been exported by a bundle.
@Immutable
@version $Revision: 219 $