Improved build.xml
[vimdoclet.git] / sample / java.util.logging.LoggingPermission.txt
blobc3556a160020bb40693cd5a2c6d8786e95de5859
1 *java.util.logging.LoggingPermission* *LoggingPermission* The permission which t
3 public final class LoggingPermission
4   extends    |java.security.BasicPermission|
6 |java.util.logging.LoggingPermission_Description|
7 |java.util.logging.LoggingPermission_Fields|
8 |java.util.logging.LoggingPermission_Constructors|
9 |java.util.logging.LoggingPermission_Methods|
11 ================================================================================
13 *java.util.logging.LoggingPermission_Constructors*
14 |java.util.logging.LoggingPermission(String,String)|Creates a new LoggingPermis
16 *java.util.logging.LoggingPermission_Description*
18 The permission which the SecurityManager will check when code that is running 
19 with a SecurityManager calls one of the logging control methods (such as 
20 Logger.setLevel). 
22 Currently there is only one named LoggingPermission. This is "control" and it 
23 grants the ability to control the logging configuration, for example by adding 
24 or removing Handlers, by adding or removing Filters, or by changing logging 
25 levels. 
27 Programmers do not normally create LoggingPermission objects directly. Instead 
28 they are created by the security policy code based on reading the security 
29 policy file. 
32 *java.util.logging.LoggingPermission(String,String)*
34 public LoggingPermission(
35   java.lang.String name,
36   java.lang.String actions)
37   throws |java.lang.IllegalArgumentException|
38          
39 Creates a new LoggingPermission object. 
41     name - Permission name. Must be "control". 
42     actions - Must be either null or the empty string.