This project has retired. For details please refer to its
Attic page .
XMLCocoonLogFormatter.CallStack (Cocoon API 2.1.12-dev [March 20 2012])
org.apache.cocoon.util.log
Class XMLCocoonLogFormatter.CallStack
java.lang.Object
java.lang.SecurityManager
org.apache.cocoon.util.log.XMLCocoonLogFormatter.CallStack
Enclosing class: XMLCocoonLogFormatter
public static class XMLCocoonLogFormatter.CallStack extends SecurityManager
Hack to get the call stack as an array of classes. The
SecurityManager class provides it as a protected method, so
change it to public through a new method !
Method Summary
Class []
get ()
Returns the current execution stack as an array of classes.
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
XMLCocoonLogFormatter.CallStack
public XMLCocoonLogFormatter.CallStack ()
get
public Class [] get ()
Returns the current execution stack as an array of classes.
The length of the array is the number of methods on the execution
stack. The element at index 0 is the class of the currently executing
method, the element at index 1 is the class of that method's caller,
and so on.
Returns: current execution stack as an array of classes.
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.