PermissionFactory
public final class ModularPermissionFactory extends Object implements PermissionFactory
Constructor | Description |
---|---|
ModularPermissionFactory(ModuleLoader moduleLoader,
String moduleName,
String className,
String targetName,
String permissionActions) |
Construct a new instance.
|
ModularPermissionFactory(ModuleLoader moduleLoader,
ModuleIdentifier moduleIdentifier,
String className,
String targetName,
String permissionActions) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
Permission |
construct() |
Construct a new instance of the permission.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
constructFromClass
@Deprecated public ModularPermissionFactory(ModuleLoader moduleLoader, ModuleIdentifier moduleIdentifier, String className, String targetName, 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, String moduleName, String className, String targetName, 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 Permission construct()
PermissionFactory
construct
in interface PermissionFactory
Copyright © 2022 JBoss by Red Hat. All rights reserved.