GigaSpaces XAP 9.0 API

net.jini.export
Class ExportPermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by net.jini.export.ExportPermission
All Implemented Interfaces:
Serializable, Guard

public final class ExportPermission
extends BasicPermission

Defines runtime permissions for Exporter implementations. An instance contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't. An asterisk may appear at the end of the name, following a ".", or by itself, to signify a wildcard match.

The possible target names are:

Permission Target Name What the Permission Allows Risks of Allowing this Permission
exportRemoteInterface.interfaceName obtaining Method objects that have their accessibility flags set to suppress language access checks, for methods of the indicated non-public remote interface interfaceName (given as a fully qualified class name) The caller can invoke methods of a non-public remote interface.

Since:
2.0
Author:
Sun Microsystems, Inc.
See Also:
Serialized Form

Constructor Summary
ExportPermission(String name)
          Creates an instance with the specified name.
ExportPermission(String name, String actions)
          Creates an instance 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

ExportPermission

public ExportPermission(String name)
Creates an instance with the specified name.

Parameters:
name - the target name

ExportPermission

public ExportPermission(String name,
                        String actions)
Creates an instance with the specified name. The actions parameter is ignored.

Parameters:
name - the target name
actions - ignored

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.