com.sun.xml.ws.policy.privateutil
Class PolicyUtils.Commons
java.lang.Object
com.sun.xml.ws.policy.privateutil.PolicyUtils.Commons
- Enclosing class:
- PolicyUtils
public static class PolicyUtils.Commons
- extends Object
|
Method Summary |
static String |
getCallerMethodName()
Function returns the name of the caller method for the method executing this
function. |
static String |
getStackMethodName(int methodIndexInStack)
Method returns the name of the method that is on the methodIndexInStack
position in the call stack of the current Thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyUtils.Commons
public PolicyUtils.Commons()
getStackMethodName
public static String getStackMethodName(int methodIndexInStack)
- Method returns the name of the method that is on the
methodIndexInStack
position in the call stack of the current Thread.
- Parameters:
methodIndexInStack - index to the call stack to get the method name for.
- Returns:
- the name of the method that is on the
methodIndexInStack
position in the call stack of the current Thread.
getCallerMethodName
public static String getCallerMethodName()
- Function returns the name of the caller method for the method executing this
function.
- Returns:
- caller method name from the call stack of the current
Thread.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.