org.jboss.remoting
Class EndpointPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
org.jboss.remoting.EndpointPermission
- All Implemented Interfaces:
- Serializable, Guard
public class EndpointPermission
- extends BasicPermission
This class is for permissions relating to Remoting endpoints.
- See Also:
- Serialized Form
EndpointPermission
public EndpointPermission(String name)
throws NullPointerException,
IllegalArgumentException
- Creates a new
EndpointPermission
object with the specified name.
The name is the symbolic name of the EndpointPermission
.
- Parameters:
name
- the name of the EndpointPermission
- Throws:
NullPointerException
- if name
is null
IllegalArgumentException
- if name
is empty
EndpointPermission
public EndpointPermission(String name,
String actions)
throws NullPointerException,
IllegalArgumentException
- Creates a new
EndpointPermission
object with the specified name.
The name is the symbolic name of the EndpointPermission
, and the
actions string is currently unused.
- Parameters:
name
- the name of the EndpointPermission
actions
- ignored
- Throws:
NullPointerException
- if name
is null
IllegalArgumentException
- if name
is empty
Copyright © 2008 JBoss, a division of Red Hat, Inc.