org.jboss.remoting
Class EndpointPermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by 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

Constructor Summary
EndpointPermission(String name)
          Creates a new EndpointPermission object with the specified name.
EndpointPermission(String name, String actions)
          Creates a new EndpointPermission object with the specified name.
 
Method Summary
 
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.