java.util.logging
Class LoggingPermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by java.util.logging.LoggingPermission
All Implemented Interfaces:
Serializable, Guard

public final class LoggingPermission
extends BasicPermission

See Also:
Serialized Form

Constructor Summary
LoggingPermission(String name, String actions)
          Creates a new LoggingPermission.
 
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

LoggingPermission

public LoggingPermission(String name,
                         String actions)
Creates a new LoggingPermission.

Parameters:
name - the name of the permission, which must be "control".
actions - the list of actions for the permission, which must be either null or an empty string.
Throws:
IllegalArgumentException - if name is not "control", or actions is neither null nor empty.