|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.SecurityManager
org.apache.jorphan.util.ClassContext
public final class ClassContext
Class to get access to the protected getClassContext() method of SecurityManager, thus obtaining the call stack. May not work with applications that install their own security managers.
Field Summary |
---|
Fields inherited from class java.lang.SecurityManager |
---|
inCheck |
Method Summary | |
---|---|
static java.lang.String |
getCallerClassNameAt(int i)
Get the name of the class at a particular stack depth i=0 gives this class |
static java.lang.Class[] |
getMyClassContext()
Gets the calling context as an array of classes Class[0] is this class. |
Methods inherited from class java.lang.SecurityManager |
---|
checkAccept, checkAccess, checkAccess, checkAwtEventQueueAccess, checkConnect, checkConnect, checkCreateClassLoader, checkDelete, checkExec, checkExit, checkLink, checkListen, checkMemberAccess, checkMulticast, checkMulticast, checkPackageAccess, checkPackageDefinition, checkPermission, checkPermission, checkPrintJobAccess, checkPropertiesAccess, checkPropertyAccess, checkRead, checkRead, checkRead, checkSecurityAccess, checkSetFactory, checkSystemClipboardAccess, checkTopLevelWindow, checkWrite, checkWrite, classDepth, classLoaderDepth, currentClassLoader, currentLoadedClass, getClassContext, getInCheck, getSecurityContext, getThreadGroup, inClass, inClassLoader |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Class[] getMyClassContext()
public static java.lang.String getCallerClassNameAt(int i)
i
- -
stack depth
|
Apache JMeter | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |