Build 1.0_r1(from source)

java.io
Class SerializablePermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by java.io.SerializablePermission
All Implemented Interfaces:
Serializable, Guard

public final class SerializablePermission
extends BasicPermission

SerializablePermission objects represent permission to access unsafe serialization operations. The name of the permission should be one of:

enableSubclassImplementation
Subclasses can override serialization behavior
enableSubstitution
Object substitution can be enabled

See Also:
ObjectStreamConstants, Serialized Form

Constructor Summary
SerializablePermission(String permissionName)
          Creates an instance of this class with the given name.
SerializablePermission(String name, String actions)
          Creates an instance of this class with the given name and action list.
 
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

SerializablePermission

public SerializablePermission(String permissionName)
Creates an instance of this class with the given name.

Parameters:
permissionName - the name of the new permission.

SerializablePermission

public SerializablePermission(String name,
                              String actions)
Creates an instance of this class with the given name and action list. The action list is ignored.

Parameters:
name - the name of the new permission.
actions - ignored.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature