Top Description Fields Constructors Methods
org.glassfish.pfl.basic.proxy

public final Class DynamicAccessPermission

extends BasicPermission
Class Inheritance
Imports
java.security.BasicPermission

This class controls the use of dynamic proxies. A DynamicAccessPermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
DynamicAccessPermission(String
the name of the DynamicAccessPermission.
name
)

Creates a new DynamicAccessPermission with the specified name.

public
DynamicAccessPermission(String
the name of the DynamicAccessPermission.
name
,
String
should be null.
actions
)

Creates a new DynamicAccessPermission object with the specified name.

Method Summary

Inherited from java.security.BasicPermission:
equalsgetActionshashCodeimpliesnewPermissionCollection

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.security.BasicPermission.serialVersionUID.

Constructor Detail

DynamicAccessPermissionback to summary
public DynamicAccessPermission(String name)

Creates a new DynamicAccessPermission with the specified name.

Parameters
name:String

the name of the DynamicAccessPermission.

DynamicAccessPermissionback to summary
public DynamicAccessPermission(String name, String actions)

Creates a new DynamicAccessPermission object with the specified name. The name is the symbolic name of the DynamicAccessPermission, and the actions String is currently unused and should be null.

Parameters
name:String

the name of the DynamicAccessPermission.

actions:String

should be null.