Package org.jboss.modules.security
Class ImmediatePermissionFactory
- java.lang.Object
-
- org.jboss.modules.security.ImmediatePermissionFactory
-
- All Implemented Interfaces:
PermissionFactory
public final class ImmediatePermissionFactory extends java.lang.Object implements PermissionFactory
A permission factory which simply holds a permission object.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description ImmediatePermissionFactory(java.security.Permission permission)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.security.Permission
construct()
Construct a new instance of the permission.
-
-
-
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 interfacePermissionFactory
- Returns:
- the permission
-
-