JBoss Remoting 3 3.2.13.GA-redhat-1

org.jboss.remoting3.security
Class RemotingPermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by org.jboss.remoting3.security.RemotingPermission
All Implemented Interfaces:
Serializable, Guard

public class RemotingPermission
extends BasicPermission

This class is for permissions relating to Remoting endpoints.

See Also:
Serialized Form

Constructor Summary
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.
 
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

RemotingPermission

public RemotingPermission(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

RemotingPermission

public RemotingPermission(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

JBoss Remoting 3 3.2.13.GA-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.