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