| java.lang.Object java.lang.SecurityManager EDU.purdue.cs.bloat.benchmark.BenchmarkSecurityManager
BenchmarkSecurityManager | public class BenchmarkSecurityManager extends SecurityManager (Code) | | The BenchmarkSecurityManager allows us to execute a "main" method
multiple times without the virtual machine exiting. If exit is not allowed,
the checkExit method will throw a SecurityException
that can be caught, thus allowing execution to continue.
See Also: Shade See Also: Stats |
allowExit | boolean allowExit(Code) | | |
checkAccept | public void checkAccept(String host, int port)(Code) | | |
checkConnect | public void checkConnect(String host, int port)(Code) | | |
checkCreateClassLoader | public void checkCreateClassLoader()(Code) | | |
checkExit | public void checkExit(int status)(Code) | | A SecurityException is thrown if we do not allow the virtual
machine to exit.
|
checkListen | public void checkListen(int port)(Code) | | |
checkPackageAccess | public void checkPackageAccess(String pkg)(Code) | | |
checkPackageDefinition | public void checkPackageDefinition(String pkg)(Code) | | |
checkPropertiesAccess | public void checkPropertiesAccess()(Code) | | |
checkPropertyAccess | public void checkPropertyAccess(String key)(Code) | | |
checkRead | public void checkRead(FileDescriptor fd)(Code) | | |
checkSetFactory | public void checkSetFactory()(Code) | | |
checkTopLevelWindow | public boolean checkTopLevelWindow(Object window)(Code) | | |
checkWrite | public void checkWrite(FileDescriptor fd)(Code) | | |
Fields inherited from java.lang.SecurityManager | protected boolean inCheck(Code)(Java Doc)
|
|
|