PermissionFactory
public final class LoadedPermissionFactory extends java.lang.Object implements PermissionFactory
Constructor | Description |
---|---|
LoadedPermissionFactory(java.lang.ClassLoader classLoader,
java.lang.String className,
java.lang.String targetName,
java.lang.String permissionActions) |
Construct a new instance.
|
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, wait
constructFromClass
public LoadedPermissionFactory(java.lang.ClassLoader classLoader, java.lang.String className, java.lang.String targetName, java.lang.String permissionActions)
classLoader
- the class loader from which the permission should 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()
PermissionFactory
construct
in interface PermissionFactory
Copyright © 2022 JBoss by Red Hat. All rights reserved.