public class RemotingPermission extends BasicPermission
Constructor and Description |
---|
RemotingPermission(String name)
Creates a new
EndpointPermission object with the specified name. |
RemotingPermission(String name,
String actions)
Creates a new
EndpointPermission object with the specified name. |
equals, getActions, hashCode, implies, newPermissionCollection
checkGuard, getName, toString
public RemotingPermission(String name) throws NullPointerException, IllegalArgumentException
EndpointPermission
object with the specified name.
The name is the symbolic name of the EndpointPermission
.name
- the name of the EndpointPermission
NullPointerException
- if name
is null
IllegalArgumentException
- if name
is emptypublic RemotingPermission(String name, String actions) throws NullPointerException, 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 EndpointPermission
actions
- ignoredNullPointerException
- if name
is null
IllegalArgumentException
- if name
is emptyCopyright © 2018 JBoss by Red Hat. All rights reserved.