| java.lang.Object java.lang.SecurityManager org.apache.jorphan.util.ClassContext
ClassContext | final public class ClassContext extends SecurityManager (Code) | | 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.
version: $Revision: 493784 $ last updated $Date: 2007-01-07 17:57:55 +0000 (Sun, 07 Jan 2007) $ |
getCallerClassNameAt | public static String getCallerClassNameAt(int i)(Code) | | Get the name of the class at a particular stack depth i=0 gives this
class
Parameters: i - -stack depth String - name of class at depth i |
getMyClassContext | public static Class[] getMyClassContext()(Code) | | Gets the calling context as an array of classes Class[0] is this class.
Class[] - list of classes in the callers context |
Fields inherited from java.lang.SecurityManager | protected boolean inCheck(Code)(Java Doc)
|
|
|