Class ModularPermissionFactory

    • Constructor Detail

      • ModularPermissionFactory

        @Deprecated
        public ModularPermissionFactory​(ModuleLoader moduleLoader,
                                        ModuleIdentifier moduleIdentifier,
                                        java.lang.String className,
                                        java.lang.String targetName,
                                        java.lang.String permissionActions)
        Construct a new instance.
        Parameters:
        moduleLoader - the module loader from which the module is to be loaded
        moduleIdentifier - the module identifier from which the permission is to be loaded
        className - the name of the permission class
        targetName - the name to pass to the permission class constructor or null for none
        permissionActions - the action list to pass to the permission class constructor or null for none
      • ModularPermissionFactory

        public ModularPermissionFactory​(ModuleLoader moduleLoader,
                                        java.lang.String moduleName,
                                        java.lang.String className,
                                        java.lang.String targetName,
                                        java.lang.String permissionActions)
        Construct a new instance.
        Parameters:
        moduleLoader - the module loader from which the module is to be loaded
        moduleName - the module name from which the permission is to be loaded
        className - the name of the permission class
        targetName - the name to pass to the permission class constructor or null for none
        permissionActions - the action list to pass to the permission class constructor or null for none
    • Method Detail

      • construct

        public java.security.Permission construct()
        Description copied from interface: PermissionFactory
        Construct a new instance of the permission. The instance may be cached.
        Specified by:
        construct in interface PermissionFactory
        Returns:
        the permission