|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.security.Permission | +--java.security.BasicPermission | +--com.sun.jaw.reference.common.JawStaticMethodPermission
This class is for public static methods permissions. A JawStaticMethodPermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.
The target name is the name a class which contains public static methods that require this permission.
The following table lists all the possible JawStaticMethodPermission target names and for each provides the list of methods to which access is granted by the permission.
Target Name | Grants Access to Methods |
---|---|
getLevel() getLog() isLevelSet(int atLevel) parseDebugProperties() print(Object arg) print(boolean condition, Object arg) print(int atLevel, Object arg) printException(Exception e) printFormatted(Object arg) println(Object arg) println(boolean condition, Object arg) println(int atLevel, Object arg) setDefault(boolean mode) setLevel(int l) setLog(PrintWriter l) setOff(int forLevel) setOffAll() setOn(int forLevel) setOnAll() |
|
loadClass(String className) loadClassWithout(ClassLoader aloader,String className) removeClassLoader(ClassLoader aloader) |
|
setInstallDir(String dirname) setTmpDir(String dirname) setVarDir(String dirname) |
Constructor Summary | |
JawStaticMethodPermission(java.lang.String name)
Creates a new JawStaticMethodPermission with the specified name. |
|
JawStaticMethodPermission(java.lang.String name,
java.lang.String actions)
Creates a new JawStaticMethodPermission object with the specified name. |
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 |
public JawStaticMethodPermission(java.lang.String name)
name
- the name of the JawStaticMethodPermission.public JawStaticMethodPermission(java.lang.String name, java.lang.String actions)
Policy
object
to instantiate new Permission objects.name
- the name of the JawStaticMethodPermission.actions
- should be null.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |