ImmediatePermissionFactory, LoadedPermissionFactory, ModularPermissionFactorypublic interface PermissionFactory
Permission objects.| Modifier and Type | Method | Description | 
|---|---|---|
java.security.Permission | 
construct() | 
 Construct a new instance of the permission. 
 | 
static java.security.Permission | 
constructFromClass(java.lang.Class<? extends java.security.Permission> permissionClass,
                  java.lang.String targetName,
                  java.lang.String permissionActions) | 
 Utility method to reflectively construct a permission from a given class. 
 | 
java.security.Permission construct()
static java.security.Permission constructFromClass(java.lang.Class<? extends java.security.Permission> permissionClass,
                                                   java.lang.String targetName,
                                                   java.lang.String permissionActions)
                                            throws java.lang.IllegalAccessException,
                                                   java.lang.reflect.InvocationTargetException,
                                                   java.lang.InstantiationException,
                                                   java.lang.NoSuchMethodException
permissionClass - the permission classtargetName - the optional target namepermissionActions - the optional actions namejava.lang.IllegalAccessException - if the necessary constructor is not accessiblejava.lang.reflect.InvocationTargetException - if the constructor failedjava.lang.InstantiationException - if the object could not be instantiated for some reasonjava.lang.NoSuchMethodException - if none of the candidate constructors exist on the classCopyright © 2022 JBoss by Red Hat. All rights reserved.