com.sun.jini.tool.envcheck.plugins
Class CheckPolicy.AllPermissionsTask
java.lang.Object
com.sun.jini.tool.envcheck.plugins.CheckPolicy.AllPermissionsTask
- All Implemented Interfaces:
- SubVMTask
- Enclosing class:
- CheckPolicy
public static class CheckPolicy.AllPermissionsTask
- extends Object
- implements SubVMTask
Task the check the policy in a child VM.
Method Summary |
Object |
run(String[] args)
Perform the syntax check and the AllPermission check |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckPolicy.AllPermissionsTask
public CheckPolicy.AllPermissionsTask()
run
public Object run(String[] args)
- Perform the syntax check and the
AllPermission
check
- Specified by:
run
in interface SubVMTask
- Returns:
- a
String
containing the error message if there
was a syntax error in the policy file, a
Throwable
if an unexpected exception is
thrown, a Boolean(true)
if
AllPermission
is granted, or a
Boolean(false)
if not granted.
Copyright © GigaSpaces.