org.apache.openejb.util
Class Debug
java.lang.Object
org.apache.openejb.util.Debug
public class Debug
- extends Object
- Version:
- $Rev: 1161017 $ $Date: 2011-08-24 08:51:27 +0000 (Wed, 24 Aug 2011) $
|
Constructor Summary |
Debug()
|
|
Method Summary |
static Map<String,Object> |
contextToMap(Context context)
|
static void |
contextToMap(Context context,
String baseName,
Map<String,Object> results)
|
static List<Field> |
getFields(Class clazz)
|
static Map<String,Object> |
printContext(Context context)
|
static Map<String,Object> |
printContext(Context context,
PrintStream out)
|
static Map<String,Object> |
printContextValues(Context context)
|
static Map<String,Object> |
printContextValues(Context context,
PrintStream out)
|
static String |
printStackTrace(Throwable t)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Debug
public Debug()
printStackTrace
public static String printStackTrace(Throwable t)
contextToMap
public static Map<String,Object> contextToMap(Context context)
throws NamingException
- Throws:
NamingException
contextToMap
public static void contextToMap(Context context,
String baseName,
Map<String,Object> results)
throws NamingException
- Throws:
NamingException
printContext
public static Map<String,Object> printContext(Context context)
throws NamingException
- Throws:
NamingException
printContext
public static Map<String,Object> printContext(Context context,
PrintStream out)
throws NamingException
- Throws:
NamingException
printContextValues
public static Map<String,Object> printContextValues(Context context)
throws NamingException
- Throws:
NamingException
printContextValues
public static Map<String,Object> printContextValues(Context context,
PrintStream out)
throws NamingException
- Throws:
NamingException
getFields
public static List<Field> getFields(Class clazz)
Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.