public class RemotingPermission
extends java.security.BasicPermission
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
| Constructor and Description |
|---|
RemotingPermission(java.lang.String name)
Creates a new
EndpointPermission object with the specified name. |
RemotingPermission(java.lang.String name,
java.lang.String actions)
Creates a new
EndpointPermission object with the specified name. |
private static final long serialVersionUID
public RemotingPermission(java.lang.String name)
throws java.lang.NullPointerException,
java.lang.IllegalArgumentException
EndpointPermission object with the specified name.
The name is the symbolic name of the EndpointPermission.name - the name of the EndpointPermissionjava.lang.NullPointerException - if name is nulljava.lang.IllegalArgumentException - if name is emptypublic RemotingPermission(java.lang.String name,
java.lang.String actions)
throws java.lang.NullPointerException,
java.lang.IllegalArgumentException
EndpointPermission object with the specified name.
The name is the symbolic name of the EndpointPermission, and the
actions string is currently unused.name - the name of the EndpointPermissionactions - ignoredjava.lang.NullPointerException - if name is nulljava.lang.IllegalArgumentException - if name is empty