| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | ModularProtectionDomain(final CodeSource
the code source of the protection domain (must not be codeSource, final PermissionCollection null)the permission collection (must not be permissions, final ModuleClassLoader null)the module class loader (must not be moduleClassLoader, boolean null)true if the protection domain should be dynamic, false otherwiseConstruct a new instance. |
| public | ModularProtectionDomain(final CodeSource
the code source of the protection domain (must not be codeSource, final PermissionCollection null)the permission collection (must not be permissions, final ModuleClassLoader null)the module class loader (must not be moduleClassLoader)null)Construct a new, static instance. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the permission is implied, false otherwise.the permission to check (must not be permission)null)Overrides java. |
| public String | Returns: the string representation (notnull)Overrides java. |
| dynamic | back to summary |
|---|---|
| private final boolean dynamic | |
| ModularProtectionDomain | back to summary |
|---|---|
| public ModularProtectionDomain(final CodeSource codeSource, final PermissionCollection permissions, final ModuleClassLoader moduleClassLoader, boolean dynamic) Construct a new instance. The
| |
| ModularProtectionDomain | back to summary |
|---|---|
| public ModularProtectionDomain(final CodeSource codeSource, final PermissionCollection permissions, final ModuleClassLoader moduleClassLoader) Construct a new, static instance. Only the specified permission collection is consulted for permission checks.
| |
| implies | back to summary |
|---|---|
| public boolean implies(final Permission permission) Overrides java. Determine if the permission collection of this protection domain implies the given permission. This is
just a shortcut for calling
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Get a string representation of this protection domain.
| |