java.lang.Object
org.jboss.modules.security.ImmediatePermissionFactory
- All Implemented Interfaces:
PermissionFactory
A permission factory which simply holds a permission object.
- Author:
- David M. Lloyd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConstruct a new instance of the permission.
-
Constructor Details
-
ImmediatePermissionFactory
Construct a new instance.- Parameters:
permission
- the permission to return
-
-
Method Details
-
construct
Description copied from interface:PermissionFactory
Construct a new instance of the permission. The instance may be cached.- Specified by:
construct
in interfacePermissionFactory
- Returns:
- the permission
-