PermissionFactorypublic final class ModularPermissionFactory extends java.lang.Object implements PermissionFactory
| Constructor | Description |
|---|---|
ModularPermissionFactory(ModuleLoader moduleLoader,
java.lang.String moduleName,
java.lang.String className,
java.lang.String targetName,
java.lang.String permissionActions) |
Construct a new instance.
|
ModularPermissionFactory(ModuleLoader moduleLoader,
ModuleIdentifier moduleIdentifier,
java.lang.String className,
java.lang.String targetName,
java.lang.String permissionActions) |
Deprecated.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.security.Permission |
construct() |
Construct a new instance of the permission.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconstructFromClass@Deprecated public ModularPermissionFactory(ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, java.lang.String className, java.lang.String targetName, java.lang.String permissionActions)
ModularPermissionFactory(ModuleLoader, String, String, String, String) instead.moduleLoader - the module loader from which the module is to be loadedmoduleIdentifier - the module identifier from which the permission is to be loadedclassName - the name of the permission classtargetName - the name to pass to the permission class constructor or null for nonepermissionActions - the action list to pass to the permission class constructor or null for nonepublic ModularPermissionFactory(ModuleLoader moduleLoader, java.lang.String moduleName, java.lang.String className, java.lang.String targetName, java.lang.String permissionActions)
moduleLoader - the module loader from which the module is to be loadedmoduleName - the module name from which the permission is to be loadedclassName - the name of the permission classtargetName - the name to pass to the permission class constructor or null for nonepermissionActions - the action list to pass to the permission class constructor or null for nonepublic java.security.Permission construct()
PermissionFactoryconstruct in interface PermissionFactoryCopyright © 2022 JBoss by Red Hat. All rights reserved.